FAILURE MAP
← Case archive

FA-67337 / Railway interlocking logic / Member archive

Temporary speed restriction over train length: sighting distance reference · case 02

A restriction exactly at the sighting distance is not announced, or sighting is measured from the wrong end.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

A restriction [from_m, to_m) applies while any part of the train (rear = front - length) is inside it: from <= front and to > rear. The limit is the minimum of the line speed and applicable restrictions. next_m is the start of the nearest restriction ahead of the front (from > front) within sight_m of the front whose speed is below the current limit, else None.

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: restriction exactly at sighting distance{"limit": 100, "next_m": null}{"limit": 100, "next_m": 600}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 ↗