CSV writers¶
Writes all tournament results to results/gen{N}/ as CSV files.
| File | Contents |
|---|---|
tier_{name}_leaderboard.csv |
Full ranked leaderboard per Smogon tier |
playoff_{lower}_{upper}.csv |
Adjacent-tier playoff result |
grand_final_leaderboard.csv |
Final rankings with source and Smogon tier |
grand_final_matrix.csv |
Head-to-head win-rate matrix for finalists |
smogon_delta.csv |
Per-Pokemon sim rank vs Smogon placement |
evo_line_report.csv |
Evolutionary line performance across tiers |
upsets.csv |
Playoffs where the lower-tier champion won |
summary.csv |
One-line summary per phase |
writers ¶
Reporters -- write tournament results to CSV files under results/gen{N}/.
write_tier_leaderboard ¶
Write a tier leaderboard to CSV under results/gen{N}/.
Source code in pokerena/report/writers.py
write_playoffs ¶
Write one CSV per playoff matchup under results/gen{N}/.
Source code in pokerena/report/writers.py
write_grand_final ¶
Write the grand final leaderboard and win-rate matrix CSVs.
Source code in pokerena/report/writers.py
write_smogon_delta ¶
Compare sim rank within tier vs Smogon tier placement. Flags Pokemon as UNDERRATED, OVERRATED, or CONFIRMED.
Source code in pokerena/report/writers.py
write_evo_line_report ¶
write_evo_line_report(
gen: int,
tier_leaderboards: dict[str, TierLeaderboard],
pokemon_by_tier: dict,
) -> None
Report on evolutionary line performance across tiers.
Source code in pokerena/report/writers.py
write_upsets ¶
Write a CSV of all playoff upsets (lower-tier champion wins) for a generation.
Source code in pokerena/report/writers.py
write_summary ¶
Write a high-level summary CSV covering all three tournament phases.
Source code in pokerena/report/writers.py
write_all ¶
Write every output file for a completed generation tournament.