FAILURE MAP
← Case archive

FA-75827 / Text diff and three-way merge / Member archive

Diffstat path truncation: a path exactly as wide as the column is truncated · case 02

Paths that would fit are shortened with an ellipsis.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

A path longer than width is shown as "..." plus its last width-3 characters, further shortened to start at the first "/" inside that tail when there is one (keeping the slash). Paths not longer than width are unchanged.

Why this case matters

Narrow terminals truncate long paths in diffstat output; the rule keeps the most informative part of the path.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
name exactly the width["...defghij"]["abcdefghij"]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 ↗