star-cdm 0.2.2
Strict CCSDS 508.0-B-1 Conjunction Data Message (KVN) parser with consistency report
Public state: Beta. The registry label is VERIFIED. What the states mean →
Apache-2.0 Beta single file
Summary
Strict parser for CCSDS 508.0-B-1 Conjunction Data Messages in KVN. Standard library only.
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: all 59 tests pass in the browser's Python (Pyodide 314.0.7, Python 3.14.2), measured on 20 October 2026. 1 test skipped there: it needs something not available in a browser (an outside reference program or an extra not yet published).
Use it on your computer
No account and no GitHub needed. Download, then install with one command:
- Install file · star_cdm-0.2.2-py3-none-any.whl 6 kB
- Single file — copy it alongside your code · star_cdm.py 14 kB
- Source code (.zip) 37 kB
python -m pip install star_cdm-0.2.2-py3-none-any.whlIn Python: import star_cdm
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_cdm_0_2_2,
author = {Cavazzini, Andrea},
title = {{star-cdm}: Strict CCSDS 508.0-B-1 Conjunction Data Message (KVN) parser with consistency report},
version = {0.2.2},
year = {2026},
url = {https://andrea07072000.github.io/S.T.A.R.-/software/star_cdm/},
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-cdm @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109#subdirectory=packages/star_cdm"
Technical sheet
Requirements
- R1
parse_cdm(text) -> {"header", "object1", "object2", "warnings"}: dates as datetimes (CCSDS 502.0 formats only), numbers as floats, units checked against the standard, exactly OBJECT1 then OBJECT2, all obligatory keywords (the set of the standard's example 3.6.2). - R2 Every malformation raises
CdmFormatError(unknown keyword, missing obligatory keyword, wrong unit, duplicate, non-numeric, malformed date, wrong object count). Typographic minus signs (U+2212) are normalised and REPORTED. - R3
covariance_rtn(obj)-> symmetric 6x6;consistency_report(cdm)compares MISS_DISTANCE with the state vectors and RELATIVE_POSITION_R/T/N and flags inconsistencies without editing values.
Limits (what is not claimed)
XML CDM, CDM 2.0 (508.0-B-2 draft/updates), collision probability computation, any operational use.
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)
- star_cdm.py 0.856 (2026-10-05)
- Independent implementations written by others (needs 2)
- Orekit (CS GROUP, Java) CdmParser
- Also compared with, not counted
- S.T.A.R.'s own re-derivations: S.T.A.R. Python KVN parser
- Result
- Beta
Missing: another independent implementation written by others (now 1 of 2)
Evidence in the registry
| Check | Status | Recorded | What was observed |
|---|---|---|---|
| Clean install from the release tag | VERIFIED | 2026-10-08 | pytest outside the tree: 60 passed in 5.78s |
| Clean install from the release tag | VERIFIED | 2026-10-05 | pytest outside the tree: 50 passed in 6.44s |
| Clean install from the release tag | VERIFIED | 2026-10-05 | pytest outside the tree: 29 passed in 15.44s |
| Mutation testing | VERIFIED | 2026-10-05 | 149/174 = 0.8563 |
| Unit tests | VERIFIED | 2026-10-04 | 13/13 tests pass |
| Clean install from the release tag | VERIFIED | 2026-10-04 | pytest outside the tree: 20 passed in 5.72s |
| Cross-check with independent libraries | VERIFIED | 2026-10-04 | star_cdm and Orekit 13.1 CdmParser (Java, CS GROUP lineage) extract identical values from the three CCSDS 508.0 examples (after the 3 documented corrections) |
| Benchmark | VERIFIED | 2026-10-04 | 1/1 benchmark test pass (3 examples x 6 fields identical); runtime WSL OpenJDK 17 + orekit-jpype |
| Reference value | VERIFIED | 2026-10-04 | MISS_DISTANCE 715 m (states give 715.75 m), 104.92 m (RTN gives 104.92 m); covariance and state values as printed |
| Mutation testing | VERIFIED | 2026-10-04 | before 49/69 = 0.7101; after 56/61 = 0.918 (dead code removed: fewer mutants) |
Fingerprints (SHA-256)
| star_cdm-0.2.2-py3-none-any.whl | e7eaa40aa96844334877d3d43437f59ab2238628bacacc45b99c3a1be03e8b9a |
| star_cdm.py | 101363f1c48f3a735efa1e1ef3670b58eb75ad1d698b174bd3213b0cc8a5b8a2 |
| star_cdm-0.2.2-source.zip | 8e8c30408a35f65fa94fa28626713198f228a69be1d660cc49e7047d0525c762 |
