FAILURE MAP
← Case archive

FA-67162 / Railway interlocking logic / Member archive

Signal lamp proving and aspect degradation: double yellow lamp set · case 02

A double yellow is displayed with one of its two lamps dark.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Aspects need lamps: G needs G; YY needs Y1 and Y2; Y needs Y1; R needs R. A lamp is lit if its main or auxiliary filament works. If the requested aspect cannot be lit, show the next more restrictive aspect that can (G, YY, Y, R); if even R cannot be lit the signal is DARK. alarm is raised if the signal is DARK or any lamp used by the shown aspect runs on its auxiliary filament. degraded means shown != requested.

Why this case matters

Interlocking logic decides whether trains may be given authority; a wrong decision at this point either grants unsafe movements or strands traffic.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: upper yellow dead under double yellow{"alarm": false, "degraded": false, "shown": "YY"}{"alarm": false, "degraded": true, "shown": "R"}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 ↗