question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mistaken views of judging submissions in Virtual Contest

See original GitHub issue

Virtual Contestの順位表で,ジャッジ中の提出が「WA」扱いで表示されます.

Judging -> AC 0 (1) -> 100 という感じ

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kanra824commented, May 1, 2021

なるほどです まだまだプロジェクトについて理解不足なので、そのあたりをもう少し読んでみます!

1reaction
kanra824commented, May 1, 2021

こちら自分の手元で再現しようとしてみたのですがうまく行きませんでした(結果を取得するタイミングっぽい時間に提出してみたりしましたが、むずかしい…)

初回提出を仮定すると問題ごとの獲得スコアを表示するかどうかは↓で判定されていて、元を辿ったところ https://github.com/kenkoooo/AtCoderProblems/blob/3383873a2fb849d0107c225e943e63dc37d7ce7d/atcoder-problems-frontend/src/pages/Internal/VirtualContest/ShowContest/ContestTableRow.tsx#L82-L89 ↓の各ユーザについて問題ごとに得点とペナ数を求める関数が原因かなーと思っていたのですが、そもそも WJ な提出が渡ってこないとそういうバグは起きないはずで、 https://github.com/kenkoooo/AtCoderProblems/blob/492b31c8c58bc98bd8b311e6754397c66a703f19/atcoder-problems-frontend/src/pages/Internal/VirtualContest/ShowContest/ResultCalcUtil.ts#L12-L71

↓でコンテストに対応する提出の一覧を取得する際に isValidResult によって WJ は弾かれていてほしいはずというところまで確認して力尽きました https://github.com/kenkoooo/AtCoderProblems/blob/3383873a2fb849d0107c225e943e63dc37d7ce7d/atcoder-problems-frontend/src/api/APIClient.ts#L248-L270

特に成果はありませんが( 😢 )、何かの参考になればという気持ちでコメントします

Read more comments on GitHub >

github_iconTop Results From Across the Web

New feature on Virtual judge : Add your own problems to ...
The problem is added to Virtual judge now! To add your problem to your contest, choose "gym" from judge list and add your...
Read more >
How to Judge a Contest: A Complete Guide - Judgify
Running a contest made easy with A-Z guide on how to judge a contest. Explore the various criteria for judging and how to...
Read more >
Judging topics — DOMjudge 7.3.5DEV documentation
The outcome and outputs are stored as a judging of this submission. Note that judgehosts may be restricted to certain contests, languages and...
Read more >
VIRTUAL JUDGING: RESEARCH PAPER CATEGORY
Students are permitted to submit historical ... In addition to the Research Paper itself, judges will review the ... Virtual Contest Research Papers....
Read more >
Contents - ICPC @ UIUC
1 Virtual Judge. 2. 1.1 Registration . ... Virtual judge is the platform we use to host the IPL contests. ... Problem: view...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found