Skip to content

Grader for the simple webapp with Spring & PostgreSQL exercise

Notifications You must be signed in to change notification settings

lernejo/korekto-simple-web-app-grader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Grader for the simple webapp with Spring & PostgreSQL exercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages