Skip to content

Commit d252565

Browse files
committed
Add config facts
1 parent e62e301 commit d252565

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

configs/generate_confs.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,18 @@ def main(models, rounds, simulations, output):
8686
with open(f"{output}/{config_name}", "w") as f:
8787
yaml.dump(config, f, default_style=None, sort_keys=False)
8888

89+
print(f"Generated {len(pairs) * len(ARENAS)} configuration files in '{output}'.")
90+
print(f"- # Models: {len(models)}")
91+
print(f"- # Arenas: {len(ARENAS)}")
92+
print(f"- r (rounds) {rounds}")
93+
print(f"- s (sims_per_round) {simulations}")
94+
total_rounds = (len(models) * (len(models) - 1) // 2) * rounds * len(ARENAS)
95+
96+
print("\n(Assuming each tournament is run once)")
97+
print(f"- Total rounds played across all models: {total_rounds}")
98+
rounds_per_model = total_rounds // len(models)
99+
print(f"- Each model: {rounds_per_model}.")
100+
89101

90102
if __name__ == "__main__":
91103
parser = argparse.ArgumentParser(description="Generate configuration files.")

0 commit comments

Comments
 (0)