Repository navigation
web: release check report preview in the playground, from flow check's own template - #56
Merged
Merged
Conversation
pwngh
force-pushed
the
playground-report
branch
from
December 2, 2026 08:56
dd198a6 to
31bd0d8
Compare
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.
flow checknow decides a release verdict and writes a report (#53), but nobody could see one without recorded sessions and a model key. The playground now previews the report for a synthetic check of 200 sessions, filled from the same templateflow checkuses.web/lib/report.jsportsflowd/check/verdict.py(decide) andreport.py(fields,render_markdown), including Python'sformat(x, 'g')rounding. The template is not copied: the build readsbindings/python/flowd/check/report_template.md.conformance/report/sample.jsonis the synthetic check, andsample.mdis what Python renders for it.verify.jsholds the JavaScript to it, andtests/check/test_report_sample.pyholds Python to it.layout_check.mjsnow also checks the page at phone width with the report open.Proof:
verify.jspasses, including the sample and eightformat(x, 'g')vectors from Python (ties, exponents, subnormals). A scratch differential run of 400 random checks, with varied margins, coverage, cap stops, tool calls and model names, renders byte-identical Markdown in Python and JavaScript. The Python check tests pass (9).layout_check.mjs,browser_check.mjsandcheck_keys.jspass. The rendered card was inspected in Chromium.Reviewed with sol-loop: 2 rounds with gpt-6.2-sol. Sol verdict: approved