FAILURE MAP
← Case archive

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

Triad and seventh inversion figures: inversion figures swapped · case 03

First-inversion triads are labelled 64 and second-inversion triads 6.

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 0[0, "64"][0, "6"]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 ↗