Update the earnings calendar
Browse files- manifest.json +2 -2
- recipe/quality.py +7 -0
manifest.json
CHANGED
|
@@ -144,7 +144,7 @@
|
|
| 144 |
"event_date": "event_date",
|
| 145 |
"event_date_type": "date",
|
| 146 |
"frequency_seconds": null,
|
| 147 |
-
"generated_at": "2026-09-
|
| 148 |
"knowledge_date": "knowledge_date",
|
| 149 |
"knowledge_date_policy": {
|
| 150 |
"never_before_event_date": true,
|
|
@@ -170,7 +170,7 @@
|
|
| 170 |
"origin": "SEC EDGAR bulk submissions and filing headers; figures from ZipLime/company-fundamentals",
|
| 171 |
"package_version": "1.0.0",
|
| 172 |
"recipe": "recipe/",
|
| 173 |
-
"recipe_hash": "sha256:
|
| 174 |
"schedule": "10 9 * * 1",
|
| 175 |
"siblings": {
|
| 176 |
"calendar": "XNYS via exchange_calendars",
|
|
|
|
| 144 |
"event_date": "event_date",
|
| 145 |
"event_date_type": "date",
|
| 146 |
"frequency_seconds": null,
|
| 147 |
+
"generated_at": "2026-09-08T07:01:01.799920+00:00",
|
| 148 |
"knowledge_date": "knowledge_date",
|
| 149 |
"knowledge_date_policy": {
|
| 150 |
"never_before_event_date": true,
|
|
|
|
| 170 |
"origin": "SEC EDGAR bulk submissions and filing headers; figures from ZipLime/company-fundamentals",
|
| 171 |
"package_version": "1.0.0",
|
| 172 |
"recipe": "recipe/",
|
| 173 |
+
"recipe_hash": "sha256:a9c76329ea70004a8b3f0b4c57a9e5d7d1a4f6f220aaaa0fcb300ba5b735a566",
|
| 174 |
"schedule": "10 9 * * 1",
|
| 175 |
"siblings": {
|
| 176 |
"calendar": "XNYS via exchange_calendars",
|
recipe/quality.py
CHANGED
|
@@ -191,6 +191,13 @@ def validate(data_dir: Path) -> QualityReport:
|
|
| 191 |
report.error(
|
| 192 |
f"{surviving} rows keep an EPS implying fewer than {MIN_IMPLIED_SHARES:,} shares"
|
| 193 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 194 |
report.metric(
|
| 195 |
"eps_quality",
|
| 196 |
{
|
|
|
|
| 191 |
report.error(
|
| 192 |
f"{surviving} rows keep an EPS implying fewer than {MIN_IMPLIED_SHARES:,} shares"
|
| 193 |
)
|
| 194 |
+
# The implied-share check cannot reach a row whose net income is
|
| 195 |
+
# missing, and a handful of survivors are visible here rather than
|
| 196 |
+
# silently: the upstream concept map is where they get fixed.
|
| 197 |
+
report.metric(
|
| 198 |
+
"eps_yoy_beyond_1000x",
|
| 199 |
+
earnings.filter(pl.col("eps_yoy_change").abs() > 1000).height,
|
| 200 |
+
)
|
| 201 |
report.metric(
|
| 202 |
"eps_quality",
|
| 203 |
{
|