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

1  
!752
2  
3  
static S input = [[
4  
  ABC = X
5  
  DEF = X
6  
  
7  
  learn 1
8  
  solve 1
9  
  100%
10  
]];
11  
12  
p {
13  
  monospacedTextPredictTestCase(input);
14  
}
15  
16  
mtptc(S s) {
17  
  equations(s) -> makeTest -> L<Test> tests;
18  
  matchLine("learn <int>") -> int pivot;
19  
  The usual. (Start producing, then try to bring length down.)
20  
}

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: 455 / 414
Referenced in: [show references]