FAILURE MAP
← Case archive

FA-81192 / Music interval and transposition theory / Member archive

Roman numeral label for a chord in a key: leading-tone chord in minor given a sharp prefix · case 02

In A minor the G# diminished chord is labelled #vii° instead of vii°.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input [tonic_pc, mode, root_pc, quality] with mode major or minor (natural minor scale 0 2 3 5 7 8 10) and quality maj, min, dim or aug. Diatonic roots use their degree; in minor the leading tone (11 semitones) is degree VII with no prefix. Other roots in major are written b + the degree a semitone above; in minor # + the degree a semitone below. Numerals are uppercase for maj and aug, lowercase for min and dim, with suffix ° for dim and + for aug. Invalid input returns None.

Why this case matters

Harmonic analysis and ear-training tools label chords relative to the key.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
oracle 4"#vii\u00b0""vii\u00b0"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 ↗