fix(rectification): equal-weight collect, year-cue questions, classifier no/unsure (BUG-641–643)
Ask finance and health like other domains, put year-cued collect questions first, and let the classifier distinguish decline vs skip. Skill 10.0.22. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -491,7 +491,33 @@ class EventProbesTest(unittest.TestCase):
|
||||
self.assertFalse(any(item["domain"] == "relationship" for item in probes))
|
||||
self.assertFalse(any(item["domain"] == "finance" for item in probes))
|
||||
|
||||
def test_finance_layer_stays_volunteer_only(self) -> None:
|
||||
def test_finance_and_health_collection_probes_when_ledger_has_education_and_relationship(self) -> None:
|
||||
request = {
|
||||
"birth_date": "1997-08-08",
|
||||
"events": [
|
||||
{
|
||||
"id": "00000000-0000-4000-8000-000000000001",
|
||||
"domain": "education",
|
||||
"summary": "2015年升学",
|
||||
"date": "2015-06-01",
|
||||
"precision": "year",
|
||||
},
|
||||
{
|
||||
"id": "00000000-0000-4000-8000-000000000002",
|
||||
"domain": "relationship",
|
||||
"summary": "2019年交往",
|
||||
"date": "2019-05-01",
|
||||
"precision": "year",
|
||||
},
|
||||
],
|
||||
}
|
||||
collection = evidence_collection_probes(request, today=date(2026, 8, 22))
|
||||
domains = {item["domain"] for item in collection}
|
||||
self.assertIn("finance", domains)
|
||||
self.assertIn("health_pressure", domains)
|
||||
self.assertTrue(all(item["source"] == "age_band" for item in collection))
|
||||
|
||||
def test_finance_layer_can_enter_discriminators_when_d2_differs(self) -> None:
|
||||
built = {
|
||||
"static_contexts": [
|
||||
_context("05:13", d4_asc=1, sun_house=10, sun_varga_sign=9),
|
||||
|
||||
Reference in New Issue
Block a user