Repository navigation
sfs report: colour figures along the website's Universal gradient - #16
Merged
Merged
Conversation
Uses gitgalaxy.io's Universal Risk Spectrum (site/config/colors.js) as the base: the five stops at 0/25/50/75/100%, interpolated continuously, the same in light and dark mode. Each figure maps its values onto 0-100 so its data spans the whole spectrum, and its legend is the gradient bar with the real value at each stop: - descent: % shared on a square-root scale (stops at 0/6/25/56/100%), so sideways borrowing in the 5-20% range is visible instead of one band - profile: cohort rank of the distance (closest = red) - archetype mix: % of functions on a square-root scale Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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.
Follow-up to #15. The HTML report now uses gitgalaxy.io's Universal Risk Spectrum (
site/config/colors.js): the five stops interpolated continuously, the same in light and dark mode.Each figure maps its values onto 0–100 so its data spans the whole spectrum, and its legend is the gradient bar labelled with the real value at each stop:
Tests: 34 passed, including real-scan parity on 8 DOOM scans; ruff is clean. I re-rendered the 44-port DOOM report and checked it.
🤖 Generated with Claude Code