FAILURE MAP
← Case archive

FA-69495 / Orbital propagation / Member archive

Classical elements from a state vector: Node vector is built from the wrong cross product order · case 05

RAAN is off by 180 degrees and argp by the same.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

Input [r, v, mu] (km, km/s) for an inclined, eccentric orbit. Return [a, e, i, raan, argp, nu] with a rounded to 3, e to 6 and angles in degrees rounded to 4, using the node vector n=[-h_y,h_x,0], eccentricity vector ((v^2-mu/r) r - (r.v) v)/mu and quadrant rules raan>180 when n_y<0, argp>180 when e_z<0, nu>180 when r.v<0.

Why this case matters

Orbit determination and mission planning chain many small conversions; one wrong branch or unit silently moves a spacecraft by kilometres.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
classical elements from a state vector [[-6475.5994, -5263.8249, -12931.4731], [0.8127286, -6.3785031, 1.6229816], 398600.4418][50980.389, 0.7, 63.4, 90.0, 260.0, 10.0][50980.389, 0.7, 63.4, 270.0, 280.0, 10.0]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗