@aoi-js/aka 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1 +1,4 @@
1
- # aka
1
+ <div align=center>
2
+ <img src=docs/public/aka.svg width=240>
3
+ <h1>Aka</h1>
4
+ </div>
package/lib/calc/acm.js CHANGED
@@ -141,7 +141,7 @@ export class AcmCalculator extends RanklistCalculator {
141
141
  list: await Promise.all(topstarUserIdList.map(async (userId) => {
142
142
  const solutions = await this.db.solutions
143
143
  .find({ contestId, userId })
144
- .sort({ completedAt: 1 })
144
+ .sort({ submittedAt: 1 })
145
145
  .toArray();
146
146
  const currentScores = Object.create(null);
147
147
  const mutations = [];
package/lib/calc/basic.js CHANGED
@@ -53,7 +53,7 @@ export class BasicCalculator extends RanklistCalculator {
53
53
  list: await Promise.all(topstarUserIdList.map(async (userId) => {
54
54
  const solutions = await this.db.solutions
55
55
  .find({ contestId, userId })
56
- .sort({ completedAt: 1 })
56
+ .sort({ submittedAt: 1 })
57
57
  .toArray();
58
58
  const currentScores = Object.create(null);
59
59
  const mutations = [];
package/lib/calc/plus.js CHANGED
@@ -258,7 +258,7 @@ export class PlusCalculator extends RanklistCalculator {
258
258
  list: await Promise.all(topstarUserIdList.map(async (userId) => {
259
259
  const solutions = await this.db.solutions
260
260
  .find({ contestId, userId, problemId: { $in: problemIdList } })
261
- .sort({ completedAt: 1 })
261
+ .sort({ submittedAt: 1 })
262
262
  .toArray();
263
263
  const currentScores = Object.create(null);
264
264
  const mutations = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aoi-js/aka",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "packageManager": "yarn@4.0.2",
5
5
  "publishConfig": {
6
6
  "access": "public"