feat: scaffold Week 5 assignment — Containerize and Ship#1
Open
lassebenni wants to merge 4 commits into
Open
Conversation
Replace the stub test.sh (always-pass, score 0) with a 7-level static analysis grader. Scaffold code has NotImplementedError stubs and TODO placeholders that score 27/100 (fail); a complete solution scores 100/100. Grader levels: 1 (15 pts) - required files present 2 (15 pts) - Dockerfile layer order and base image 3 (15 pts) - pinned dependencies 4 (20 pts) - CI triggers, ruff, pytest, docker build 5 (15 pts) - env-var config, no NotImplementedError 6 (10 pts) - ACR screenshot present and non-trivial 7 (10 pts) - AI_ASSIST.md filled in, no TODO placeholders Also adds: student README, devcontainer.json (Docker + Azure CLI), src/pipeline.py starter, tests/test_pipeline.py, Dockerfile stub, requirements.txt stub, ci.yml stub, AI_ASSIST.md template.
f731f85 to
0fa017b
Compare
added 3 commits
May 22, 2026 13:13
Adds warn() helper to the autograder and a zero-point .gitignore check that flags missing __pycache__/, *.pyc, and .env entries with a clear message explaining why each matters. Also adds Python-specific entries to the scaffold .gitignore (the inherited template was Node.js only).
Replaces the inline pass/fail/warn helpers with a source of grader_lib.sh. Adds check_no_print_statements and check_gitignore_python from the lib. Scoring ladder and output unchanged (27/100 scaffold, 100/100 solution).
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
Scoring ladder
Passing threshold: 60/100.
Test plan
ruff,pytest,docker buildin ci.yml;==in requirements.txt;python:3.11-slim+CMDin Dockerfile🤖 Generated with Claude Code