Skip to content

Fill Week 9 SQL-for-Analytics assignment scaffold#1

Merged
lassebenni merged 2 commits into
mainfrom
feat/week-9-sql-scaffold
Jun 25, 2026
Merged

Fill Week 9 SQL-for-Analytics assignment scaffold#1
lassebenni merged 2 commits into
mainfrom
feat/week-9-sql-scaffold

Conversation

@lassebenni

Copy link
Copy Markdown
Collaborator

Replaces the boilerplate template with the real Week 9 (SQL for Analytics) assignment, matching the curriculum chapter's deliverables.

What's here

  • README — scenario, the five tasks, deliverables table, grading model.

  • Starter deliverablesvalidation_queries.sql, schema_setup.sql (CREATE OR REPLACE VIEW skeletons), verification_results.sql, data_dictionary.md, AI_ASSIST.md, assets/ for the borough screenshot.

  • .hyf/test.sh — a completeness smoke check (no live SQL). Each task is gated on its starter TODOs being filled, so:

    • untouched scaffold → 0/100, fail
    • complete submission → 100/100, pass

    Final grade remains teacher review against the rubric.

  • Removed the placeholder task-1/ and task-2/ dirs.

Note

The auto-grade action will run on this PR and post 0/100 — expected, because this PR contains the scaffold (all TODOs), not a student submission.

Week 9 is SQL run against each student's personal Azure Postgres schema, so there is intentionally no live-SQL autograder; the completeness check + teacher rubric is the grading model (same rationale as the in-chapter practice).

🤖 Generated with Claude Code

Lasse Benninga and others added 2 commits June 24, 2026 23:42
Replace the boilerplate template with the real Week 9 assignment:
- README with the scenario, the five tasks, the deliverables table, and
  the grading model (completeness auto-grade + teacher rubric review).
- Starter deliverables matching the curriculum chapter: validation_queries.sql,
  schema_setup.sql (CREATE OR REPLACE VIEW skeletons), verification_results.sql,
  data_dictionary.md, AI_ASSIST.md, and assets/ for the borough screenshot.
- .hyf/test.sh as a completeness smoke check (no live SQL): it gates each task
  on the starter TODOs being filled in, so the untouched scaffold scores 0/fail
  and a complete submission scores 100/pass. Final grade is teacher review.
- Remove the placeholder task-1/ and task-2/ directories.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The shared class DB moved raw_trips/raw_zones from public to the nyc_taxi
schema. Update the scaffold SQL, README, and data dictionary so students
read from nyc_taxi.*, matching the Week 9 chapters. Autograder patterns
are unaffected (they key on HAVING/IS NULL/vw_ names/fare_amount, not the
source schema); scaffold still scores 0/100 until TODOs are completed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lassebenni lassebenni merged commit 658fd2d into main Jun 25, 2026
@lassebenni lassebenni deleted the feat/week-9-sql-scaffold branch June 25, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant