refactor: Unify leaderboard scripts and use config variables

This commit is contained in:
Paul Gauthier (aider) 2024-12-21 11:47:29 -08:00
parent 4efdc8b4f7
commit 49a2f998dd
3 changed files with 11 additions and 7 deletions

View file

@ -56,6 +56,8 @@ The model also has to successfully apply all its changes to the source file with
<script src="https://unpkg.com/patternomaly/dist/patternomaly.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script>
{% assign data_source = edit_sorted %}
{% assign pass_rate_field = "pass_rate_2" %}
{% include edit-leaderboard.js %}
</script>
<style>