feat: scaffold Week 12 assignment (Airflow orchestrated pipeline) - #2
Merged
Conversation
Replaces the raw template with an Astro-project scaffold for the Week 12 Airflow assignment (Ch11). Students implement dags/taxi_pipeline.py: schedule + catchup=False + tag, three sequential tasks (ingest_taxi_month -> dbt_run -> dbt_test) with dbt run via uvx --python 3.11, logical-date partitioning, and retries. - dags/taxi_pipeline.py: starter, parses but task bodies raise NotImplementedError; guidance kept out of grep-target literals. - tests/test_dag_integrity.py: provided (Ch6 DagBag test), all tiers. - Dockerfile (Astro Runtime 3.3), requirements.txt (providers, no dbt), include/dbt_project/ README, .env.example, RUNBOOK/ASSIGNMENT_REPORT/ AI_ASSIST templates. - .hyf/test.sh: static 100-pt ladder (pass=60), reuses grader_lib.sh. Verified end-to-end: bare scaffold 25/100 fail, full solution 100/100 pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UEFNwdbVCzZbqVbCCCqJd6
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Scaffolds the Week 12 Airflow orchestrated-pipeline assignment (curriculum Ch11) as an Astro project. Students implement
dags/taxi_pipeline.py: a scheduled DAG withcatchup=False+ a tag, three sequential tasks (ingest_taxi_month → dbt_run → dbt_test) where dbt runs viauvx --python 3.11(plain dbt crashes on the image's Python 3.14), logical-date partitioning, and retries. Provided: the Ch6tests/test_dag_integrity.py, a Dockerfile (Astro Runtime 3.3),requirements.txt(providers, no dbt), and RUNBOOK / ASSIGNMENT_REPORT / AI_ASSIST templates.Autograder verified end-to-end
.hyf/test.shis a static 100-pt ladder (pass = 60), reusinggrader_lib.sh. No Airflow install needed — pure bash/sed/grep, so it runs in the shared HYF auto-grade CI.NotImplementedError;@dag+ tasks)ingest → dbt_run → dbt_test, chained with>>uvx;retriesconfigured{{ ds }}/logical_date);catchup=FalseRUNBOOK.md+AI_ASSIST.mdfilled (no leftoverTODO)Test plan
py_compileclean;test.shbash -nclean🤖 Generated with Claude Code