Skip to content

Commit 578e7a0

Browse files
committed
Update .png -> .pdf
1 parent c9a9103 commit 578e7a0

14 files changed

Lines changed: 17 additions & 15 deletions

codeclash/analysis/viz/cdf_command_diversity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
from codeclash.analysis.viz.utils import ASSETS_DIR, MODEL_TO_COLOR, MODEL_TO_DISPLAY_NAME
4545
from codeclash.constants import LOCAL_LOG_DIR
4646

47-
OUTPUT_FILE = ASSETS_DIR / "cdf_command_diversity.png"
47+
OUTPUT_FILE = ASSETS_DIR / "cdf_command_diversity.pdf"
4848
DATA_CACHE = ASSETS_DIR / "cdf_command_diversity.json"
4949

5050

codeclash/analysis/viz/cdf_files_edited_per_round.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from codeclash.analysis.viz.utils import ASSETS_DIR, FONT_BOLD, FONT_REG, MODEL_TO_COLOR, MODEL_TO_DISPLAY_NAME
99
from codeclash.constants import LOCAL_LOG_DIR
1010

11-
OUTPUT_FILE = ASSETS_DIR / "cdf_files_edited_per_round.png"
11+
OUTPUT_FILE = ASSETS_DIR / "cdf_files_edited_per_round.pdf"
1212
DATA_CACHE = ASSETS_DIR / "cdf_files_edited_per_round.json"
1313

1414

codeclash/analysis/viz/cdf_steps_per_round.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from codeclash.analysis.viz.utils import ASSETS_DIR, FONT_BOLD, MODEL_TO_COLOR, MODEL_TO_DISPLAY_NAME
88
from codeclash.constants import LOCAL_LOG_DIR
99

10-
OUTPUT_FILE = ASSETS_DIR / "cdf_steps_per_round.png"
10+
OUTPUT_FILE = ASSETS_DIR / "cdf_steps_per_round.pdf"
1111
DATA_CACHE = ASSETS_DIR / "cdf_steps_per_round.json"
1212

1313

codeclash/analysis/viz/cdf_thought_length_per_round.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from codeclash.analysis.viz.utils import ASSETS_DIR, FONT_BOLD, FONT_REG, MODEL_TO_COLOR, MODEL_TO_DISPLAY_NAME
99
from codeclash.constants import LOCAL_LOG_DIR
1010

11-
OUTPUT_FILE = ASSETS_DIR / "cdf_thought_length_per_round.png"
11+
OUTPUT_FILE = ASSETS_DIR / "cdf_thought_length_per_round.pdf"
1212
DATA_CACHE = ASSETS_DIR / "cdf_thought_length_per_round.json"
1313

1414

codeclash/analysis/viz/heatmap_returncode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def main(logs: Path):
147147
# plt.xlabel('Arena', fontproperties=FONT_BOLD, fontsize=18)
148148
# plt.ylabel('Model', fontproperties=FONT_BOLD, fontsize=18)
149149
plt.tight_layout()
150-
plt.savefig(ASSETS_DIR / "heatmap_returncode.png", dpi=300, bbox_inches="tight")
150+
plt.savefig(ASSETS_DIR / "heatmap_returncode.pdf", dpi=300, bbox_inches="tight")
151151
plt.show()
152152

153153

codeclash/analysis/viz/heatmap_win_streak_distribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from codeclash.analysis.viz.utils import ASSETS_DIR, FONT_BOLD, MODEL_TO_DISPLAY_NAME
1313
from codeclash.constants import LOCAL_LOG_DIR
1414

15-
OUTPUT_FILE = ASSETS_DIR / "heatmap_win_streak_distribution.png"
15+
OUTPUT_FILE = ASSETS_DIR / "heatmap_win_streak_distribution.pdf"
1616

1717

1818
def main(log_dir: Path, xlim: int = 15):

codeclash/analysis/viz/line_chart_model_resiliency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
(50, 100), # 50%+ deficit
4141
]
4242

43-
OUTPUT_FILE = ASSETS_DIR / "line_chart_model_resiliency.png"
43+
OUTPUT_FILE = ASSETS_DIR / "line_chart_model_resiliency.pdf"
4444

4545

4646
def load_tournament_metadata(metadata_path):

codeclash/analysis/viz/line_chart_per_round_changes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
ROUNDS = 15
2828
DATA_CACHE = ASSETS_DIR / "line_chart_per_round_changes.json"
29-
OUTPUT_PNG = ASSETS_DIR / "line_chart_per_round_changes.png"
29+
OUTPUT_PNG = ASSETS_DIR / "line_chart_per_round_changes.pdf"
3030

3131

3232
def _lines_changed_from_patch_text(patch_text: str) -> int:

codeclash/analysis/viz/line_chart_per_round_specific.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232

3333
ROUNDS = 15
3434
DATA_CACHE = ASSETS_DIR / "line_chart_per_round_specific.json"
35-
OUTPUT_PNG_README = ASSETS_DIR / "line_chart_per_round_changes_readme.png"
36-
OUTPUT_PNG_SUBMISSION = ASSETS_DIR / "line_chart_per_round_changes_submission.png"
35+
OUTPUT_PNG_README = ASSETS_DIR / "line_chart_per_round_changes_readme.pdf"
36+
OUTPUT_PNG_SUBMISSION = ASSETS_DIR / "line_chart_per_round_changes_submission.pdf"
3737

3838
MAP_GAME_TO_SUBMISSION_FILE = {a.name: a.submission for a in ARENAS}
3939

codeclash/analysis/viz/line_chart_steps_per_round.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from codeclash.constants import LOCAL_LOG_DIR
99

1010
ROUNDS = 15
11-
OUTPUT_FILE = ASSETS_DIR / "line_chart_steps_per_round.png"
11+
OUTPUT_FILE = ASSETS_DIR / "line_chart_steps_per_round.pdf"
1212
DATA_CACHE = ASSETS_DIR / "line_chart_steps_per_round.json"
1313

1414

0 commit comments

Comments
 (0)