Skip to content

QEP-3 follow-up: register a data-{scope} type for canonical data repositories (data-lectures) #41

Open

Description

@mmcky

Raised while closing out the lecture datasets migration (QuantEcon/meta#336). The organization has a live, public repository whose type prefix QEP-3 does not register: QuantEcon/data-lectures. This issue proposes adding a data-{scope} type to the registry, as an in-place amendment of QEP-3 per QEP-1. It would be QEP-3's first substantive amendment (version: 1), unless #25 lands first.

Today

Repo Holds Status
data-lectures the canonical home for data consumed by the lecture series: 44 datasets (28 constructed, 12 verbatim, 4 dynamic snapshots), each with a provenance manifest, plus the builders that produce or refresh them; served by stable URL from lectures/<file>, and on GitHub Pages public and live. Created in 2025 as QuantEcon/data, renamed on 2026-07-16 (QuantEcon/meta#336). Its manifests list 15 consuming repositories: the lecture series, their translations, a CI canary, a course repository and a sandpit
high_dim_data data sets for the high-dimensional lectures archived; folded into data-lectures in August 2026. An earlier member of the same class, under a pre-QEP name

data-lectures predates QEP-3's acceptance (2026-09-02), but it is actively maintained and its name is load-bearing. Every consumer's data URL embeds it (github.com/QuantEcon/data-lectures/raw/main/lectures/<file>, raw.githubusercontent.com/QuantEcon/data-lectures/main/lectures/<file>), and so will the base URL of the planned qeld consumer package.

No registered type fits it. benchmark-{topic} is a dataset plus an evaluation harness, and status-{domain} holds numbers a collector measures about the organization's own work; neither describes a repository that serves third-party and constructed data to content.

The team manual already assumes the type. The draft style-guide page QuantEcon/QuantEcon.manual#108 adds a data-{scope} row to the manual's repository table, but that table now aligns with QEP-3 as the naming authority, so the row needs to land here first. The manual side is tracked in QuantEcon/QuantEcon.manual#153.

Proposal under discussion

One type, in Content beside lecture-* and book-*, because it is published, maintained indefinitely, and read directly by readers' notebooks and Colab sessions, not only by builds:

Prefix Meaning Visibility Lifecycle
data-{scope} canonical home for the data consumed by one scope of QuantEcon content, served to it by stable URL: the files, a provenance manifest per dataset, and the builders that produce or refresh them public living — lasts as long as its consumers; published filenames are an interface (corrections in place, new vintages under new names)

{scope} names the consuming content as a plural whole-domain token, per rule 5's reversal test: data-lectures reads "lectures data".

Boundary sentences:

  • Data consumed by a scope's content lives in its data-* repository; data owned by a single book, project or package stays in that repository. This is the routing rule data-lectures already publishes, and it is what keeps the family small.
  • A benchmark-* repository holds data to evaluate a tool against, versioned with its harness; a data-* repository serves data to content.

What the change buys and costs

Buys: data-lectures becomes compliant as it stands, with no rename. The style guide can point lecture authors at a registered type rather than a one-off repository (QuantEcon/QuantEcon.manual#153). A second scope, if one ever appears, has a home that needs no new decision.

Costs: a registry row for a family with one live member. QEP-3's alternatives record rejected reports-* on that ground, but the cases differ: the reports-* incumbents had better-fitting types to rename into, while data-lectures has none, and its name is already an interface that a rename would disturb.

Open questions

  1. Content or Supporting? Content is proposed above. Supporting, beside benchmark-*, is the alternative if "content" should stay reserved for material the organization writes.
  2. A type or a singleton? Reserving data-lectures as a §4 singleton avoids a one-member family, but leaves a dash-prefixed, type-shaped name outside the grammar.
  3. The status-* boundary. data-lectures also publishes a machine-collected audit dashboard: a weekly scan of which lecture reads which dataset, whose strict mode fails the build on drift. The boundary rule says numbers a machine collects on a cadence graduate to a status-* repository. Is a data repository's audit of its own consumers an exception, like CI, or should it move?

Activity

  1. added
    qep
    discuss
    on Sep 29, 2026
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

    discussqep

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions