!7 concept Example { S sentence, subject; } p { loadConceptsFrom(#1008540); new ScoreBoard sb; testFunction(sb, f firstWord); sb.print(); } sclass ScoreBoard { double fullScore; new Map scores; void print() { printAsciiHeading("Score board"); pnl(sortByValueDesc(scores)); } } svoid testFunction(ScoreBoard sb, O f) { int fullScore = 0, score = 0; for (Example e) { S in = trim(e.sentence), out = trim(e.subject); if (empty(out)) continue; ++fullScore; S o = pcallF(f, in); if (eqic(trim(o), out)) ++score; } sb.fullScore = fullScore; sb.scores.put(f, score); }