fix(rectification): separate adjacent minutes with transition proximity
Day-level events now score Vimshottari/Narayana transition closeness so nearby candidate minutes can diverge, with gated quality probes and answer-prior ranking so high-base-rate existence questions stay out. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -450,7 +450,10 @@ class EventProbesTest(unittest.TestCase):
|
||||
}],
|
||||
)
|
||||
probes = _probes(request, built, ["05:13", "05:40"], "05:13", precision_current="d5_refine")
|
||||
existence = [item for item in probes if item["domain"] == "education"]
|
||||
existence = [
|
||||
item for item in probes
|
||||
if item["domain"] == "education" and item.get("choice_kind") != "event_quality"
|
||||
]
|
||||
self.assertFalse(any(item["year"] in {2015, 2016, 2017} for item in existence))
|
||||
|
||||
def test_signature_clusters_use_full_birth_window(self) -> None:
|
||||
@@ -674,7 +677,7 @@ class EventProbesTest(unittest.TestCase):
|
||||
self.assertGreaterEqual(int(probe["year"]), 1900)
|
||||
self.assertNotEqual(int(probe["year"]), 0)
|
||||
self.assertEqual(distinguish_contract_errors(probe), [])
|
||||
self.assertIn(probe["source"], {"dasha_boundary", "dasha_activation"})
|
||||
self.assertIn(probe["source"], {"dasha_boundary", "dasha_activation", "known_event_quality"})
|
||||
self.assertGreaterEqual(len(probe["style_options"]), 4)
|
||||
self.assertGreaterEqual(len(probe["candidate_ids"]), 2)
|
||||
self.assertGreaterEqual(len(probe["expected_outcomes"]), 2)
|
||||
|
||||
Reference in New Issue
Block a user