Skip to content

Commit

Permalink
fix: Remove unused overlay visibility tracking in MatchingPairsGame c…
Browse files Browse the repository at this point in the history
…lass as the information was already being stored and this was causing an error
  • Loading branch information
drikusroor committed Dec 16, 2024
1 parent 184d2a8 commit 4220a40
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/experiment/rules/matching_pairs.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ def calculate_intermediate_score(self, session, result):
second_card = result_data["second_card"]
second_section = Section.objects.get(pk=second_card["id"])
second_card["filename"] = str(second_section.filename)
overlay_was_shown = result_data["overlay_was_shown"]
if first_section.group == second_section.group:
if "seen" in second_card and second_card["seen"]:
score = 20
Expand Down

0 comments on commit 4220a40

Please sign in to comment.