Coder Social home page Coder Social logo

wpt-results-analysis's People

Contributors

davidsgrogan avatar dependabot-preview[bot] avatar dependabot[bot] avatar dholbert avatar foolip avatar gsnedders avatar kyleju avatar stephenmcgruer avatar una avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wpt-results-analysis's Issues

[compat2021] Make browser version changes visible

It is currently difficult to tell what change caused an increase (or decrease!) in pass-rate of a given browser at a given point in time. This could be due to new tests being added, or a change in the browser itself, or ...

To help with this, we should make the browser version visible in some way - either on the individual data points or via annotations.

change Action cron days?

Currently the Action runs on Monday/Thursday at midday UTC, which is slightly awkward with STP releases going out on a Thursday during the PT workday and hence not showing up till the following Monday. I don't have a super concrete suggestion here, but one option would be to move it to Tuesday/Friday.

[compat2021] Unify the y-axis between graphs

Currently, changing the graph always keeps the same max value for the y-axis (100%), but the min will change depending on the range in the datatable. This means that you cannot visually compare across graphs flicking between features; you need to reorient yourself with the new y-axis range.

We should fix the min y-axis instead. A quick and cheap way would just be to manually look at the data and pick a value say 10% less than the global minimum, but the 'correct' way would be to fetch all the data up-front and find the global minimum properly.

[compat2021] Make the summary score labels more specific

From chrishtr:

  1. Label the score at the top as "Chrome Canary" "Firefox Nightly" "Safari Developer Preview" And move the stable checkbox up to the top above individual features

We can likely go a little further, and include the major version in the summary name. We could also add a single sentence lower down to explain that some features are enabled in the 'experimental' releases.

BSF walkTrees not called for some directories?

walkTrees doesn't seem to ever be called for path=/content-security-policy/gen/top.meta/script-src-self; I wonder if this is because it is an identical tree object as /content-security-policy/gen/top.http-rp/script-src-self?

Incorrect scoring of BSF

    it('should handle tests that arent in all (three) browsers', () => {
      const expectedBrowsers = new Set(['chrome', 'firefox', 'safari']);

      let chromeTree = new TreeBuilder()
          .addTest('TestA', 'OK')
          .addSubtest('TestA', 'Test (upper)', 'PASS')
          .build();

      let firefoxTree = new TreeBuilder()
          .addTest('TestA', 'OK')
          .addSubtest('TestA', 'test (lower)', 'PASS')
          .build();

      let safariTree = new TreeBuilder()
          .addTest('TestA', 'OK')
          .addSubtest('TestA', 'Test (upper)', 'PASS')
          .addSubtest('TestA', 'test (lower)', 'PASS')
          .build();
      
      let runs = [
          { browser_name: 'chrome', tree: chromeTree },
          { browser_name: 'firefox', tree: firefoxTree },
          { browser_name: 'safari', tree: safariTree },
      ];

      let scores = browserSpecific.scoreBrowserSpecificFailures(runs, expectedBrowsers);
      assert.deepEqual(scores, new Map([['chrome', 0.5], ['firefox', 0.5], ['safari', 0.0]]));
    });

This currently fails with a result of:

      assert.deepEqual(scores, new Map([['chrome', 0.3333333333333333], ['firefox', 0], ['safari', 0]]));

This also isn't hypothetical: this affects the scoring of clear-site-data/storage.https.html among many other tests.

[compat2021] Enabling easy iframing of the dashboard

There will be places to iframe the dashboard in, like web.dev and MDN Insights. However, for those places, having complete bug lists would be overwhelming. While that can be addressed with iframe height and no scrolling, it would be nice โ€“ if possible โ€“ to just pass in parameters in the querystring.

E.g. wpt.fyi/compat2021?nobugs=1, wpt.fyi/compat2021?notitle=1

[compat2021] Implement summary numbers

To give a quick overview of each browser, we should present summary numbers at the top of the page (analogous to Lighthouse's summaries). These should be based on the most recent run for each focus area.

To normalize for number of tests, we will do something like give each area 20 points of the total number, and contribute passing_percent * 20 from them; thus giving a number between 0-100.

Bonus points if the number changes color as it approaches 100. Extra bonus points if there's fancy (performant) animations and swish ;).

Migrate to wpt org?

Someone should probably just write an RFC for this, but it would be good to have it there.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.