You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move report-instance prose and numbers out of renderers, checks and translation maps #330
Content written for one report lives in shared code.
web_fetch/report-translations.json has thousands of exact-sentence entries, 144 with measured-looking values (for example :879, :1032) and 287 lines naming one engine; web_fetch/report_i18n.py adds report-specific regex rules (:139-144, 188, 319, 452-465); web_fetch/messages.json:1905 carries defect prose with values.
web_fetch/report_saved_composition.py:204-206 hardcodes provider labels and a slug pattern and edits rendered HTML.
Direction
Move this content into each report's bound content, in every language it ships, as report_changes already does for release history. Checks compare structured records with rendered routes. Keep shared catalogs for interface text only.
Done when
Shared renderers, checkers and message catalogs contain no measured value, campaign name or one-report sentence.
The instance-literal check covers these files with an empty allowlist.
Published reports rebuild from their bound content with unchanged text.
Paths are relative to src/harness/ unless prefixed; line numbers are from main at 997a228.
Status: Browser Use (#373) and Trajectory Replay (#376) instance prose and values moved to bound content or data files. Web Fetch: the measured-value sentences in report-translations.json, the one-report rules in report_i18n.py, the defect prose in messages.json and the labels in report_saved_composition belong to already-published reports; moving them requires updating each report's bound content outside Git in the same change, so they stay until that content is available. New reports must not add instance prose to shared catalogs; reviews enforce it.
Activity
lanyue-llk commentedon Nov 24, 2026
Found during #350:
trajectory_replay/report.pystill holds Moli timing prose (MOLI_TIMING_FINDING/MOLI_TIMING_STUDY); move it to bound content here.lanyue-llk commentedon Nov 24, 2026
Status: Browser Use (#373) and Trajectory Replay (#376) instance prose and values moved to bound content or data files. Web Fetch: the measured-value sentences in
report-translations.json, the one-report rules inreport_i18n.py, the defect prose inmessages.jsonand the labels inreport_saved_compositionbelong to already-published reports; moving them requires updating each report's bound content outside Git in the same change, so they stay until that content is available. New reports must not add instance prose to shared catalogs; reviews enforce it.