FAILURE MAP
← Case archive

FA-3904 / Regular expressions / Member archive

Replacement counting reports matches instead of actual replacements · case 04

Replacement counting reports matches instead of actual replacements.

Member previewVariant 4 · 3 implementations · 4 checks per implementation

Case contract

Replace at most two digits with X and return [text,replacement_count].

Why this case matters

A local executable model for consumers of structured text; oracle values are authored literals, not outputs copied from the repaired implementation.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
boundary 1["XXX", 3]["XX3", 2]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 ↗