Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Granular control options for included holidays

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start by reading mozaic/holidays.py around line 37 and inspect how included holidays and any extra-holiday support are currently represented. Determine the intended interface for adding holidays and excluding them globally or for a specific year; done means counterfactual analyses can apply those controls without breaking existing forecasting behavior.

Written by the indexing model from the issue text.

Description

This is much more of a stretch feature, but there were two different aspects that came up in recent analyses for trying to investigate model anomalies.

  1. The ability to add in extra holidays for an analysis -- which I believe has started implementation but might not be properly functional yet
  2. The ability to exclude certain holidays -- either in general or in a specific year -- to run counterfactual analyses

(2) in particular is less important if other model performance and quantification features are more easily available, but it may still be useful in some cases where certain holidays have unexpected strange patterns associated in given years.

This approach could potentially also allow custom flagging of known historical anomalies that might distort forecasting, but the approach there might instead be to encourage additional contributions to the actual implementation of known anomalies as holidays here: https://github.com/mozilla/mozaic-forecasting/blob/2becad6a9b372c8f0d732f91ee92f6b8d7b06fed/mozaic/holidays.py#L37

Dominant language
Python
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/mozaic-forecasting

All issues in mozilla/mozaic-forecasting

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.