Illustrative assurance report · Public open-source contribution

What does a MathGraph finding look like?

A small, independently reproducible discrepancy can change what a team is justified in concluding from its evidence.

This illustrative report draws on an independently identified discrepancy and the collaborative upstream repair in the L4YAML open-source project (merged PR #232). Heath Sanchez identified and reported the test-evidence discrepancy; L4YAML maintainer Nicolas Rouquette independently reproduced it, reviewed the proposed repair, and requested stronger regression controls and an explicit unsupported-input boundary. This report was prepared later to illustrate a possible MathGraph deliverable. It was not a commissioned audit, paid-client engagement, or endorsement by Nicolas, JPL, NASA, or the project.

Assurance finding / L4YAML #232

An invalid test report that could appear successful

Finding: CONFIRMED for the specified malformed JUnit inputs. Warrant: WARRANTED_BOUNDED to the identified source, controls and execution environment.

1. The claim being relied on

A successful test-reporting path should not treat malformed JUnit XML as valid evidence of successful tests.

This is the engineering claim examined by the audit example, not a claim of whole-project correctness.

2. The consequential distinction

The report-reader implementation could accept selected malformed XML inputs that Python's standard XML consumer rejected. The difference could turn invalid evidence into a misleading green report.

3. A minimal separating input

The merged regression guards include this malformed document: non-whitespace text appears before the root XML element.

garbage<testsuite><testcase name="ok"/></testsuite>

Expected: Reject as invalid XML, not as a passing test report. The actual regression patch includes the precise source-native guard.

4. Why it matters

A green report may be used to decide whether a software change passed required checks. If the report reader accepts invalid evidence, that decision may rest on a false assurance signal—even where the underlying tests are sound.

5. Independent evidence and resolution

Maintainer Nicolas Rouquette reproduced the false-green path on the baseline and compared it with the repaired behavior. His review called for exact error-message guards and documentation of the bounded reader’s unsupported DOCTYPE cases. The corrected PR #232 merged upstream on 6 November 2026.

The frozen final PR source was fdcd6fdc4bc7491166c6c73505e1f62a203c50bf. An independent exact-head replay completed successfully, including 24/24 declared XML controls and 14,945/14,945 repository checks.

6. What remains unproven

The result concerns the auxiliary JUnit report reader, not the soundness of L4YAML’s Lean proofs or correctness of its YAML parser. It does not prove universal XML conformance, correctness of every report format, or the safety of the entire application. The bounded reader deliberately does not support some DTD forms. Other inputs and future source revisions remain UNKNOWN without new qualification.

Decision supported by this finding: the specified malformed inputs should be rejected by the corrected source, with the above finite tests and documented limits. The receipt establishes a bounded repair outcome—not blanket release authorization, independent certification or NASA/JPL endorsement.

What a bounded finding contains

Clear claim. Reproducible difference. Actionable boundary.

We identify the claim and why it matters, pin the relevant source, provide a minimal witness or independently runnable checks, document what follows and what does not, and explain the next engineering decision.

If the question requires wider root-cause investigation, remediation or requalification, those are separately scoped paid engagements. No investigation is guaranteed to produce a confirmed finding.