FAILURE MAP
← Case archive

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

Triad and seventh inversion figures: fully diminished seventh unrecognised · case 03

Diminished seventh chords such as B D F Ab return None instead of a root and figure.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

Input 3 or 4 MIDI integers in any order. The pitch-class set must match a template relative to some root (triads 047 037 036 048; sevenths 047t 037t 047e 036t 0369, t=10 e=11); roots are tried in ascending pitch-class order. The bass is the lowest MIDI note. Return [root_pc, figure] with figures "", "6", "64" for triads and "7", "65", "43", "42" for sevenths by the bass position in the template; otherwise None.

Why this case matters

Figured-bass realisation and harmonic analysis depend on identifying chord root and inversion.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
oracle 5null[0, "7"]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 ↗