Parsoid/Parser Unification/Confidence Framework
The Parsoid Usage Confidence Framework is aimed at evaluating the readiness and efficacy of enabling Parsoid on diverse wikis. This guide delineates the steps and methodologies for operating the framework to ensure thorough evaluations and informed decisions regarding Parsoid deployments.
The output of this framework should not force us to use "cold numbers" to deploy Parsoid for the sake of achieving the goal. We should use to enquiry more profound product questions.
Metrics
[edit]These are the current metrics we can realistically use for decision making:
- Supported Extensions Coverage
- Visual diff coverage
- Qualitative Reports
As the framework evolves and gaps are discovered we might want to look at the following metrics:
- Linting errors
- Linting errors might be a good indicator to triage low risk wikis to explore but it's still debatable whether it would be useful for confidence assessment
- Number of bugs on the critical path
- Parsoid metrics
- Performance and Parsoid missing functionality in affected pages
- Performance and missing functionalities are moving targets. Current parsoid metrics should be evaluated across the board, it's not clear what would be the value if we can differentiate per wiki so this will be out of scope in the initial experiments.
Confidence Score
[edit]Based on the combination of the metrics we should always have an answer for enabling Parsoid Read Views for every wiki:
- Not confident at all
- Not confident
- Somewhat confident
- That means this wiki can be considered the next target and we should investigate the metrics
- Confident
- Extremely confident
With that we will be able to look at the reasons for not being confident with Parsoid and focus on its characteristics and architecture with a Product Strategy lens to mitigate the gaps that affect our confidence to deploy Parsoid for Read Views.
Goals
[edit]Turn on parsoid on self-contained and safe places to develop the framework for "Parsoid Usage Readiness".
Immediate Goals
[edit]- Deploy Parsoid in controlled and safe environments to enable learning and development of the "Parsoid Usage Readiness Framework"
- Parsoid read views enabled by default on Incubator wiki by January
- Roll-out to all wiki projects except for Wikifunctions, Wikipedia, Wikidata, Commons, and Wikisource between January and March 2025
- Roll-out to small Wikipedias starting in April 2025 and tentatively complete roll-out to all Wikipedias by September 2025
- For more information, please look at updates in Parsoid/Parser Unification/Updates.
Reports
[edit]Reports can be accessed at Parsoid/Parser Unification/Confidence Framework/Reports.
Communication examples
[edit]Open questions
[edit]- Decide how many features we need to turn on to avoid community discontent
- This is not about having 100% of wikitext features done, but does coverage matter?
- What will be the target metrics to get parsoid read views on testwiki?
- What is the amount of wikitext that users focus on DiscussionTools?