Skip to content

The minority clone sweep can't see a pair in the four- and five-member NodaTime families #236

Closed

Description

@CaffeinatedCoder

Problem

The minority rule from #200 (CloneSweep.IsMinority: count == 1 || count * 3 < n) still can't see a pair in the NodaTime families. Their sizes are 5 (value sets), 5 (wrapper arities) and 4 (ranges), so a group of two is never under a third. The pre-tag analysis (#179, part B) copied #200's seeded line (GetHashCode() => _elements.GetHashCode()) into InstantSet and LocalTimeSet, and CloneDivergenceTests passed 5/5. A behavioural test happened to catch that particular defect, but the sweep didn't.

Change

Measure a minority against the largest body cluster (for example, smaller than the biggest cluster, or count * 2 < n), and re-check the waivers that changes.

Done when

A second seed copies a defect into two NodaTime siblings and is caught by the sweep. The existing #200 seed is still caught, and the waiver list is clean.

Activity

  1. added this to the 10.0.0 milestone on Oct 18, 2026
  2. added
    tests
    package/nodatime
    on Oct 18, 2026
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

    package/nodatimetests

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions