Skip to content

Commit bdf488b

Browse files
committed
Fix for simulator
1 parent 431d654 commit bdf488b

File tree

1 file changed

+2
-3
lines changed
  • delphi/scorers/simulator/oai_autointerp/explanations

1 file changed

+2
-3
lines changed

delphi/scorers/simulator/oai_autointerp/explanations/scoring.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,8 @@ async def simulate_and_score(
188188
all_activated = []
189189
for distance, sequence in enumerate(scored_sequence_simulations):
190190
without_errors = []
191-
for s in sequence:
192-
if len(s.simulation.expected_activations) > 0:
193-
without_errors.append(s)
191+
if len(sequence.simulation.expected_activations) > 0:
192+
without_errors.append(sequence)
194193
values.append(
195194
aggregate_scored_sequence_simulations(without_errors, distance + 1)
196195
)

0 commit comments

Comments
 (0)