FAILURE MAP
← Case archive

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

Diffstat path truncation: the ellipsis is not counted in the width · case 05

Truncated paths are three characters wider than the column.

Member previewVariant 5 · 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
long name cut at a directory boundary[".../deep/file_name.py"][".../file_name.py"]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 ↗