!7 sS data = [[ -- rule 1 who is x y [input] + x y is a trader [statement] => a trader -- test input john doe is a guy who is john doe? -- expected output a guy ]]; p-exp { TreeMap sections = minusSignSectionsCI(data); gazelle_fakery_gatherRulesFromSections(sections); dm_gazelle_wireStatementConditions(); pnlStruct(rules); new LS lines; for (S input : tlft(sections.get("test input"))) { gazelle_gatherFulfillments(ll(nu GazelleLine(text := input)), fulfillments, debug := true); lines.addAll(printLines(collect line(dm_gazelle_reasonAboutChatInput(null, input, requiredComment := null, debug := true)))); } assertEqualsVerbose(lines, tlft(sections.get("expected output"))); }