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

9
LINES

< > BotCompany Repo | #1014322 // scoreGuesserIC_verbose - verbosely score a guess function for strings (ignore case); returns 0 to 1

JavaX fragment (include)

static double scoreGuesserIC_verbose(O guesser, SS examples) {
  ret scoreGuesserIC_verbose(str(guesser), guesser, examples);
}

static double scoreGuesserIC_verbose(S name, O guesser, SS examples) {
  double score = scoreGuesserIC_1(guesser, examples);
  print(formatPercent(score) + " (" + n(examples, "example") + "): " + name);
  ret score;
}

Author comment

Began life as a copy of #1011022

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: #1014322
Snippet name: scoreGuesserIC_verbose - verbosely score a guess function for strings (ignore case); returns 0 to 1
Eternal ID of this version: #1014322/2
Text MD5: caec473251f717f15da279ce7e7cf2e9
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-20 03:06:03
Source code size: 354 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 371 / 398
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)