Input & Output then just Output

This commit is contained in:
n1073645 2019-12-03 09:19:28 +00:00
parent 40c7e63046
commit a35e3348d8

View file

@ -279,6 +279,11 @@ class Magic {
});
const prevOp = recipeConfig[recipeConfig.length - 1];
/**
*
* @param flag
* @param sensible
*/
async function regexesTests(flag, sensible) {
// Execute each of the matching operations, then recursively call the speculativeExecution()
@ -319,8 +324,8 @@ class Magic {
}
regexesTests(1, matchingOps);
regexesTests(0, this.opPatterns.getOutputRegexes());
//console.log("haha",this.opPatterns.getOutputRegexes());
// regexesTests(0, this.opPatterns.getOutputRegexes());
// console.log("haha", results);
if (intensive) {
// Run brute forcing of various types on the data and create a new branch for each option
@ -348,7 +353,7 @@ class Magic {
)
);
// console.log(prunedResults);
console.log("important", prunedResults);
// Return a sorted list of possible recipes along with their properties
return prunedResults.sort((a, b) => {