FAILURE MAP
← Case archive

FA-69387 / Orbital propagation / Member archive

True anomaly from eccentric anomaly: Radius ratio uses the wrong sign on the eccentric term · case 02

The spacecraft is placed at apoapsis distance at periapsis.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Input [E, e] (radians, 0<=e<1, E any real). Return [nu, r/a] with nu = 2*atan2(sqrt(1+e) sin(E/2), sqrt(1-e) cos(E/2)) reduced to [0,2pi) and r/a = 1-e cos E, both rounded to 9 decimals.

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
true anomaly from eccentric anomaly [2.5, 0.3][2.663281246, 0.759656915][2.663281246, 1.240343085]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 ↗