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

6
LINES

< > BotCompany Repo | #1021466 // ai_gazelle_predictor1_onData

JavaX fragment (include)

sS ai_gazelle_predictor1_onData(RuleEngine2_MatchedRule r, ai_gazelle_analyzeStatementsForRule_Data data, O... _) {
  bool debug = boolPar debug(_);
  S prediction = containsAny(keys(r.map), data.varsUsedInBadOnly) ? "bad" : "good";
  if (debug) print("predictor1: " + keys(r.map) + " => " + prediction);
  ret prediction;
}

Author comment

Began life as a copy of #1021456

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1021466
Snippet name: ai_gazelle_predictor1_onData
Eternal ID of this version: #1021466/3
Text MD5: 99836c79e0c86c3506788f2d4fbde101
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-05 16:51:17
Source code size: 329 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 216 / 265
Version history: 2 change(s)
Referenced in: [show references]