← All packages

Verification tools

star-crosscheck 0.1.3

Cross-solver verification fabric (S.T.A.R.)

Public state: Released & Verified. The registry label is RELEASED. What the states mean →

Apache-2.0 Released & Verified

Summary

Runs engines of declared lineage (each optionally in its own venv) on the same inputs; AGREE only with >= 2 distinct lineages within tolerance, failed engines never count, published references compared; tamper-evident sha256 evidence bundles.

Run in your browser

Edit the code and press Run (or Ctrl+Enter). Python runs in your browser with this package's published code. The first run downloads Python once (about 12 MB).

Runs in the browser: 39 of 41 tests pass in the browser's Python (Pyodide 314.0.7, Python 3.14.2), measured on 20 October 2026. The other 2 start a separate program or need an outside reference library, which a browser cannot do.

Use it on your computer

No account and no GitHub needed. Download, then install with one command:

python -m pip install star_crosscheck-0.1.3-py3-none-any.whl

In Python: import star_crosscheck

Get started →

Cite it, and its bill of materials

For a paper, a report or a supplier file: the citation in two formats, and the software bill of materials (SBOM) in the two standard formats, with the fingerprint of the wheel.

@software{cavazzini_star_crosscheck_0_1_3,
  author  = {Cavazzini, Andrea},
  title   = {{star-crosscheck}: Cross-solver verification fabric (S.T.A.R.)},
  version = {0.1.3},
  year    = {2026},
  url     = {https://andrea07072000.github.io/S.T.A.R.-/software/star_crosscheck/},
  note    = {Apache-2.0. Source: https://github.com/Andrea07072000/S.T.A.R.-, commit dc09f61d}
}

For developers

Install directly from the public repository:

python -m pip install "star-crosscheck @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109#subdirectory=packages/star_crosscheck"

README · tests · evidence (GitHub)

Technical sheet

Package
star-crosscheck
Import name
star_crosscheck
Version
0.1.3
Licence
Apache-2.0
Python
>=3.10
Dependencies
none (standard library only)
Capability
star.crosscheck.fabric
Maturity
Released & Verified (RELEASED)
Published commit
dc09f61d

Requirements

  • R1 crosscheck(quantity, inputs, engines, tolerance, ...) runs every engine (optionally in its own venv via subprocess + JSON) and returns a verdict: AGREE only if at least two DISTINCT lineages agree within the tolerance.
  • R2 Engines of the same lineage count as ONE witness (INSUFFICIENT_INDEPENDENCE when fewer than two lineages remain).
  • R3 A failed engine never counts as agreement: verdict DEGRADED, with the error recorded.
  • R4 Optional published reference: every engine is also compared with it.
  • R5 Every result is an evidence bundle with a sha256 over its content (timings excluded) — tamper-evident.

Limits (what is not claimed)

It compares numbers; it does not decide which engine is right when they disagree, and it does not validate any physical model, only agreement within a tolerance the user chooses. Independence is only as good as the declared lineages: an engine described under the wrong lineage (as happened in campaign XC-006, where S.T.A.R.'s own Lambert solver was described as 'universal variables') defeats the independence check, so every lineage is also classified by hand in the registry. Engines that read the same data file are one witness, not two.

Release gate

Computed by the registry from the result files, with the same function that decides RELEASED.

Mutation score, latest measure of each module (needs at least 0.850)
  • core.py 0.959 (2026-10-07)
Independent implementations written by others (needs 2)
ERFA builtin (analytic), JPL DE440 (SPICE/skyfield/jplephem), PyEphem/libastro (analytic)
Result
Released & Verified

Evidence in the registry

CheckStatusRecordedWhat was observed
Clean install from the release tagVERIFIED2026-10-07pytest outside the tree: 41 passed in 1.00s
Clean install from the release tagVERIFIED2026-10-05pytest outside the tree: 35 passed in 0.97s
Clean install from the release tagVERIFIED2026-10-05pytest outside the tree: 15 passed in 0.97s
Clean install from the release tagVERIFIED2026-10-05pytest outside the tree: 15 passed in 1.03s
Unit testsVERIFIED2026-10-0515 passed in 1.32s
ReviewVERIFIED2026-10-05Requirements, interface, units, data provenance, dependency surface and failure behaviour reviewed
ReviewVERIFIED2026-10-05Re-running XC-001 (5 engines, 5 venvs) reproduces the bundle hashes exactly
Reference valueVERIFIED2026-10-05DE440 engines agree to 0.000 km; PyEphem 0.07-0.11 km; astropy builtin 1.4-38 km within 50 km -> AGREE on 3 epochs; same-lineage engines counted as one witness (suite: 15 passed in 1.32s)
Mutation testingVERIFIED2026-10-0537/44 = 0.8409
Cross-check with independent librariesVERIFIED2026-10-05The fabric's AGREE on XC-001 rests on independent lineages agreeing within tolerance
ReviewVERIFIED2026-10-04Re-execution of bench.xc-013 reproduces the committed evidence bundles
ReviewVERIFIED2026-10-04Re-execution of bench.xc-012 reproduces the committed evidence bundles
Unit testsVERIFIED2026-10-039/9
BenchmarkVERIFIED2026-10-0321/21 identical sha256
Clean install from the release tagVERIFIED2026-10-03ok
BenchmarkVERIFIED2026-10-03XC-001 3/3 AGREE, XC-006 21/21 AGREE
ReviewVERIFIED2026-10-03Re-execution of bench.xc-011 reproduces the committed evidence bundles
ReviewVERIFIED2026-10-03Re-execution of bench.xc-010 reproduces the committed evidence bundles
ReviewVERIFIED2026-10-03Re-execution of bench.xc-009 reproduces the committed evidence bundles
ReviewVERIFIED2026-10-03Re-execution of bench.xc-008 reproduces the committed evidence bundles
ReviewVERIFIED2026-10-03Re-execution of bench.xc-007 reproduces the committed evidence bundles
ReviewVERIFIED2026-10-03Re-execution of bench.xc-006 reproduces the committed evidence bundles
ReviewVERIFIED2026-10-03Re-execution of bench.xc-005 reproduces the committed evidence bundles
ReviewVERIFIED2026-10-03Re-execution of bench.xc-004 reproduces the committed evidence bundles
ReviewVERIFIED2026-10-03Re-execution of bench.xc-003 reproduces the committed evidence bundles
ReviewVERIFIED2026-10-03Re-execution of bench.xc-002 reproduces the committed evidence bundles
ReviewVERIFIED2026-10-03Re-execution of bench.xc-001 reproduces the committed evidence bundles
BenchmarkVERIFIED2026-10-03{'cases': 4, 'verdicts': {'AGREE': 4}, 'max_pair_diff': 0.0}
BenchmarkVERIFIED2026-10-03{'max_error_km': 0.0, 'cases_passing': 4}
BenchmarkVERIFIED2026-10-03{'cases': 4, 'verdicts': {'AGREE': 4}, 'max_pair_diff': 9.999983012676239e-05}

Fingerprints (SHA-256)

star_crosscheck-0.1.3-py3-none-any.whl562344f9e5776d35ae1ce36f129439f265ead9d7a7261377f783537a90a59016
star_crosscheck-0.1.3-source.zipd1965f1d8ec6ca36096a9ce533f2f6ed35900970a6f942c04a7c0218c439b46c

results