NokiaTube | New address | Mode Desktop | On high quality
Skip to content

Scorecard: make scorecard measures whether Lens is meeting its goals #481

Closed

Description

@adeelahmad

Part of the Lens loop (AGENTS.md, Goal): agents must back gains with real before-and-after numbers or say "not measured", and never win by weakening a test or baseline. Nothing records those numbers today, so turns can't be compared.

Ask: a script behind make scorecard (e.g. ci/scorecard.py) that prints one JSON line per run with the commit, tag, each value and the command that produced it. Agents append it per release to /mnt/project-files/loop/scorecard.jsonl and compare with the previous line.

Numbers (each one either measured or reported as "not measured", never estimated):

  • Friction: clicks, keys and journeys passing, computer and phone (ci/clicks/baseline.json, baseline-phone.json).
  • Install to first answer, and Pi idle RAM and disk (needs a timing step; arm64 runner).
  • Open user-reported bugs (issues by non-collaborators).
  • Red-check rate (share of PRs whose first CI run fails) and failed runs on main.
  • Test count and backend coverage (the "Backend coverage" job artifact).
  • Median ask-to-merge time and CI minutes per merged PR.
  • Stars, forks, and issues and PRs from outside contributors.

Anti-gaming: a turn doesn't count as better if the journey count, test count or coverage drops, or if a baseline was changed by anything but a real survey run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions