fix(rectification): ask reverse-inference probes at engine dasha months
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:
@@ -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]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user