MechAudit is a benchmark-driven project for verifying LLM-generated mechanical engineering calculations. The first version focuses on failures that are common when language models solve statics, mechanics of materials, machine design, and pressure-vessel-style problems: calculation mistakes, unit inconsistencies, incorrect formulas, missing assumptions, and reasoning that does not match the final answer.
The project is intentionally benchmark-led: benchmark cases define the behavior the verifier must catch, and the verifier is kept narrow enough that its checks remain independently recomputable.
- Audit the initial pressure-vessel and axial-stress benchmark cases.
- Detect documented synthetic failure modes without echoing metadata labels.
- Treat completed real pressure-vessel captures as false-positive controls when the model output is correct.
- Treat completed gold stress-concentration captures as real-world FM-04 cases when the model output omits or misuses stress-concentration factors.
- Keep broad engineering-domain coverage, raw-response extraction, and code-specific compliance checks out of scope for v1.
Claim discipline: the captures below are genuine, hash-verified model
failures — elicited under a pre-registered challenge protocol, not found
in the wild. LIMITATIONS.md states exactly which claims the evidence
supports; summaries of this project should stay inside it.
The repository now contains verbatim gold captures from Claude Haiku and
OpenAI Codex explicit-effort stress-concentration challenge sessions.
Provenance is enforced by the loader as of schema 0.3.0; see
docs/capture_provenance.md.
- Reviewer-synthesized controls (not real captures): Gemini 3.5 Thinking
(
gemini-0001), Claude Opus 4.8 High plain solve (claude-0001), and Claude Opus 4.8 High design-review prompt (claude-0002). These aresource_type: reference_correct,provenance_tier: deprecated. They were written by a reviewer to describe a model run, carry no raw transcript, and are retained only as no-failure false-positive controls — most usefully the20.0 MPainner-radius result versus the defensible20.6 MPamean-radius refinement. - Gold captures: 10 verbatim
claude-haiku-4-5-20251001challenge runs are stored undercaptures/runs/, with prompt/output SHA-256 hashes andsource.jsonprovenance records. Three of those are promoted into completereal_worldFM-04 stress-concentration benchmark cases. - Codex comparison captures: 20 verbatim OpenAI Codex runs are stored under
captures/runs/: 10gpt-5.4-miniand 10gpt-5.5, all with explicitreasoning_effort: low. The run intentionally used--ignore-user-configto avoid the localgpt-5.5/highdefault confound. Four representative finite-width holed-plate failures are promoted into completereal_worldFM-04 cases. Seecaptures/SESSION_2026-06-26_CODEX.md. - Pending real captures:
gpt-0001andgpt-0002(status: pending_capture).
Additional cross-model gold/silver captures remain useful, especially from
Gemini or from OpenAI models at other explicitly recorded reasoning-effort
settings. The loader rejects any complete real_world case that lacks a
hash-verified artifact.
docs/
failure_taxonomy.md Failure modes the verifier should eventually detect.
schema_contract.md Structured output contract (schema 0.3.0) for benchmark data.
capture_provenance.md Provenance tiers and raw-artifact rules.
tolerance_policy.md Numeric comparison defaults for benchmark checks.
prompts/
pressure_vessel_prompt_v1.md Canonical prompt for real-run benchmark capture.
benchmark/
README.md Benchmark case format and contribution rules.
real_world/ Transcript-backed cases from real model runs.
real_world/raw/ Verbatim raw artifacts referenced by complete cases.
synthetic/ Clearly labeled artificial cases for targeted coverage.
V1 is complete when the verifier can process the benchmark schema, generate a Markdown audit report for each case, catch the documented failures in the initial benchmark set, avoid false positives on correct cases, and pass the project test suite.