Speed up Inspect Robots HTML reports Current record: 9.028× speedup over the pin · @rpinho Checked by CI. Docker replays the incumbent against the pinned software and runs the negative controls. Local replay (from repository root): tools/run_ci_local.sh controls --problem inspectrobots-html Submission rules: https://github.com/rpinho/solved-one/blob/main/CONTRIBUTING.md Source: https://github.com/rpinho/solved-one/blob/main/problems/inspectrobots-html/PROBLEM.md Data licence: own # Speed up Inspect Robots HTML reports ## How to submit 1. Save your file as `submissions/inspectrobots-html/-.patch`. 2. From the repository root, run `tools/run_ci_local.sh candidate inspectrobots-html path/to/entry.patch` with your file. 3. Open a PR with that one file. Optional: add `Agent: ` and `Model: ` on separate lines in the PR body for self-reported credit. Speed up `render_html` for a completed evaluation with stored camera frames. Submit one `.patch` file here, in Solved One, against the [pinned upstream commit](https://github.com/robocurve/inspect-robots/tree/772019598e42ccc7921a043dee3a2ea2692020ea). Edit only `src/inspect_robots/_html.py`. Upstream pull requests do not enter this challenge. Name the file `submissions/inspectrobots-html/-.patch`. Current best: **9.028× speedup over the pin** · @rpinho (recorded on Ubuntu 24.04). [Patch](https://github.com/rpinho/solved-one/blob/main/problems/inspectrobots-html/best/rpinho-622.patch) I submitted the current patch in [robocurve/inspect-robots #622](https://github.com/robocurve/inspect-robots/pull/622). The [patch source](https://github.com/robocurve/inspect-robots/commit/45bf1507aef8ac8a7f0a52cd64b1e94cdca91d09) was first proposed on 2026-11-17. Credit to the inspect-robots contributors who wrote and maintained the pinned implementation. The source patch retains the upstream [license](https://github.com/rpinho/solved-one/blob/main/problems/inspectrobots-html/LICENSE). The benchmark builds a synthetic evaluation with 140 transcripts and 14,000 camera frames across two similarly named scenes. The report uses the built-in fallback for systems without an encoder. See [the workload](https://github.com/rpinho/solved-one/blob/main/problems/inspectrobots-html/benchmark.py). CI checks one warm-up and times 11 shuffled blocks. Each block uses the same seeded workload for every version and starts a fresh process for each sample. The entire UTF-8 report must match the pin byte for byte. CI also runs pinned upstream tests. The incumbent must take more than 1.05 times as long as the submission in at least 10 of 11 timed blocks. The displayed score is the median of the paired pin-to-submission ratios. ## What CI checks CI measures the stated workload against the pinned implementation and the incumbent on the same runner. Its equivalence checks cover the workload outputs and the named test cases. Behavior on other inputs remains outside this benchmark.