fix(rectification): ask reverse-inference probes at engine dasha months
Independent Staging Quality Gate / validate (push) Failing after 8m39s
Independent Staging Quality Gate / publish (push) Has been skipped

Keep Vimshottari/Narayana start dates instead of truncating to year, so
same-year month splits can appear on the choice card.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-08-28 10:20:05 +08:00
parent 4767b34ff0
commit 68a78af9e1
14 changed files with 359 additions and 84 deletions
+3 -1
View File
@@ -202,6 +202,7 @@ def candidate_split_hash(
domain: str,
year: int,
groups: Sequence[Sequence[str]],
month: int | None = None,
) -> str:
version = candidate_set_version_value or candidate_set_version(groups)
grouped = "|".join(
@@ -209,7 +210,8 @@ def candidate_split_hash(
for group in groups
if group
)
payload = f"{version}:{domain}:{year}:{grouped}"
window = f"{year}-{int(month):02d}" if isinstance(month, int) and 1 <= month <= 12 else str(year)
payload = f"{version}:{domain}:{window}:{grouped}"
return hashlib.sha256(payload.encode("utf-8")).hexdigest()[:24]