fix(rectification): keep choice stems visible and align overlay adopt with the engine
Walkthrough polish: fail-closed empty D9 prompts, stop asserting the next question is on screen, vary same-domain collect copy, switch to reverse-verify after adopt, and let coverage route interview without blocking can_adopt. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -574,10 +574,13 @@ test("userStopped completes with a review-only provisional range", () => {
|
||||
userStopped: true,
|
||||
candidateScores: ACTIVE.map((time) => ({ time, score: SCORES[time] ?? 0 })),
|
||||
});
|
||||
assert.equal(stopped.sessionOutcome, "provisional_range_user_stopped");
|
||||
// 原值是 true;用户停止只结束追问,不能绕过 coverage 和 holdout 门槛。
|
||||
assert.equal(stopped.canAdopt, false);
|
||||
assert.equal(stopped.sessionOutcome, "adopt_representative");
|
||||
// 原断言 sessionOutcome=provisional_range_user_stopped 且 canAdopt=false
|
||||
// → 新断言 adopt_representative 且 canAdopt=true。
|
||||
// 用户停止结束追问;coverage 不再挡代表性采用。确认门仍关。
|
||||
assert.equal(stopped.canAdopt, true);
|
||||
assert.equal(stopped.canOfferRange, true);
|
||||
assert.equal(stopped.canConfirmExactMinute, false);
|
||||
assert.equal(isNonConvergingRangeOffer(stopped), false);
|
||||
const dossier = liveDossier([CAREER_2024_04, CAREER_2023_ACTIVATION], { status: "paused" });
|
||||
const fromDossier = decideFromDossier(dossier, { birthDate: "1997-08-08" });
|
||||
|
||||
Reference in New Issue
Block a user