---
name: stat432-fall2026-student
description: Set up the required GitHub folders or check and submit discussion questions, homework reports, and final-project files. Use this skill only when the student asks to set up those folders, check the technical format of one of these files, or submit it; do not use it to review substantive content.
metadata:
  version: "1.1"
---

# Student Repository Rules

Inspect content only as needed for mechanical format checks such as frontmatter, word count, markup balance, file type, self-containment, and page count. Do not evaluate, revise, summarize, or judge the substantive question, answers, analysis, or report.

`NN` always means a two-digit week number. Work only in the intended repository. Preserve unrelated files and Git history. Never expose credentials, rewrite history, or force-push.

## Repository Structure

```text
repository-root/
|-- .gitignore
|-- discussion/
|   `-- week-NN-question.md
|-- homework/
|   `-- week-NN/
|       |-- homework-NN.pdf or homework-NN.html
|       `-- SKILL.md (for homework involving a skill)
`-- project/
    |-- final-report.pdf or final-report.html
    |-- supplementary.pdf or supplementary.html
    `-- SKILL.md
```

The local Git root, remote repository, current branch, and upstream branch must identify the same intended project. Working files may remain in `homework/week-NN/`; submit the numbered PDF or HTML report and a separate `SKILL.md` when the assignment involves a skill.

## `.gitignore`

Use this root `.gitignore` during setup:

```gitignore
# Ignore everything at the repository root.
/*

# Keep the submission structure.
!/.gitignore
!/discussion/
!/homework/
!/project/

# Keep only weekly discussion questions.
/discussion/*
!/discussion/week-[0-9][0-9]-question.md

# Keep final weekly homework reports and submitted skills.
/homework/*
!/homework/week-[0-9][0-9]/
/homework/week-[0-9][0-9]/*
!/homework/week-[0-9][0-9]/homework-[0-9][0-9].pdf
!/homework/week-[0-9][0-9]/homework-[0-9][0-9].html
!/homework/week-[0-9][0-9]/SKILL.md

# Keep only final-project files.
/project/*
!/project/final-report.pdf
!/project/final-report.html
!/project/supplementary.pdf
!/project/supplementary.html
!/project/SKILL.md
```

The week number in a homework folder and report must still match; `.gitignore` cannot enforce that equality.

When upgrading an existing course repository to this version, update its homework and final-project allowlists to the paths above while preserving unrelated rules.

## Discussion Question

Use `discussion/week-NN-question.md` with exactly one YAML frontmatter block:

```markdown
---
id: wNN-netid-short-topic
title: "Question title"
author: netid
---

Question body.
```

`netid` means the student's Illinois NetID. It is not a UIN, Canvas numeric ID,
email address, or GitHub username. The canonical `author` value is the NetID
alone. A student may optionally use `"Display name or GitHub handle (netid)"`
on the same `author` line; a real or full name is never required. Keep the YAML
frontmatter to the five lines shown above.

A valid file has:

- the same two-digit `NN` in the filename and `id`;
- required `id`, `title`, and `author`, with the NetID included in a stable `id` using only letters, numbers, hyphens, and underscores;
- an `author` equal to the NetID, or an optional display name or GitHub handle followed by the NetID in parentheses;
- a title of at most 50 characters and a prose body of at most 200 words, excluding fenced code and mathematics;
- one nonempty Markdown body after the frontmatter;
- LaTeX uses `$...$` or `$$...$$`, with balanced delimiters and braces and no custom or unsafe commands;
- code blocks use closed triple-backtick fences labeled `r` or `python`;
- no content before the frontmatter, additional frontmatter, standalone `---` line, images, external links, raw HTML, or JavaScript; and
- the Markdown file is saved as UTF-8 and ends with a newline after the final line.

## Homework Submission

Use `homework/week-NN/homework-NN.pdf` or one self-contained `homework-NN.html`. The folder and report must use the same `NN`, and the file must open successfully. The QMD source, solutions, data, and figures are working materials, not required submission files.

For homework that asks the student to define, revise, or use a skill, also submit its complete final definition as `homework/week-NN/SKILL.md`, with YAML `name` and `description` frontmatter and a nonempty Markdown instruction body. Retain any skill appendix required by the assignment and check that it matches the separate file. Confirm that `.gitignore` allows the report and skill file.

## Final Project Submission

Submit exactly three files in the `project/` folder of the student's `stat432-fall2026` repository. Check:

- **Final report:** `final-report.pdf` or one self-contained `final-report.html`, no more than 20 pages. For HTML, check the page count in browser print preview using standard settings. Include all team members' names and NetIDs.
- **Supplementary report:** `supplementary.pdf` or one self-contained `supplementary.html`, containing supporting code and results and the complete final analysis skill definition appended at the end. The 20-page limit applies to the final report.
- **Analysis skill:** `SKILL.md`, containing the team's reusable analysis instructions for one chosen model. Check that it has YAML frontmatter with nonempty `name` and `description` fields and a nonempty Markdown instruction body. Its complete contents, including frontmatter, must match the definition appended to the supplementary report.

Choose one format for each report, check that both reports open correctly, and confirm that all three files are allowed by `.gitignore`. The final project deadline is **Thursday, December 10, 2026**. Follow the Format and Submission Check below when submitting to GitHub.

## Format and Submission Check

- Report only mechanical format results; leave substantive review to the student.
- The tracked path list matches the `.gitignore` allowlist; report extra tracked paths without reading or deleting them.
- A fresh fetch confirms that the local branch is not behind or diverged from its upstream.
- The staged file list contains only the intended submission files. Never use `git add .` or `git add -A` for a submission.
- An existing submission may be replaced in its required location. Check the replacement's format and stage only the intended file. When changing between PDF and HTML, remove the previous version only with student approval.
- `.gitignore` is committed during repository setup.
- Commit and push require student approval. The remote branch must show the expected files and commit afterward.
