star-crosscheck 0.1.3
Struttura di verifica tra risolutori diversi (S.T.A.R.)
Stato pubblico: Rilasciato e verificato. L'etichetta nel registro è RELEASED. Che cosa significano gli stati →
Apache-2.0 Rilasciato e verificato
Sintesi
Esegue motori di lignaggio dichiarato (ciascuno eventualmente nel proprio ambiente virtuale) sugli stessi dati; AGREE solo con almeno 2 lignaggi distinti entro la tolleranza, i motori falliti non contano mai, i riferimenti pubblicati sono confrontati; pacchetti di evidenza con sha256 che rendono evidente ogni manomissione.
Esegui nel browser
Modifica il codice e premi Esegui (o Ctrl+Invio). Python gira nel tuo browser con il codice pubblicato di questo pacchetto. La prima volta scarica Python una sola volta (circa 12 MB).
Funziona nel browser: 39 test su 41 passano nel Python del browser (Pyodide 314.0.7, Python 3.14.2), misurato il 20 ottobre 2026. Altri 2 avviano un programma separato o richiedono una libreria di riferimento esterna, cosa che un browser non può fare.
Usalo sul tuo computer
Non servono account né GitHub. Scarica, poi installa con un comando:
python -m pip install star_crosscheck-0.1.3-py3-none-any.whlIn Python: import star_crosscheck
Citarlo, e la sua distinta dei componenti
Per un articolo, una relazione o un fascicolo fornitore: la citazione in due formati e la distinta dei componenti software (SBOM) nei due formati standard, con l'impronta del wheel.
@software{cavazzini_star_crosscheck_0_1_3,
author = {Cavazzini, Andrea},
title = {{star-crosscheck}: Struttura di verifica tra risolutori diversi (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}
}
Per sviluppatori
Installa direttamente dal repository pubblico:
python -m pip install "star-crosscheck @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109#subdirectory=packages/star_crosscheck"
Scheda tecnica
Requisiti
- R1
crosscheck(quantity, inputs, engines, tolerance, ...)esegue ogni motore (eventualmente nel proprio ambiente virtuale tramite sottoprocesso + JSON) e restituisce un verdetto: AGREE solo se almeno due lignaggi DISTINTI concordano entro la tolleranza. - R2 Motori dello stesso lignaggio contano come UN solo testimone (INSUFFICIENT_INDEPENDENCE quando restano meno di due lignaggi).
- R3 Un motore fallito non conta mai come accordo: verdetto DEGRADED, con l'errore registrato.
- R4 Riferimento pubblicato facoltativo: ogni motore è confrontato anche con esso.
- R5 Ogni risultato è un pacchetto di evidenza con uno sha256 sul suo contenuto (tempi esclusi), che rende evidente ogni manomissione.
Limiti (che cosa non si afferma)
Confronta numeri; non decide quale motore abbia ragione quando non concordano, e non convalida alcun modello fisico, solo l'accordo entro una tolleranza scelta da chi lo usa. L'indipendenza vale quanto le linee dichiarate: un motore descritto con la linea sbagliata (come nella campagna XC-006, dove il risolutore di Lambert di S.T.A.R. era descritto come «universal variables») rende inutile il controllo di indipendenza, perciò ogni linea è anche classificata a mano nel registro. Motori che leggono lo stesso file di dati sono un solo testimone, non due.
Cancello di rilascio
Calcolato dal registro dai file dei risultati, con la stessa funzione che decide RELEASED.
- Punteggio di mutazione, ultima misura di ogni modulo (serve almeno 0,850)
- core.py 0,959 (2026-10-07)
- Implementazioni indipendenti scritte da altri (ne servono 2)
- ERFA builtin (analytic), JPL DE440 (SPICE/skyfield/jplephem), PyEphem/libastro (analytic)
- Esito
- Rilasciato e verificato
I nomi delle implementazioni e dei riferimenti sono citati dal registro nella lingua in cui sono scritti, l'inglese.
Evidenze nel registro
| Controllo | Stato | Registrato | Che cosa è stato osservato |
|---|---|---|---|
| Installazione pulita dal tag di rilascio | VERIFIED | 2026-10-07 | pytest outside the tree: 41 passed in 1.00s |
| Installazione pulita dal tag di rilascio | VERIFIED | 2026-10-05 | pytest outside the tree: 35 passed in 0.97s |
| Installazione pulita dal tag di rilascio | VERIFIED | 2026-10-05 | pytest outside the tree: 15 passed in 0.97s |
| Installazione pulita dal tag di rilascio | VERIFIED | 2026-10-05 | pytest outside the tree: 15 passed in 1.03s |
| Test unitari | VERIFIED | 2026-10-05 | 15 passed in 1.32s |
| Revisione | VERIFIED | 2026-10-05 | Requirements, interface, units, data provenance, dependency surface and failure behaviour reviewed |
| Revisione | VERIFIED | 2026-10-05 | Re-running XC-001 (5 engines, 5 venvs) reproduces the bundle hashes exactly |
| Valori di riferimento pubblicati | VERIFIED | 2026-10-05 | DE440 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) |
| Test di mutazione | VERIFIED | 2026-10-05 | 37/44 = 0.8409 |
| Confronto con librerie indipendenti | VERIFIED | 2026-10-05 | The fabric's AGREE on XC-001 rests on independent lineages agreeing within tolerance |
| Revisione | VERIFIED | 2026-10-04 | Re-execution of bench.xc-013 reproduces the committed evidence bundles |
| Revisione | VERIFIED | 2026-10-04 | Re-execution of bench.xc-012 reproduces the committed evidence bundles |
| Test unitari | VERIFIED | 2026-10-03 | 9/9 |
| Benchmark | VERIFIED | 2026-10-03 | 21/21 identical sha256 |
| Installazione pulita dal tag di rilascio | VERIFIED | 2026-10-03 | ok |
| Benchmark | VERIFIED | 2026-10-03 | XC-001 3/3 AGREE, XC-006 21/21 AGREE |
| Revisione | VERIFIED | 2026-10-03 | Re-execution of bench.xc-011 reproduces the committed evidence bundles |
| Revisione | VERIFIED | 2026-10-03 | Re-execution of bench.xc-010 reproduces the committed evidence bundles |
| Revisione | VERIFIED | 2026-10-03 | Re-execution of bench.xc-009 reproduces the committed evidence bundles |
| Revisione | VERIFIED | 2026-10-03 | Re-execution of bench.xc-008 reproduces the committed evidence bundles |
| Revisione | VERIFIED | 2026-10-03 | Re-execution of bench.xc-007 reproduces the committed evidence bundles |
| Revisione | VERIFIED | 2026-10-03 | Re-execution of bench.xc-006 reproduces the committed evidence bundles |
| Revisione | VERIFIED | 2026-10-03 | Re-execution of bench.xc-005 reproduces the committed evidence bundles |
| Revisione | VERIFIED | 2026-10-03 | Re-execution of bench.xc-004 reproduces the committed evidence bundles |
| Revisione | VERIFIED | 2026-10-03 | Re-execution of bench.xc-003 reproduces the committed evidence bundles |
| Revisione | VERIFIED | 2026-10-03 | Re-execution of bench.xc-002 reproduces the committed evidence bundles |
| Revisione | VERIFIED | 2026-10-03 | Re-execution of bench.xc-001 reproduces the committed evidence bundles |
| Benchmark | VERIFIED | 2026-10-03 | {'cases': 4, 'verdicts': {'AGREE': 4}, 'max_pair_diff': 0.0} |
| Benchmark | VERIFIED | 2026-10-03 | {'max_error_km': 0.0, 'cases_passing': 4} |
| Benchmark | VERIFIED | 2026-10-03 | {'cases': 4, 'verdicts': {'AGREE': 4}, 'max_pair_diff': 9.999983012676239e-05} |
Le osservazioni sono citate dal registro nella lingua in cui sono state scritte, l'inglese: tradurle cambierebbe il testo che il registro firma.
Impronte (SHA-256)
| star_crosscheck-0.1.3-py3-none-any.whl | 562344f9e5776d35ae1ce36f129439f265ead9d7a7261377f783537a90a59016 |
| star_crosscheck-0.1.3-source.zip | d1965f1d8ec6ca36096a9ce533f2f6ed35900970a6f942c04a7c0218c439b46c |
