-
Notifications
You must be signed in to change notification settings - Fork 0
Add freshness and data quality gates #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| { | ||
| "artifact": "data/output/latest_signal.json", | ||
| "artifact_sha256": "39368aa3eae5da168665fde58edbe17bbef1c70fa4070b58051c928aaefc0b1a", | ||
| "as_of": "2026-05-31", | ||
| "generated_at": "2026-05-31T10:52:51Z", | ||
| "history_artifact": "data/output/signal_history/2026-05-31.json", | ||
| "artifact_sha256": "5fb8891cb793663636b65a70c4bb96c889533ded2a94cef2f7ae6e0c6fa482eb", | ||
| "as_of": "2026-06-25", | ||
| "generated_at": "2026-06-27T08:22:28.245044Z", | ||
| "history_artifact": "data/output/signal_history/2026-06-25.json", | ||
|
Comment on lines
+4
to
+6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This manifest now points at the Useful? React with 👍 / 👎. |
||
| "mode": "shadow", | ||
| "policy": { | ||
| "downstream_use": "Manifest only records provenance for a shadow research artifact; it does not authorize execution.", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
workflow_dispatchsupplies a historicalas_ofmore than 84 days before the run date, the builder stampsexpires_atfrom that cutoff, but this validation call provides neither--reference-datenor--allow-expired;scripts/validate_theme_momentum_snapshot.pytherefore defaults freshness to today's UTC date and fails before upload/commit. For replaying a saved cutoff such as2026-01-02on2026-07-13, pass the requested cutoff as the reference date or allow expired snapshots for historical dispatches.Useful? React with 👍 / 👎.