8000 Releases · icpctools/icpctools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: icpctools/icpctools

v2.6.1179

03 Apr 11:46
Compare
Choose a tag to compare
v2.6.1179 Pre-release
Pre-release
fix test data count in public feed

We try to strip the test data count in the public feed by setting it to null, but
the property is an integer so you get this in the log instead:

 R Error adding property: problems/test_data_count:null
 R    java.lang.NumberFormatException: null
 R    at org.icpc.tools.contest.model.internal.ContestObject.parseInt(ContestObject.java:142)

This just adds a method to correctly clear the property back to the default value,
and uses that.

v2.6.1178

01 Apr 18:10
Compare
Choose a tag to compare
v2.6.1178 Pre-release
Pre-release
Add IntelliJ IML's

v2.6.1177

03 Mar 20:27
Compare
Choose a tag to compare
v2.6.1177 Pre-release
Pre-release
fix: update /api spec version to draft

Fixes #1094.

Signed-off-by: Tim deBoer <git@tdeboer.ca>

v2.6.1176

02 Mar 22:45
Compare
Choose a tag to compare
v2.6.1176 Pre-release
Pre-release
Handle the case when an honors awards has an empty list

If you have an award where the top is `solvedTop` and the bottom is an `percentileBottom` and the percentile team is *above* the solved team, you could get indices which would create a list with negative size. In that case, don't create the award.

v2.6.1175

16 Feb 16:04
Compare
Choose a tag to compare
v2.6.1175 Pre-release
Pre-release
Never pass through cursor sizes smaller than 1x1.

This apparently is triggered via KVM in Proxmox where it would otherwise
crash with:
```
Exception in thread "main" java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
        at java.desktop/java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
        at java.desktop/java.awt.GraphicsConfiguration.createCompatibleImage(GraphicsConfiguration.java:184)
        at org.icpc.tools.presentation.core.internal.PresentationWindowImpl.getCustomCursor(PresentationWindowImpl.java:1177)
        at org.icpc.tools.presentation.core.internal.PresentationWindowImpl.<init>(PresentationWindowImpl.java:299)
        at org.icpc.tools.presentation.core.PresentationWindow.create(PresentationWindow.java:144)
        at org.icpc.tools.presentation.core.PresentationWindow.open(PresentationWindow.java:148)
        at org.icpc.tools.presentation.core.PresentationWindow.open(PresentationWindow.java:162)
        at org.icpc.tools.presentation.contest.internal.standalone.StandaloneLauncher.launch(StandaloneLauncher.java:323)
        at org.icpc.tools.presentation.contest.internal.standalone.StandaloneLauncher.main(StandaloneLauncher.java:114)
```

v2.6.1174

06 Jan 16:58
Compare
Choose a tag to compare
v2.6.1174 Pre-release
Pre-release
Add missing regex to hel

v2.6.1173

06 Jan 15:58
Compare
Choose a tag to compare
v2.6.1173 Pre-release
Pre-release
Fix WLP build

Going to try switching back to a webprofile WLP (and 2 months newer), since it is
working locally but the switch seems to be where the build broke.

Also fix action description.

v2.6.1172

06 Jan 15:58
Compare
Choose a tag to compare
v2.6.1172 Pre-release
Pre-release
Support draft spec REL_TIME in scoreboard

In the current draft spec, times in the /scoreboard endpoint have been updated to
use REL_TIME to match the updated REL_TIME penalty in contest. All ICPC tools can
read the new format (#1078), but the CDS does not output in the new format.

The ICPC tools currently store the scoreboard values as integer minutes. Although
we could support the new spec by simply converting minutes to REL_TIME (i.e. always
end in ':00.000'), this would leave these two values inconsistent and defer support
for non-minute penalties down the road (and kind of miss the point).

This PR makes all the underlying changes in order to correctly support different
penalties in the future, without breaking current ICPC compatibility:
- Change datatype for time and last solution in standings from minutes to ms.
- Adjust all places that were outputting standing time externally to use
  ContestUtil.getTime() to convert back to minutes.
- Use the ICPC_CONTEST_API system property to maintain backward compatibility
  for the /scoreboard. When this isn't set, scoreboard outputs in the new draft
  spec format.

So after this:
- There should be no UI change.
- ICPC scoring algorithm in CDS and resolver are unchanged (any penalty will be
  applied correctly, but submission time and tie-breakers are still based on minutes).
- CDS scoreboard supports the new spec (and has backward compatibility).

v2.6.1171

06 Jan 15:58
Compare
Choose a tag to compare
v2.6.1171 Pre-release
Pre-release
Event feed support for REL_TIME penalty

The draft spec changes contest penalty time to REL_TIME. Support for reading in
either old or new format was already added via PR #1078, this adds support for
the CDS to output the new format as well. A new ICPC_CONTEST_API system property
is added in order to maintain backward compatibility, e.g. add the following to
jvm.options to return to the old behaviour: `-DICPC_CONTEST_API=2023-06`.

Support for REL_TIME in the scoreboard will come via another PR.

v2.6.1170

17 Dec 13:12
Compare
Choose a tag to compare
v2.6.1170 Pre-release
Pre-release
Drop support for 2020-03 spec

Removes support for the 2020-03 spec (event feed with 'op'erations) since it
hasn't been used in years.
0