Skip to content

Referee and insights reporter for Google Hash Code 2021 Qualification Round (Traffic Signaling)

Notifications You must be signed in to change notification settings

KristofHolecz/hash-code-2021-traffic-signaling-insights-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hash-code-2021-traffic-signaling-insights-reporter

Referee and insights reporter for Google Hash Code 2021 Qualification Round (Traffic Signaling) with zero dependencies. It returns the same result as the Insights pane in the Submissions and score menu in the Google Hash Code Judge System.

Usage

The input data set and the submission file(s) need to be placed in the same folder with the following naming convention:

Input data set: a.txt
Submission: a.txt.out.txt

Evaluate the submission and print the insights to stdout:

$ node index.js data/a.txt

Evaluate the submission and write the insights to file (it creates a file called a.txt.insights.txt and will not print anything to stdout):

$ node index.js data/a.txt 1

Having trouble using the referee and insights reporter, just drop the following line into the CLI.

$ node index.js

Note that the referee is not prepared for all cases of incorrect submission file.