fuzzy union passes constructor args in the wrong order. Confirmed by inspection: union calls FuzzySet(name, min_left, max_right, avg_peak) but the constructor is (name, left_boundary, peak, right_boundary), so peak/right are swapped — the committed doctest itself shows the nonsensical peak=0.6, right_boundary=0.35. Fix the call and correct the doctest. bug.
fuzzy
unionpasses constructor args in the wrong order. Confirmed by inspection:unioncallsFuzzySet(name, min_left, max_right, avg_peak)but the constructor is(name, left_boundary, peak, right_boundary), so peak/right are swapped — the committed doctest itself shows the nonsensicalpeak=0.6, right_boundary=0.35. Fix the call and correct the doctest.bug.