Skip to content

npx liarjs --min-score 60 in CI: is the score stable across releases? #49

Description

@djohnson863

the gate in the quickstart is unpinned:

npx liarjs --headless --min-score 60       # CI gate

so every ci run resolves whatever liarjs is latest on npm that day. if a release adds a check, retunes a penalty, or splits an existing one, the same unchanged browser scores differently and the build goes red with no code change — which is exactly the false regression the "something you can put in front of a merge" pitch is trying to kill.

so: is scoring covered by semver, i.e. do new/reweighted checks only land in a major, or can a patch move the number? if it can move, should the readme just pin (npx liarjs@1.2) in that snippet?

related, does --json carry a rules/scoring version alongside the sample, so that when two runs disagree i can tell "the browser changed" from "liarjs changed"? without that the diff story doesn't really close.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions