Repository navigation
Conversation
The version labels the scoring rubric a scan was graded under, so it should change on deliberate scoring changes only, not on bug fixes or copy changes. Also remove the unused `ALGORITHM_VERSION` export from `src/types.js`, and update the README example responses to version 6 with 12 tests.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add guidelines to
REVIEWING.mdfor when to incrementALGORITHM_VERSION.src/constants.jspointing to the guidelines.ALGORITHM_VERSION = 4export fromsrc/types.js.README.mdto version 6 with 12 tests.Motivation
Make it easier to decide, when writing or reviewing a scoring change, whether it needs a version bump.
X-Frame-Optionsre-score (4 to 5) and for the COOP and COEP tests (5 to 6), but not for bug fixes that changed results for some sites (duplicate CORP headers, CSP policy splitting, HTTPS redirect chain).Additional details
The guidelines write down the practice so far: the version identifies the scoring rubric, not the implementation. The decisions below are open for discussion in this review.
1. How to treat bug fixes that change scores for some sites
2. Where to record the guidelines
REVIEWING.mdplus a pointer comment (proposed): reviewers are the ones who need to catch a missing bump.Related issues and pull requests