FA-12175 / Astronomical coordinate conventions / Member archive
Radio and optical velocity conventions use different frequency denominators · case 05
Radio and optical velocity conventions use different frequency denominators.
Case contract
Positive integer frequencies f and rest; mode radio or optical. Return reduced rational v/c string: (rest-f)/rest for radio, (rest-f)/f for optical. This tests convention conversion, not a relativistic physical speed.
Why this case matters
Astronomical coordinate adapters must preserve convention semantics. Primary background: https://docs.astropy.org/en/stable/units/equivalencies.html
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| radio redshift | "1" | "1/2" | 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 ↗