Skip to content

Commit 0de3e95

Browse files
authored
Merge pull request #4296 from danielzsh/master
update contest to points + workflow
2 parents 5568d4b + 142f802 commit 0de3e95

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/update-usaco.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Update contest to points
4545
run: |
4646
pip install -r src/components/markdown/ProblemsList/DivisionList/scripts/requirements.txt
47-
python src/components/markdown/ProblemsList/DivisionList/scripts/update.py -s $(date +%y) -e $(date +%y)
47+
python src/components/markdown/ProblemsList/DivisionList/scripts/update.py -s $(( $(date +%y) - 1 )) -e $(date +%y)
4848
- name: Build list of problem ids
4949
run: |
5050
yarn

src/components/markdown/ProblemsList/DivisionList/contest_to_points.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@
182182
"2023 US Open": [0.9057239057239058, 0.998217468805704, 0.8200757575757576],
183183
"2023 December": [
184184
0.9772727272727273, 0.9745454545454547, 0.9920454545454546
185-
]
185+
],
186+
"2024 January": [0.9383928571428575, 0.9651785714285713, 0.9853896103896104]
186187
},
187188
"Platinum": {
188189
"2015 December": [1, 1, 1],
@@ -221,6 +222,7 @@
221222
"2023 January": [0.8125, 0.7638888888888888, 0.9259259259259258],
222223
"2023 February": [0.7777777777777777, 1.0, 0.7638888888888888],
223224
"2023 US Open": [1.0, 0.7777777777777777, 0.4166666666666667],
224-
"2023 December": [0.5130434782608695, 1.0, 0.8333333333333334]
225+
"2023 December": [0.5130434782608695, 1.0, 0.8333333333333334],
226+
"2024 January": [0.38695652173913037, 0.9636363636363636, 1.0]
225227
}
226228
}

0 commit comments

Comments
 (0)