Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alex28sh committed Dec 22, 2024
1 parent fae80c5 commit ff2a636
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions verified_cogen/several_modes/several_modes.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@

def main():
parser = get_default_parser_multiple()
parser.add_argument(
"--ignore-failed", help="Ignore failed files", action="store_true"
)
args = parser.parse_args()
print(args.manual_rewriters)

Expand Down Expand Up @@ -116,7 +113,7 @@ def main():
json_avg_results = results_directory / f"tries_{directory.name}_{mode}_avg.json"
with open(json_avg_results, "w") as f:
json.dump({}, f)
results_avg: Dict[int, float] = dict([(i, 0) for i in range(args.runs)])
results_avg: Dict[int, float] = dict([(i, 0) for i in range(args.runs + 1)])

for run in range(args.runs):
logger.info(f"Run {run}")
Expand Down

0 comments on commit ff2a636

Please sign in to comment.