Leave the climbs to their default where the reference reproduced nothing
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user