Skip to content

measure: truthful scorecard (platform-aware cohort + real control baseline)#43

Merged
mdheller merged 1 commit into
mainfrom
scorecard-harness-truthful
Jun 22, 2026
Merged

measure: truthful scorecard (platform-aware cohort + real control baseline)#43
mdheller merged 1 commit into
mainfrom
scorecard-harness-truthful

Conversation

@mdheller

Copy link
Copy Markdown
Contributor

Two harness bugs made the real-binary scorecard undercount the build:

  1. userAgent/platform cohort matchers hardcoded the Mac cohort → a Linux build was flagged for reporting Linux. Now accepts the per-OS RFP cohort (Mac/Win/Linux).
  2. The --bin build bakes RFP into autoconfig, so the empty-pref 'control' ran hardened (control==hardened) → every 'mask' vector scored as not-normalized. Now forces a true unhardened control.

Re-measuring the binary with this harness reflects it truthfully. Flagged for follow-up: hardwareConcurrency/maxTouchPoints/dpr were not RFP-normalized in the hardened run despite RFP being active (textMetrics/deviceMemory/canvas/fonts all RFP-on) — a real open question.

🤖 Generated with Claude Code

…seline

Two harness bugs made the real-binary scorecard undercount:
1. userAgent/platform cohort matchers hardcoded the MAC cohort, so a Linux (or
   Windows) build was flagged for reporting its own OS. Accept the per-OS RFP
   cohort (Mac/Windows/Linux) — a Linux RFP build reporting Linux is the Linux
   cohort, not a leak.
2. The --bin build bakes RFP into its autoconfig defaults, so an empty-pref
   'control' ran hardened (control==hardened) and every 'mask' vector scored as
   not-normalized. Force a TRUE unhardened control (RFP/FPP/letterboxing off,
   fonts cleared) so mask vectors are judged against a real baseline.

Re-measuring the existing binary with this harness will reflect the binary
truthfully. Separately flagged: hardwareConcurrency/maxTouchPoints/dpr were NOT
RFP-normalized in the hardened run despite RFP on (textMetrics/deviceMemory/
canvas/fonts all RFP-active) — a real open question to investigate.
@mdheller mdheller merged commit cae5bc7 into main Jun 22, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant