Skip to content

Commit

Permalink
Sort divisions in summary to simplify diffing
Browse files Browse the repository at this point in the history
  • Loading branch information
bobot committed Jul 19, 2024
1 parent 5b92ed8 commit 27ae0ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions smtcomp/generate_website_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,5 +613,6 @@ def export_results(config: defs.Config, selection: pl.LazyFrame, results: pl.Laz
largedata = largest_contribution(config, selection, scores, track)
(dst / f"largest-contribution-{page_suffix}.md").write_text(largedata.model_dump_json(indent=1))

all_divisions.sort(key=lambda x: x.division)
summary_results = PodiumSummaryResults(track=track, divisions=all_divisions)
(dst / f"results-{page_suffix}.md").write_text(summary_results.model_dump_json(indent=1))

0 comments on commit 27ae0ec

Please sign in to comment.