Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.01 KB

File metadata and controls

30 lines (19 loc) · 1.01 KB

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.