Skip to content

Probe sweep: captured collection × every range and set type (EF Core operand axis) #136

Closed

Description

@CaffeinatedCoder

Problem

axes.md's EF Core Operand position axis has no captured collection value: a List<T>, array, HashSet<T> or IEnumerable<T> of ranges or value sets that a query reads with Contains(column), Any(…) or Count(…). No oracle varies it. DifferentialFuzzParityTests binds each operand only as a column, an inlined constant or a single parameter.

Three bugs have come through this gap, and the oracle check on #105 shows no registered oracle catches any of them. For #46 and #71, I reverted the fix and ran every oracle, and they all stayed green.

Claims E36 and E37 are held only by the regression tests SetCollectionContainsTests and RangeCollectionContainsTests, which are worked examples, not sweeps. E38 states #76's divergence as the documented workaround.

Change

Add a probe class, CapturedCollectionProbeTests, to the integration project, against live PostgreSQL. It sweeps:

  • every discovered range type and value set type (closed, wrapper and NodaTime)
  • × collection form (array, List<T>, HashSet<T>, IEnumerable<T>)
  • × list contents (empty, overlapping, adjacent, with an empty element, duplicate, every shape)
  • × query shape (Any/Count alone, or beside a Contains that reads the same collection)

The oracle is the same expression evaluated in memory.

Done when

Activity

  1. added
    tests
    area/ranges
    area/value-sets
    package/efcore
    on Oct 17, 2026
  2. added a commit that references this issue on Oct 17, 2026
    4943e68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/rangesarea/value-setspackage/efcoretests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions