Code Monkey home page Code Monkey logo

domjura's Issues

Encountered some problems in beijing invitational contest 2014

We tried to use that for closing ceremony, but it failed to render.... I can give you the original event.xml and scoreboard.xml directly saved from plugin/*.php for debug purpose. My guess might be some issues in UTF-8 characters.

We tested it in a smaller contest before that and it worked perfect.

Read judgement-types API to determine if a verdict results in a penalty

Currently we always give a penalty when a solution is wrong.

However during ICPC-style contests compiler-error might not produce a penalty.

We can use the judgement-types (see https://contest.domjudge.org/api/contests/5/judgement-types for an example) endpoint to determine if a penalty should be given for a verdict.

That contest can also be used to test this behaviour, because DerBaer had two submissions post-freeze, where the first one was a compiler error. DOMjura curently shows 2 pending submissions, while it should show 1.

Does not seem to work on Domjudge 5

DOMjura does not seem to work on Domjudge v5.
I am testing this on the domjudge of the BAPC (which is still running).
The only result I get is this: (logged in as admin)
snapshot3
While there are 30+ teams in the contest, and team "Team zonder naam" already has more than one correct submission.
The start and end times of the contest are wrong as well:
snapshot2

It might just be because the start- and end times are incorrect. domjudge is running in CEST and the PC running domjura is as well.

Does anyone have an idea if it is just the time, or if it is a DJv5 issue?

Incorrectly Calculates Time and Penalty for After-Accept Submissions

DOMjura's scoreboard differs from DOMjudge's scoreboard due to these reasons:

  1. DOMjura calculates the time of the last CORRECT answer for a problem which is incorrect. It should be the time of the first CORRECT one.
  2. DOMjura calculates penalty for after-correct incorrect submissions which means a team may get penalty if it sends wrong submissions after their CORRECT submission; which is incorrect. All of the incorrect submissoins after the first CORRECT one should be ommited in time calculations.

What is the solution?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.