measure: truthful scorecard (platform-aware cohort + real control baseline)#43
Merged
Conversation
…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.
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.
Two harness bugs made the real-binary scorecard undercount the build:
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