// recompile + reload #1002408 (Turing Bot) after changing this static L<S> 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<S, O> 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 + ")"; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002407 |
Snippet name: | OLD getTuringScore - retrieve Eleu's current "Turing score" |
Eternal ID of this version: | #1002407/1 |
Text MD5: | feb015588a92f5bb313a12534c26083e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-01-24 01:36:42 |
Source code size: | 784 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 720 / 916 |
Referenced in: | [show references] |