Upload web/test_corpus.js with huggingface_hub
Browse files- web/test_corpus.js +4 -0
web/test_corpus.js
CHANGED
|
@@ -222,6 +222,10 @@ function differentialGate(K) {
|
|
| 222 |
return null;
|
| 223 |
}
|
| 224 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 225 |
// ---- run --------------------------------------------------------------------
|
| 226 |
console.log("\nBugs from dipankarsarkar/gpuemu-corpus, re-injected into my kernel.");
|
| 227 |
console.log("Scoring the ORACLES, not the kernel.\n");
|
|
|
|
| 222 |
return null;
|
| 223 |
}
|
| 224 |
|
| 225 |
+
// the oracles are reusable: test_selfcorpus.js scores them against MY OWN bugs
|
| 226 |
+
module.exports = { propertySuite, differentialGate, quantize, call, kernel };
|
| 227 |
+
if (require.main !== module) return;
|
| 228 |
+
|
| 229 |
// ---- run --------------------------------------------------------------------
|
| 230 |
console.log("\nBugs from dipankarsarkar/gpuemu-corpus, re-injected into my kernel.");
|
| 231 |
console.log("Scoring the ORACLES, not the kernel.\n");
|