Knowledge Discovery
Capstone projects

Universal Project Scaffolding

Ten components every capstone project must include — study-first, engineering is a floor.


How to read this doc

This course grades projects on what they discovered, not what they built, unless otherwise agreed. The build is instrumental — "just enough to prove or study what's needed." A polished system with no defensible findings fails. A minimal system that produces a clean, honest empirical claim succeeds.

The scaffolding is organized in three parts:

Each component below has the same structure:

Grading lives in deliverables.md §4, not here. This document defines what each component is; the rubric defines how it scores.


PART A — Study design (the core)

1. Research Questions and Versioned Study Plan

What it is. The evolving record of what you are trying to learn: the questions the project is asking, written down early, and updated as the project teaches you what the right questions actually are. A living document, not a locked-in contract.

Why it matters. Real study questions evolve. Initial framings turn out to be too broad, or ask the wrong thing, or depend on an assumption that doesn't hold once you see the data. This is normal and healthy — a project that discovers it was asking the wrong question and reframes it has learned something. What is not healthy is reframing silently, so the reader of the report cannot tell what was planned vs. what emerged. The discipline is to keep questions and their changes explicit, dated, and versioned, so the reader can always reconstruct the trajectory.

This replaces the heavier "pre-registration" norm used in purely confirmatory science. We want students to think hard about the question upfront, commit to an initial version, and then evolve it honestly — documenting each change with a short rationale.

Minimum acceptable:

Nice to have:

Common failure mode. The study plan exists only as the final report's introduction, reverse-engineered after the results came in. No git history of the question. Reader cannot tell what was planned vs. what emerged from looking at the data. The opposite failure is also real: a team freezes v0 and refuses to update it even when evidence suggests a reframe — clinging to a dead question to "stay honest." The honest move is to update the plan and document the change.


What it is. A focused, living survey of how others have studied the same phenomenon — committed early, then evolved as the team's understanding of the field deepens. Like the study plan, this is a dated, versioned document, not a one-shot writeup at the end.

Why it matters. KM is a mature field — clustering, extraction, evaluation-without-ground-truth, survey methodology, graph construction, synthetic data fidelity all have decades of literature. A project that ignores this either reinvents known results or repeats known mistakes. The related-work section is what makes your methodology informed rather than improvised. Doing it early forces the design choices to be informed by the literature; doing it iteratively lets the survey sharpen as the team discovers which threads actually matter.

Minimum acceptable:

Nice to have:

Common failure mode. Related work written in the last week of the project, citing whatever vaguely matches — used to justify choices already made, not to inform them. The opposite failure: a v0 bibliography frozen at Sprint 1 that never evolves, even after the project's methodological neighbors have clearly shifted.


3. Study Design

What it is. The blueprint of the investigation: conditions, factors, controls, sample size, what's measured, what's held constant, how conclusions will be drawn.

Why it matters. The study design is where most of a KM project's intellectual work lives. A sloppy design cannot be rescued by clean code or nice plots. Committing to the design before running lets the analysis be confirmatory and the results trustworthy.

Minimum acceptable:

Nice to have:

Common failure mode. "We ran some conditions and compared them." No pre-specified factor structure, no baseline, no written reasoning for why this comparison answers the question.


4. Quality / Measurement Operationalization

What it is. The precise definition of "better" and the procedure for measuring it. Before you can say X improves Y, you need a rigorous specification of Y.

Why it matters. Quality in KM systems is multi-dimensional and task-dependent. Treating it as a single scalar ("accuracy") is the most common experimental-design error in the field. Operationalizing the construct before data collection is what separates a study from a demo. If it's defined after looking at results, the study is circular.

Dimensions of quality to consider (pick what's relevant, not all):

Measurement strategies:

Minimum acceptable:

Nice to have:

Common failure mode. "We measured accuracy." Accuracy of what? How graded? By whom? On which split? With what CI? Also: redefining the metric after seeing results — garden-of-forking-paths dressed up as primary analysis.


5. Data: Provenance, Ethics, Exploration

What it is. Where the data comes from, what its properties are, and under what terms you are allowed to use it.

Why it matters. KM is the science of extracting understanding from data. Skipping the provenance / ethics / exploration step means you are studying something you don't understand, possibly shouldn't be using, in ways the reader cannot replicate.

Minimum acceptable:

Nice to have:

Common failure mode. "We used dataset X" with no exploration and no awareness of its known biases. Conclusions turn out to rehearse the artifacts of the data.


PART B — Just-enough engineering (the floor)

Every item in this part is a floor, not a goal. Investment above minimum acceptable is discouraged unless the study concretely requires it. A team that writes a second LLM harness while the related-work section is half a page is failing the course.

6. Minimum Viable Build

What it is. The smallest executable artifact that lets the study run, end-to-end, reproducibly.

Why it matters. The build is a means. Every feature that doesn't serve the study is a distraction from the study. Scope discipline is itself graded.

Minimum acceptable:

Nice to have (only if the study requires it):

Common failure mode. Building a "proper system" with auth, caching, multi-user support — while the experiment itself runs on N=12 and has no study-plan history. Engineering performed in place of science.


7. Prompts, Configs, and Instruments as Versioned Artifacts

What it is. Every prompt, every config, every rating rubric, every survey instrument lives as a named file under version control — not embedded in code, not pasted into chat histories.

Why it matters. Prompts and configs are the single biggest source of experimental variance. If they're embedded strings you can't diff them, review them, or report exactly what you ran. Survey wording shifts results — version it like code.

Minimum acceptable:

Nice to have:

Common failure mode. Prompts embedded as triple-quoted strings inside long functions. Survey wording edited in-place. The reader of the report cannot tell exactly what the subject saw.


8. Logging, Reproducibility, and Resilience

What it is. Every run leaves a structured, replayable trace. Failures fail loudly rather than silently truncate the data.

Why it matters. No logged run = no claim. This is the audit trail for your science. Silent failures are worse than loud ones: a study that "ran on N=200" but actually completed 137 runs (because the API rate-limited you and the loop kept going) has confidence intervals that are wrong.

Minimum acceptable:

Nice to have:

Common failure mode. try: except: pass around the LLM / API call. Experiment "succeeds" with silently-missing data. CIs report what the surviving data says, not what you intended to measure. Also: print()-based logs scattered across notebooks — impossible to replay.


PART C — Analysis & reporting (the delivery)

9. Analysis and Statistical Rigor

What it is. The quantitative backbone of the findings. Confidence intervals on every claim. Multiple-comparison hygiene. Honest separation of confirmatory from exploratory analyses.

Why it matters. The headline claim is only as good as the statistics behind it. Point estimates without CIs are assertions, not evidence. Multiple comparisons without correction inflate false-positive rates. Exploratory analyses presented as confirmatory are fiction.

Minimum acceptable:

Nice to have:

Common failure mode. Point estimates without uncertainty. Post-hoc analyses presented as if they were planned from v0. Cherry-picked comparisons. p-values with no correction.


10. Reporting and Communication

What it is. The report and the presentation — the channels through which the work becomes legible to other people.

Why it matters. Everything else exists to enable this. A clean study with an unclear report fails to land. A clear report on shaky scaffolding misrepresents the evidence. Both the content and the communication are graded.

Minimum acceptable:

Nice to have:

Common failure mode. A report that restates the README. Slides that restate the report. "We built a system that works" in place of a defensible quantified finding.