Skip to content

Validation findings from #84: two manifest corrections and a missing builder environment spec #85

Closed

Description

@mmcky

Validation findings: two manifest corrections and a missing builder environment spec

Independent validation of the Track B migration (#84, Phase 1 comment there) re-derived every manifest claim from primary bytes and found three defects. None is reader-facing; all three are in records written or relied on during waves B1′/B2′.

1. Wrong quoted lower bound in the 1983 manifest

lectures/hansen_singleton_1983_data.csv.yml describes consumption_per_capita with the observed range "2.14e-4 to 2.66e-4". The actual minimum is 2.1254904619452377e-4, at 1960-12-31, which rounds to 2.13e-4 at 3 significant figures — and the second-smallest value (2.1348e-4) also rounds to 2.13e-4, so "2.14e-4" matches no observed value. The maximum (2.66e-4, at 1973-02-28) is correct. Fix: change the lower bound to 2.13e-4 (or quote the exact minimum).

2. The Ken French zip-header quotation is truncated

Both the 1983 manifest's provenance notes and the builder docstring quote the F-F_Research_Data_Factors_CSV.zip header for the T-bill leg's lineage. The actual header sentence, fetched fresh on 2026-08-13, reads: "The 1-month TBill rate data until 202405 are from Ibbotson Associates. Starting from 202406, the 1-month TBill rate is from ICE BofA US 1-Month Treasury Bill Index." The manifest quotes only the Ibbotson half while presenting it in quotation marks. Harmless for a sample ending 1978, but a partial quote presented as verbatim should either be completed or marked as elided.

Related, for the #35 licence review rather than this issue: the data library's pages carry an HTML developer comment — "All images and code are property of Ken French. Use in part or whole is illegal -- except by permission of Ken French or Dimensional Fund Advisors" — on both the main page and the factors details page. It scopes to the site's images and code, not the datasets, so it does not refute the manifests' "no licence, no redistribution terms for the data" claim (validation confirmed zero terms/licence links among all 761 distinct hrefs on the library page), but the manifests do not mention it and the licence review should weigh it.

3. No environment spec covers the builders

requirements.txt pins wbgapi, PyYAML, and scipy — but not pandas, which both hansen_singleton builders import (their docstrings say "standard library plus pandas"). No pyproject.toml, environment.yml, or lockfile exists anywhere in the repo, and CI never runs the builders. The manifests' integrity.upstream.status: verified was therefore measured against an unrecorded ambient environment (anaconda Python 3.13.9 / pandas 2.3.3 on the authoring machine).

Validation shows the gap is currently harmless — both builders reproduce their committed CSVs byte-identically in a fresh venv at 3.13.9/pandas 2.3.3 and also under Python 3.14.6/pandas 3.0.5, so the result is not env-sensitive even across the pandas 2→3 boundary — but the fix is one line: pin pandas in requirements.txt with a comment naming the builders, so verified claims are reproducible against a recorded environment rather than whatever python is ambient.

4 (cosmetic, bundled here). manifest-schema.yml lags established practice

Four fields are in wide use but absent from the schema exemplar: source.doi (16 of 33 manifests), source.version (10), source.note (20), license.note (16). The schema self-describes as a strawman; either add the four fields to it or note that extensions are permitted, so a field-by-field conformance check has a defined answer.

Found during the #84 Phase-1 validation; evidence and methods are in the validation comment there.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions