Skip to content

M8: Exercise solver #9

Description

@tamnd
  • Port taocp-solver's solver, prompt, result, textguard and adapt to the Bourbaki corpus adapter: solve/engine.go, prompt/solve.go with the solve_*.md templates, solve.Store plus report solutions, and textguard. pricing is deliberately not ported, since the fleet is ChatGPT web sessions and bills nobody; see the comment of 2026-08-19
  • Context assembly: § text, sibling exercises, depth-2 transitive references via refs.json, out-of-corpus reference handling
  • Candidate-blind reference call with obligations and falsification tests
  • N-candidate generation from three distinct angles
  • Obligation-wise selector
  • Truth judge + reference-blind audit judge; both must pass
  • Bounded correction loop
  • Multi-part exercise decomposition with per-part status
  • Outcome taxonomy: verified / partial / unverified / blocked / open
  • solve run, solve review, report solutions
  • 20-exercise hand-checked benchmark: benchmark/set.json, 10 accepts and 10 rejects over 20 distinct exercises, bodies in the corpus at benchmark/en/
  • eval reports a false-accept and a false-reject rate on that set
  • Pilot: solve Chapter VIII § 1 exercises 1–9 and read every one
  • Long run: solve --all --status unattempted
  • Every solution written in the delimiters this corpus reads. mathtex.Split recognises the dollar and the double dollar and nothing else, so a solution set in the other pair of TeX delimiters carries no math span at all, and eight solutions of Theory of Sets were written that way. 485 spans between them, invisible to M01, M04, P04 and the reference graph since the day they were generated (Set eight solutions in the delimiters this corpus reads bourbaki#145)
  • The audit names a solution written on the free gateway. A solution is the only text in this corpus with no printed page behind it, so a wrong proof written fluently reads exactly like a right one and the judges are all there is between it and a reader. L15 asked this of a translation and nothing asked it of a solution, with 39 of the 44 solutions here written on the gateway and the audit silent on all of them. X06, soft, so the corpus does not go red for a solution that may well be right (quality: X06, a solution written on the free gateway #302, reports: X06 in the audit, 39 solutions written on the free gateway bourbaki#172)

Exit: every exercise in the corpus has a solution file with an honest status; eval reports a false-accept rate < 5 % on the benchmark; the scorecard is committed and the README coverage table shows solved %.


Every PR against this milestone ticks its boxes here and posts a comment with what was run, on what data, and the numbers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    milestoneA milestone tracker issuesolveExercise solving and judging

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions