Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify missing outputs #234

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

adespawn
Copy link
Contributor

@adespawn adespawn commented Apr 9, 2024

Stricter no outs verification
Fix script crashing on lack of any outputs

Stricter no outs verification
Fix script crashing on lack of any outputs
@adespawn
Copy link
Contributor Author

adespawn commented Apr 9, 2024

Stack trace for mentioned crash:

Traceback (most recent call last):
  File "[...]/sinol_make/__init__.py", line 83, in main
    main_exn()
  File "[...]/sinol_make/__init__.py", line 73, in main_exn
    command.run(args)
  File "[...]/sinol_make/commands/run/__init__.py", line 1226, in run
    self.set_scores()
  File "[...]/sinol_make/commands/run/__init__.py", line 1099, in set_scores
    self.possible_score = self.contest.get_possible_score(self.groups, self.scores)
  File "[...]/sinol_make/contest_types/default.py", line 67, in get_possible_score
    if groups[0] == 0 and len(groups) == 1:
IndexError: list index out of range

@MasloMaslane MasloMaslane merged commit 7a0a94d into sio2project:main Apr 10, 2024
8 checks passed
@adespawn adespawn deleted the lack_of_output branch April 10, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants