Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

17
LINES

< > BotCompany Repo | #1012393 // Parse AI Test Questions

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (7206L/49K).

!7

p {
  autoRestart(5);
  S data = loadSnippetWithAutoRestart(#1012390);
  new Scorer scorer;
  for (Pair<S> p : listToPairs(tlft_j(data))) {
    print(p.a);
    L<S> options = splitAtJavaToken(p.b, "|");
    L<T3<S>> expected = map ai_parseTriple(options);
    T3<S> have = ai_tripelize(p.a);
    print("  " + ai_renderTriple(have));
    //assertTripleEqicVerbose_multi(scorer, expected, have);
  }
  //scorer.print();
  //setConsoleTitle(str(scorer) + " - Parse AI Test Questions");
}

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: #1012393
Snippet name: Parse AI Test Questions
Eternal ID of this version: #1012393/1
Text MD5: 0929f70ba6c45e4da00cfbbae4bd692b
Transpilation MD5: ab7d436f897a58e4cb3f5488ff4b9c75
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-30 01:14:50
Source code size: 504 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 501 / 9548
Referenced in: #1012407 - Process Logic Test Cases
#3000512 - Smart Bot's answer to: !eval centralRestartLog_raw()