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.
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.txtEvaluate 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 1Having trouble using the referee and insights reporter, just drop the following line into the CLI.
$ node index.jsNote that the referee is not prepared for all cases of incorrect submission file.