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

20
LINES

< > BotCompany Repo | #1004572 // Text Predict Test Case 1

JavaX source code - run with: x30.jar

!752

static S input = [[
  ABC = X
  DEF = X
  
  learn 1
  solve 1
  100%
]];

p {
  monospacedTextPredictTestCase(input);
}

mtptc(S s) {
  equations(s) -> makeTest -> L<Test> tests;
  matchLine("learn <int>") -> int pivot;
  The usual. (Start producing, then try to bring length down.)
}

Author comment

Began life as a copy of #1004571

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: #1004572
Snippet name: Text Predict Test Case 1
Eternal ID of this version: #1004572/1
Text MD5: 6e2cba282b2b0e37b3fa1f7adb0c1d14
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-22 01:12:19
Source code size: 310 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 450 / 408
Referenced in: [show references]