a geicko-2 based round robin ranking system designed to test c++ battleship submissions battleship.dunkirk.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

debug: add logging to check if match binary is created

+6
+6
internal/runner/runner.go
··· 209 209 return 0, 0, 0 210 210 } 211 211 212 + // Check if binary was actually created 213 + if _, err := os.Stat(combinedBinary); os.IsNotExist(err) { 214 + log.Printf("Match binary was not created at %s, compilation output: %s", combinedBinary, output) 215 + return 0, 0, 0 216 + } 217 + 212 218 // Run match in sandbox with 300 second timeout (1000 games should be ~60s, give headroom) 213 219 runArgs := []string{combinedBinary, strconv.Itoa(numGames)} 214 220 output, err = runSandboxed(context.Background(), "run-match", runArgs, 300)