Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

QEP Purpose and Process

QEP-1: QEP Purpose and Process

QEP1
TitleQEP Purpose and Process
Authormmcky
StatusAccepted
TypeProcess
Created2026-06-16
DiscussionQuantEcon/meta#325

Summary

A QuantEcon Enhancement Proposal (QEP) is a short, durable document that records a decision affecting more than one QuantEcon repository, or that changes how the team works. This QEP defines what a QEP is, when one is needed, where QEPs live, and how a proposal moves from draft to decision. It is deliberately lightweight: the aim is a ten-minute read, a clear deadline, and a clean close — not governance for its own sake. As the first proposal, this document is also a worked example of the template it describes.

Motivation

Decisions that touch every repository, or change how the whole team works — label standardisation, style-guide rules, tooling standards, editorial conventions, licensing — currently happen in ad-hoc issues and email threads scattered across repos. Once closed, they are hard to find again, and there is no consistent bar for what counts as “decided”.

A lightweight enhancement-proposal process gives us:

This mirrors the role PEPs play for Python and MEPs for MyST, but is scoped more broadly: QEPs cover governance and editorial decisions as well as software, and the process is kept far lighter than PEPs (no sponsors, delegates, or editor role).

Proposal

When a QEP is needed

Open a QEP when a decision crosses repositories or changes how the whole team works. Typical examples: a standard label set, a shared style or editorial rule, a cross-repo tooling or CI convention, a licensing choice, or a change to a team-wide workflow.

When a QEP is not needed

Everyday work never needs a QEP: bugs, features, and lecture content in a single repo, or anything scoped to one repository’s own lifecycle. If you are unsure whether something needs a QEP, it does not. The default for normal work is unchanged.

Where QEPs live

QEPs live in the QuantEcon/qeps repository, one Markdown file per proposal under qeps/, named qep-XXXX-short-slug.md with a zero-padded four-digit number. The repository renders to a browsable index via GitHub Pages. Discussion of an individual proposal happens on its PR (and optionally a preceding discussion issue in this repo), keeping proposal traffic out of the general issue trackers.

Lifecycle and statuses

A QEP carries one status:

StatusMeaning
DraftUnder discussion on an open PR.
AcceptedAgreed; the decision is now in effect.
RejectedConsidered and declined (the record is kept, with one reason).
WithdrawnPulled by the author before a decision.
SupersededReplaced by a later QEP (link it).

Accepted, Rejected, and Withdrawn QEPs are all merged, so the record is durable; only abandoned or spam drafts are closed without merging. There is no separate Final state — Accepted is final.

How a QEP is decided

  1. (Optional) Float the idea. Open a QEP discussion issue to socialise it and confirm it warrants a QEP.

  2. Draft. Open a PR adding qeps/qep-XXXX-slug.md from the template (with Status: Draft and a discussion link) and a matching row in the README index.

  3. Set a deadline. The author announces the PR and sets a comment window — normally one to two weeks — recording the decision deadline in the PR description.

  4. Decide. At the deadline, the Core Maintainers decide by lazy consensus: objections are raised as PR comments, and no sustained objection means the QEP is Accepted. If there is no consensus, the lead (jstac) decides or defers.

  5. Record. On acceptance, set Status: Accepted — in the frontmatter, the header table, and the README index row — confirm the number, and merge.

Numbering

Numbers are assigned sequentially. An author may propose the next free number when opening the PR; it is confirmed (and adjusted if two proposals collide) at merge. Numbers are written unpadded in text (QEP-1, QEP-2, …); only the filename zero-pads them to four digits (qep-0001-…). This QEP is QEP-1.

Roles

No sponsor, delegate, or editor role is introduced; the process is intended to stay as light as the decisions it records.

Format

Each QEP is a Markdown file with YAML frontmatter (qep, title, author, status, type, created, discussion) followed by the sections in qeps/template.md: Summary, Motivation, Proposal, Alternatives considered, Rollout. The type field is one of:

Alternatives considered

Rollout

  1. Merge this QEP (QEP-1) to establish the process.

  2. Re-record the label-set decision (QuantEcon/meta#324) as a worked Standard-type QEP.

  3. Add a short “How we make cross-repo decisions” entry to the team manual pointing at QuantEcon/qeps, and have Core Maintainers watch the repository so proposal deadlines are seen.