FAILURE MAP
← Case archive

FA-1632 / Relational algebra / Member archive

Truth selection: Confuses known false with true · case 02

The query violates its result contract: confuses known false with true.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Select IDs for which nullable flag is true (any nonzero integer). Inputs are finite relations a=rows and b=refs with columns (id,k,v,w,flag,parent). IDs are unique within each relation, None is SQL NULL, keys are ASCII strings or None, and other values are integers or None. Return an unordered result bag as lists sorted by repr, preserving multiplicity unless explicitly distinct.

Why this case matters

Executes actual in-memory SQLite relational semantics. The fixtures exercise empty inputs, nullable groups, duplicate facts, known zero, negative values, peer ties and partition boundaries. This models the specified query contract, not optimizer performance, disk durability or a complete migration transaction.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
left facts without references[[102], [112], [142], [152], [162], [172], [182], [192], [202], [22], [32], [42], [52], [62], [72], [82]][[102], [152], [162], [182], [202], [32], [42], [52], [62], [82]]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 ↗