Skip to content

Add support for results generated with PointsReporter#50

Open
MikolajKolek wants to merge 1 commit into
m4tx:masterfrom
MikolajKolek:master
Open

Add support for results generated with PointsReporter#50
MikolajKolek wants to merge 1 commit into
m4tx:masterfrom
MikolajKolek:master

Conversation

@MikolajKolek

Copy link
Copy Markdown

Currently, when receiving results generated with the Satori PointsReporter that don't start with 100, but are still correct (for example 25 [25 / 25]), the problems page displays the problem as not correctly solved, even if it is. This PR fixes that by introducing a new regex check.

Additionally, I think that the status.startsWith('100') line might work under the incorrect assumption that all problems are scored out of 100, and I don't understand what the and ACCURACY_REGEX expression checks for as I don't see reporters in the Satori source code that would ever give matching results, but my understanding of Satori code is mediocre at best, so maybe they are there for a good reason and I'm in the wrong here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant