Leave the climbs to their default where the reference reproduced nothing

This commit is contained in:
2026-11-12 01:47:38 +01:00
parent afcd6801a1
commit 4ab5b629ea
+1 -1
View File
@@ -61,7 +61,7 @@ def replayed(
held = [(case, aim) for case, reply in zip(cases, on_reference) if (aim := reproduced(case, reply))] held = [(case, aim) for case, reply in zip(cases, on_reference) if (aim := reproduced(case, reply))]
# With nothing to hold a rung to, every rung would miss nothing. # With nothing to hold a rung to, every rung would miss nothing.
if not held: if not held:
return Replay(on_reference, [], None, []) return Replay(on_reference, [], None)
climbed: list[Tried[Case, Aim, Answer]] = [] climbed: list[Tried[Case, Aim, Answer]] = []
for rung in climbs: for rung in climbs:
climb = tried_on(held, rung, replay_one, reproduced, what) climb = tried_on(held, rung, replay_one, reproduced, what)