feat: scaffold Week 12 assignment (Metabase + Streamlit)#1
Open
lassebenni wants to merge 9 commits into
Open
Conversation
…scaffold
The untouched scaffold previously scored 6/6 and PASSED — every check was a
file-presence check the scaffold satisfied. Rebuilt test.sh with work-verifying
checks so the scaffold fails (4/7) and a completed Minimum solution passes (7/7):
- metric Name fields filled with real (non-placeholder) values
- Panel 1 implemented (no `raise NotImplementedError` / `TODO: implement`)
- AI_ASSIST.md filled with 3+ real entries
- pass is now score >= passingScore (6), not "every check passed"
Also:
- task-2/app.py: /api/v1 -> /api/v2 (Airflow 3), remove em dashes, note the
shared-Airflow <yourname>_ DAG-id prefix
- add AI_ASSIST.md template (Minimum deliverable, matches the chapter)
Verified locally: scaffold 4/7 fail, reference solution 7/7 pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The shared Airflow 3.2 VM rejects Basic Auth (401 on /api/v2, verified live). Updated the get_dag_runs TODO to the token flow: POST /auth/token for a JWT, then Authorization: Bearer. Stub stays NotImplementedError (autograder ladder unchanged: scaffold still fails). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
README.mdwith Week 12 instructions (Metabase dashboard + Streamlit engineering dashboard)task-1/README.md(Metabase dashboard submission template) andtask-1/metric_definitions.md(five-field template for 3 metrics)task-2/app.py(Streamlit skeleton with TODO panels),requirements.txt,.env.example.hyf/test.shautograder: 6 checks (metric file exists, ≥3 filled metrics, app.py exists, cache_data used, no hardcoded password); passing score = 4/6Test plan
bash .hyf/test.shon scaffold — expectpass: falsetask-1/metric_definitions.md(3 metrics) and implementget_dag_runsintask-2/app.py— re-run test, expectpass: true.envis gitignored,.env.exampleis not🤖 Generated with Claude Code