Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OWD project: Fix errors in BCD for API, CSS and JS going back to at least 2016 #167

Closed
queengooborg opened this issue Jun 27, 2023 · 6 comments

Comments

@queengooborg
Copy link
Member

Problem statement

Following the completion of #85, one avenue to pursue would be to push the threshold further back and fix errors in BCD for API, CSS and JavaScript going back even further, to 2016 (specific year is flexible).

Proposed solutions

No response

Task list

  • [ ]

Priority assessment

  • Effort:
  • Dependencies:
  • Community enablement:
  • Momentum:
  • Enabling learners:
  • Enabling professionals:
  • Underrepresented topics / Ethical web:
  • Operational necessities:
  • Addressing needs of the web industry:

More information

No response

@Elchi3
Copy link
Member

Elchi3 commented Jun 27, 2023

Can you get data about how large the discrepancies are? Something like:

2020+: 100% accuracy
2019+: 98% accuracy
2018+: 92% accuracy

@queengooborg
Copy link
Member Author

I'll see if I can whip up some numbers for each year! I don't have the infrastructure in place to get percentages, would line diff counts be alright?

@Elchi3
Copy link
Member

Elchi3 commented Jun 27, 2023

line diff counts would be alright, yes. Just to get a feeling how much work it is the further we go into the past

@queengooborg
Copy link
Member Author

Sure thing! Grabbing results for the older browsers now and will add the desired data once it's ready!

@queengooborg
Copy link
Member Author

Here's the statistics as requested!

  • 2020+: 1 file changed, 240 insertions(+), 142 deletions(-) (This is RTCStatsReport)
  • 2019+: 26 files changed, 498 insertions(+), 400 deletions(-)
  • 2018+: 85 files changed, 789 insertions(+), 594 deletions(-)
  • 2017+: 127 files changed, 925 insertions(+), 727 deletions(-)
  • 2016+: 173 files changed, 1232 insertions(+), 1031 deletions(-)
  • 2015+: 207 files changed, 1426 insertions(+), 1223 deletions(-)
  • All Selenium-accessible browser versions: 236 files changed, 1470 insertions(+), 1260 deletions(-)

@Elchi3
Copy link
Member

Elchi3 commented Jan 19, 2024

I'm going to close this as not planned (for now). We might want to have compat data going back further than 2020 in some situations (see openwebdocs/mdn-bcd-collector#1033 (comment)), but overall, the number of issues we get on BCD about compat data that is older than 2020 is quite low I think. It's much more important to get the latest information for new browser releases right and it is also more important that we increase the coverage of the OWD bcd-collector.

The statistics you researched are quite interesting to see how much discrepancies there are between BCD and the collector. I reckon the collector tests more than 2000 files in BCD, so it seems that 10% of historic data (if we were to chose all Selenium-accessible browsers) have discrepancies with the collector. Not all of these might be problems in BCD! If going back quite far, some test techniques in the collector will stop to work (like CSS @supports wasn't in browsers from the start), so then this project will be a lot about fixing the collector for older browsers.

If the importance of fixing older compat data changes, we can always reopen this project, but it also not exactly easy to research the older compat data for the reasons outlined. Thanks for proposing this, though. It lead to some interesting insights in BCD's data quality.

@Elchi3 Elchi3 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants