feat: scaffold Week 4 assignment — MessyCorp Pandas pipeline#1
Merged
Conversation
Adds starter files for the Week 4 MessyCorp Pandas assignment: - src/ingest.py, clean.py, transform.py, report.py with stub functions - main.py pipeline runner (no edits needed) - AI_ASSIST.md template for Task 8 - .hyf/test.sh autograder (scores 14/100 on stubs, 60+ required to pass) - Updated README with task table and setup instructions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR scaffolds the Week 4 “MessyCorp Pandas” assignment by introducing stubbed pipeline modules (tasks 1–7), a runnable main.py orchestrator, an AI assistance reflection template (task 8), and an autograder script to score student submissions.
Changes:
- Added
src/task modules withNotImplementedErrorplaceholders for students to implement. - Added
main.pyrunner to execute the end-to-end pipeline locally. - Added
.hyf/test.shscoring script and updated docs/ignores (README.md,.gitignore).
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
src/ingest.py |
Stubs for Azure input download (Task 1) and output upload/round-trip (Task 7). |
src/clean.py |
Stubs for CSV loading/exploration (Task 2) and vectorized cleaning (Task 3). |
src/transform.py |
Stub for joining sales/customers and deriving is_high_value (Task 4). |
src/report.py |
Stubs for building summary tables and writing outputs/plot (Tasks 5–6). |
main.py |
Pipeline orchestrator wiring Tasks 1–7 together. |
AI_ASSIST.md |
Template for students to report AI usage (Task 8). |
.hyf/test.sh |
Autograder script that awards points based on code patterns. |
.gitignore |
Ensures generated data/ and output/ aren’t committed (plus Python artifacts). |
README.md |
Assignment setup/run/submit instructions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…equired - report.py: TODO hard-coded 'output/category_revenue.png'; changed to output_dir / 'category_revenue.png' to match the function signature - main.py + README: 'no edits needed' was wrong; GITHUB_USERNAME must be set before Task 7 runs
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
src/ingest.py,clean.py,transform.py,report.py) withraise NotImplementedErrorplaceholders for all 7 coding tasksmain.pypipeline runner (no student edits needed) andAI_ASSIST.mdtemplate for Task 8.hyf/test.shautograder: stubs score 14/100 (pass: false); a complete solution scores 100/100; passing threshold is 60Test plan
cd .hyf && bash test.sh && cat score.jsonon the scaffold — confirmscore: 14,pass: falsedownload_inputs,upload_outputs,clean_sales,join_customers,build_reports) are all present withraise NotImplementedErrordata/andoutput/are in.gitignoremessy_sales.csvandmessy_customers.csvtosthyfstudentsdemo/week4-inputsAzure Blob container sodownload_inputshas blobs to fetch🤖 Generated with Claude Code