svoid gazelle_fakery_processInput_multi(TreeMap sections, O... _) { new ErrorCounter errorCounter; for (fS key : startingWithIC(keys(sections), "test input")) errorCounter.run(key, r { LS inputLines = tlft(sections.get(key)); S expectedOutput = sections.get(replaceIC(key, "test input", "expected output")); print("\nPROCESSING: " + key + "\n"); new LS lines; for i over inputLines: { S input = inputLines.get(i); gazelle_gatherFulfillments(ll(nu GazelleLine(text := input)), fulfillments, debug := true); lines.addAll(printLinesWithIndent("OUT> ", collect line(dm_gazelle_reasonAboutChatInput_v2(null, input, paramsPlus(_, preContext := subList(inputLines, 0, i), requiredComment := null, debug := true))))); } assertEqualsVerbose(lines, tlft(expectedOutput)); }); errorCounter.print(); }