1 | sS ai_gazelle_predictor1_onData(RuleEngine2_MatchedRule r, ai_gazelle_analyzeStatementsForRule_Data data, O... _) {
|
2 | bool debug = boolPar debug(_); |
3 | S prediction = containsAny(keys(r.map), data.varsUsedInBadOnly) ? "bad" : "good"; |
4 | if (debug) print("predictor1: " + keys(r.map) + " => " + prediction);
|
5 | ret prediction; |
6 | } |
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: | 499 / 561 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |