feat: introduce reasoning pattern selection
This commit is contained in:
@@ -126,6 +126,11 @@ describe("question simplicity", () => {
|
||||
expect(result.selectedQuestion.question).toBe(
|
||||
"Who experiences this problem?",
|
||||
);
|
||||
expect(result.selectedQuestion.reasoningPattern).toBe("decision");
|
||||
expect(result.selectedQuestion.questionFamily).toBe("decision_foundation");
|
||||
expect(result.selectedQuestion.selectedQuestionTemplate).toBe(
|
||||
"decision_foundation_direct_child",
|
||||
);
|
||||
expect(result.selectedQuestion.question.match(/\?/g) || []).toHaveLength(1);
|
||||
expect(result.questionComplexityAccepted).toBe(true);
|
||||
expect(result.primaryConceptCount).toBe(1);
|
||||
|
||||
Reference in New Issue
Block a user