Documentation Map#
Use this page as the inspection order for the current callable-first
macroforecast documentation.
Quick Routing#
Question |
Open this page |
What to verify there |
|---|---|---|
What is the current package shape? |
Module ownership, runner loop, and stage policies. |
|
How do I set package-wide defaults? |
Seed, worker count, error handling, default runner stage scopes, and metadata level. |
|
Did we preserve old statistical functionality? |
Covered callables, intentional removals, and remaining future work. |
|
Which imports are public? |
Top-level exports and module namespaces. |
|
How do I load and shape data? |
Panel contract, metadata, custom loaders, FRED loaders, frequency policies. |
|
Which FRED-family dataset should I use? |
FRED-MD, FRED-QD, FRED-SD, combined loaders, and frequency conversion warnings. |
|
How do I clean a panel? |
Transform codes, outliers, imputation, standardization, frame rules. |
|
How do I smooth or filter one noisy macro series? |
HP, Hamilton, Savitzky-Golay, wavelet-style components, and AlbaMA. |
|
How do I inspect learned feature weights? |
Effective windows and recent weight shares from adaptive feature weight matrices. |
|
How do I create targets and predictors? |
Target construction, lags, rolling features, factors, selection, runner-safe specs. |
|
How do I define time windows? |
Train/validation/test windows, expanding/rolling/fixed policies, stage policies. |
|
Which models are available? |
Model groups, parameter defaults, optional dependencies, model-owned search spaces. |
|
How do I fit several member models as one model? |
Bagging, subagging, random subspace, stacking, Super Learner, and Booging. |
|
How does the runner combine everything? |
Runner inputs, direct/recursive/path-average forecasts, forecast-output combinations. |
|
How do I score and test forecasts? |
Evaluation reports, metrics/tests split, benchmark/regime/decomposition tables. |
|
How do I inspect model behavior? |
Importance, SHAP, attribution, OLS-as-attention, VAR interpretation, neural attribution. |
|
Which historical observations drove a forecast? |
Observation weights, observation contributions, concentration, short position, leverage, turnover, and historical episode groups. |
|
How do I save outputs? |
Output bundles, artifact writing, manifests, hashes, compression. |
|
How do I format paper/report tables? |
Accuracy/model-comparison/test presets, table formatting, LaTeX/HTML/Markdown rendering, figure-ready data. |
|
How do I plug in my own loader, transform, model, test, diagnostic, or artifact? |
Stage-local custom callable hooks and input/output contracts. |
|
How do I know the formulas are not drifting? |
Reference anchors and expansion policy. |
Recommended Review Sequence#
Use this sequence when auditing the whole docs site.
Reference Page Format#
Reference pages should use the same contract-first structure when a page documents callable functions. Exact sections can vary by module, but each public callable should make these items easy to find:
Section |
Required content |
|---|---|
|
What the module owns and what it explicitly does not own. |
|
Function list grouped by role, with one-line outputs and purpose. |
|
Minimal executable call sequence when the module has a normal workflow. |
Function |
Fully qualified callable name, arguments, defaults, and return type. |
Function |
Parameter name, type, default, allowed values, and meaning. |
Function |
Defaults that matter for reproducibility, especially hidden constants or metadata behavior. |
Function |
Return object, fields, table columns, and serialization helpers. |
|
Stage key and stored provenance when the function writes metadata. |
|
Error conditions and boundary cases where they are non-obvious. |
Use display labels for user-facing choices when possible, and put stored enum
values in code formatting. Avoid bare lists such as "raise" | "continue"
without explaining the meaning of each choice.
Module Boundaries#
Boundary |
Rule |
|---|---|
|
|
|
|
|
|
|
|
feature generation vs feature analysis |
|
|
Feature functions build matrices; |
|
Models own fit functions and search spaces; |
|
|
|
|
|
|
built-in stages vs custom extensions |
Custom callables stay inside the owning stage and must return the same object shape that the next stage expects. |
callable API vs future recipes |
Current docs describe direct Python callables. YAML/recipe wrappers are intentionally deferred. |
Current Review Focus#
Page |
Why it matters now |
|---|---|
Confirms that intentional removals are not mistaken for missing work. |
|
Tracks the verification suite that should grow as paper-code checks are added. |
|
These were recently split; check whether their responsibility boundary is clear. |
|
Confirms that custom hooks enter the normal callable flow instead of creating a parallel registry. |
|
Contains |