public final class RunTools extends Object
file|engine|source and the
position-independent finding fingerprint so a reformat does not break the
alignment.| Modifier and Type | Class and Description |
|---|---|
static class |
RunTools.Diff
|
| Modifier and Type | Method and Description |
|---|---|
static int |
acceptanceSample(Map<String,Object> a,
Map<String,Object> b,
int n,
long seed,
File outDir)
Write
n anonymised A/B pairs from two runs that kept their
formatted text: NN-left.sql / NN-right.sql with random
side assignment, plus key.csv (which side is run B) for the
person tallying the votes. |
static String |
backlog(Map<String,Object> run,
String engineFilter)
Corpus-level improvement backlog as Markdown, aggregated by rule over fixable findings.
|
static List<String> |
checkBaseline(Map<String,Object> baseline,
Map<String,Object> current,
double maxDrop)
Baseline check: mean ratio must not drop by more than
maxDrop; no new gate failures. |
static RunTools.Diff |
diffRuns(Map<String,Object> a,
Map<String,Object> b) |
static Map<String,Object> |
loadRun(File f) |
public static Map<String,Object> loadRun(File f) throws IOException
IOExceptionpublic static List<String> checkBaseline(Map<String,Object> baseline, Map<String,Object> current, double maxDrop)
maxDrop; no new gate failures. Returns problems (empty = ok).public static String backlog(Map<String,Object> run, String engineFilter)
public static int acceptanceSample(Map<String,Object> a, Map<String,Object> b, int n, long seed, File outDir) throws IOException
n anonymised A/B pairs from two runs that kept their
formatted text: NN-left.sql / NN-right.sql with random
side assignment, plus key.csv (which side is run B) for the
person tallying the votes.IOException