Skip to content

feat: scaffold Week 4 assignment — MessyCorp Pandas pipeline#1

Merged
lassebenni merged 2 commits into
mainfrom
feat/scaffold-week4-assignment
May 26, 2026
Merged

feat: scaffold Week 4 assignment — MessyCorp Pandas pipeline#1
lassebenni merged 2 commits into
mainfrom
feat/scaffold-week4-assignment

Conversation

@lassebenni
Copy link
Copy Markdown
Collaborator

Summary

  • Adds stub source files (src/ingest.py, clean.py, transform.py, report.py) with raise NotImplementedError placeholders for all 7 coding tasks
  • Adds main.py pipeline runner (no student edits needed) and AI_ASSIST.md template for Task 8
  • Adds .hyf/test.sh autograder: stubs score 14/100 (pass: false); a complete solution scores 100/100; passing threshold is 60

Test plan

  • Run cd .hyf && bash test.sh && cat score.json on the scaffold — confirm score: 14, pass: false
  • Verify the five function stubs (download_inputs, upload_outputs, clean_sales, join_customers, build_reports) are all present with raise NotImplementedError
  • Confirm data/ and output/ are in .gitignore
  • Teacher pre-requisite before cohort starts: upload messy_sales.csv and messy_customers.csv to sthyfstudentsdemo/week4-inputs Azure Blob container so download_inputs has blobs to fetch

🤖 Generated with Claude Code

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>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 with NotImplementedError placeholders for students to implement.
  • Added main.py runner to execute the end-to-end pipeline locally.
  • Added .hyf/test.sh scoring 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.

Comment thread .hyf/test.sh
Comment thread src/report.py Outdated
Comment thread main.py
…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
@lassebenni lassebenni merged commit a5ba2a2 into main May 26, 2026
@lassebenni lassebenni deleted the feat/scaffold-week4-assignment branch May 26, 2026 20:13
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.

2 participants