// recompile + reload #1002408 (Turing Bot) after changing this static L turingTests = litlist("#1002332", "#1002413", "#1002417", "#1002449"); static S getTuringScore_eleuURL = "http://bots.tinybrain.de/1002076/raw"; static S getTuringScore() { long s = 0, n = 0; int tests = 0; for (S testID : turingTests) pcall { PersistentMap scores = new PersistentMap(testID, "turing-scores.map"); O score = scores.get(getTuringScore_eleuURL); if (score == null) continue; s += (long) get(score, "score"); n += (long) get(score, "n"); ++tests; } S result = s + " of " + n + " points (" + n(tests, "test"); int notRun = l(turingTests)-tests; if (notRun > 0) result += ", " + notRun + " not run yet"; ret result + ")"; }