This repository was archived by the owner on Aug 9, 2026. It is now read-only.
fix(schema): align output CSV to official lowercase snake_case template - #1
Merged
Merged
Conversation
- Flipped CSV_COLUMNS in schema.py to the lowercase snake_case header that ships in `support_tickets/output.csv` (the contest template), not the Title Case header used in `sample_support_tickets.csv` - Updated write_output to emit lowercase keys + lowercase status values; previously was emitting Title Case "Replied"/"Escalated" inferred from the sample - Made _PriorRow + the resume read paths case-insensitive via a shared `_get` helper so older lowercase or Title Case `output.csv` files both round-trip - Added test_write_output_uses_lowercase_snake_case_schema covering header + status enum casing; updated existing fixtures and the schema test to the new format - Bumped README test count to match (31 → 32)
- Restructured `docs/index.md` hero into `.hero-content` (eyebrow, title, subtitle, buttons) plus a sibling `.hero-figure` framing the image; removed the scroll-hint chevron - Replaced full-bleed `.hero--bg` background-image stack with a two-column grid layout, atmospheric radial backdrop via ::before, and a framed image figure with a pulsing teal corner-mark - Reworked `.hero-stats` from glass chips to an inline editorial data strip (mono numbers, hairline rules, vertical separators); on mobile collapses to a 2x2 grid with row-aware dividers - Added `display: contents` overrides for the markdown-injected `<p>` wrappers inside `.hero-stats` and `.hero-buttons` so flex/grid sees the real children - Reorganized button styling into a primary/secondary hierarchy; mobile grid stacks primary full-width with secondaries side-by-side; min 44px tap target
- Removed `uv.lock` from EXCLUDED_NAMES so the submission bundle ships pinned dependencies; the evaluation rubric calls out determinism + pinned deps explicitly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
support_tickets/output.csvtemplate (lowercase snake_case), which differs from the Title Case header insample_support_tickets.csvthat the previous schema followeduv.lockin the code zip so the rubric's reproducibility criterion is metChanges
Test plan
uv run --group dev pytest tests/ -q— 32/32 pass (addedtest_write_output_uses_lowercase_snake_case_schema)uv run --group dev ruff check .andruff format --check .cleanuv run zensical build --cleanclean (no link/anchor issues)support_tickets/output.csvheader now matchesORIGINAL_support_tickets/output.csvtemplate byte-for-byte