You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The minority clone sweep can't see a pair in the four- and five-member NodaTime families #236
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
test: waive the temporal ranges' IsInfinity helper