Repository navigation
Conversation
The designs fixture of test_solvers.py built a t = 2 design from the heuristic preparation circuit of the tetrahedral code and a synthesized ancilla circuit, and asserted that a block on the first five checks leaves only second-order failures. In the minimums-3.12 session on the Ubuntu x86 runner, the assertion failed, so every solver test failed in setup. The fixture now builds the design from stored circuits, so it does not depend on the circuit synthesis. Assisted-by: Claude Opus 5.5 via Claude Code
|
🤖 AI text below 🤖 @coderabbitai review |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Action performed
|
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
🤖 AI text below 🤖
Description
Since #965, the Ubuntu x86 test job on
mainfails in theminimums-3.12session. Every case oftest_solver_proposals_are_validfails in setup. Thedesignsfixture oftest_solvers.pyasserts:The fixture built this t = 2 tetrahedral design from two synthesized circuits:
circuit_choicespicked from several greedy and random syntheses.In that one session, the result was not FT at t = 1. All other sessions, the other runners, and the same session on another x86 Linux machine passed. So the synthesized circuits depend on the environment.
This pull request stores both circuits in the test:
_tetrahedral_design()builds the design from the stored preparation circuit._FirstChecksBlock.proposeadds a Z block on the first five checks with the stored ancilla circuit.The fixture then needs neither circuit synthesis nor a cover ILP, so the design is the same in every environment. The stored circuits are the ones the synthesis produces on the machines where the test passed. The fixture's assertions (FT at t = 1, not FT at t = 2) still hold.
Coverage of
test_solvers.pyin CI mode loses no line; it covers 10 more lines than before.Checklist
If PR contains AI-assisted content:
🤖 *AI text below* 🤖(titles are exempt).AI assistance: Claude Opus 5.5 via Claude Code wrote the test change and this description.
🤖 Generated with Claude Code