Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.82 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.82 KB

korekto-simple-web-app-grader

Korekto grader for the simple webapp exercise

Build codecov

Launch locally

This grader uses Testcontainers which needs Docker.
On Windows this means that the Docker engine must be running.

To launch the tool locally, run com.github.lernejo.korekto.toolkit.launcher.GradingJobLauncher with the argument -s=mySlug

With Maven

mvn compile exec:java -Dexec.args="-s=yourGitHubLogin"

With intelliJ

Demo Run Configuration

GitHub API rate limiting

When using the grader a lot, GitHub may block API calls for a certain amount of time (criterias change regularly). This is because by default GitHub API are accessed anonymously.

To increase the API usage quota, use a Personal Access Token in order to access GitHub APIs authenticated.

Such a token can be supplied to the grader tool through the system property : -Dgithub_token=<your token>

Like so:

mvn compile exec:java -Dexec.args="-s=yourGitHubLogin" -Dgithub_token=<your token>

FAQ

What can I do if the grader cannot start my program within the 20sec allocated ?

If your PC is slow, 20 sec may not be enough to start your project. In that can, try to increase the timeout with -Dserver_start_timeout=60 (for 60 sec).