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

6
LINES

< > BotCompany Repo | #1021472 // ai_gazelle_predictor2_onData

JavaX fragment (include)

sS ai_gazelle_predictor2_onData(RuleEngine2_MatchedRule r, ai_gazelle_analyzeStatementsForRule_Data data) {
  bool good = containsMap_ciValues(data.completeGoodMappings, r.map);
  bool bad = containsMap_ciValues(data.completeBadMappings, r.map);
  try answer ai_goodOrBad(good, bad);
  ret containsAny(keys(r.map), data.varsUsedInBadOnly) ? "bad" : "good";
}

Author comment

Began life as a copy of #1021466

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021472
Snippet name: ai_gazelle_predictor2_onData
Eternal ID of this version: #1021472/1
Text MD5: 55756e8e0148f920aa06b793e66e7b96
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-14 13:47:54
Source code size: 363 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 294 / 320
Referenced in: [show references]