fix(rectification): resolve typed focus answers deterministically
This commit is contained in:
@@ -134,7 +134,18 @@ test("hidden case walks collection through holdout to a range or representative
|
||||
const before = posteriorMap(collected.candidates);
|
||||
const answered = applyChoiceWithoutEvidence(collected, {
|
||||
choiceKey: "A",
|
||||
schema: { probe_id: first.id, semantic_key: first.semantic_key },
|
||||
schema: {
|
||||
probe_id: first.id,
|
||||
semantic_key: first.semantic_key,
|
||||
choice: {
|
||||
options: [
|
||||
{ key: "A", answer_class: "yes" },
|
||||
{ key: "B", answer_class: "weak_yes" },
|
||||
{ key: "C", answer_class: "no" },
|
||||
{ key: "D", answer_class: "unsure" },
|
||||
],
|
||||
},
|
||||
},
|
||||
});
|
||||
assert.equal(answered.applied, true);
|
||||
assert.notDeepEqual(posteriorMap(answered.state.candidates), before);
|
||||
|
||||
Reference in New Issue
Block a user