Skip to content

Add Iranian public holiday and Zoroastrian calendar references - #28

Merged
adulau merged 1 commit into
mainfrom
codex/add-iranian-calendar-references
Oct 20, 2026
Merged

adulau merged 1 commit into
mainfrom
codex/add-iranian-calendar-references

Conversation

@adulau

@adulau adulau commented Oct 20, 2026

Copy link
Copy Markdown
Member

Yearly activity inference currently has no Iranian calendar candidates. This adds a combined Iran public-holiday reference, separate Solar Hijri and Shia references, and Bastani, Fasli, Qadimi, and Shahanshahi Zoroastrian references to both holiday profiles.

Solar Hijri dates follow the Jalali model, while the traditional Zoroastrian calendars retain their 365-day drift. Lunar dates are explicitly marked as estimates, and the documentation distinguishes religious observances from nationwide closures. One-off government closures and historical regimes are outside these recurring reference sets.

Validation:

  • All 57 tests pass, including new leap-year, Gregorian boundary, repeated lunar observance, Zoroastrian variant, and yearly inference checks.
  • Weekly and yearly sample CLI commands return rankings.
  • Source and wheel builds succeed; a clean wheel installation exposes all seven Iranian profiles through the yearly CLI.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T05:59:20.673667Z b55f252 PR opened
🔒 Security Review ✅ Completed 2026-10-20T05:58:41.708010Z b55f252 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@adulau
adulau merged commit 908a349 into main Oct 20, 2026
8 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b55f2528b1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tempolocus/core.py
festivals = [
(0, "Nowruz"),
(5, "Khordad Sal / Birth of Zoroaster"),
(102, "Tirgan"),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Deduplicate coincident observances before scoring

When yearly inference evaluates these new Zoroastrian calendars, Tirgan at offset 102 always coincides with day 3 of the Maidyoshahem Gahambar window, yet _merge_holidays preserves both because their names differ. infer_yearly then includes the same day's percentile twice in holiday_percentiles while calculating enrichment from a deduplicated holiday_days set, so that date gets disproportionate weight and holiday_dates_seen is overstated. The combined IR calendar has similar Solar/Shia collisions; score unique dates while retaining all names as evidence.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant