Skip to content

Pavel Tisner#8

Open
pavel-tisner wants to merge 1 commit into
HackYourAssignment:mainfrom
pavel-tisner:week6/pavel-tisner
Open

Pavel Tisner#8
pavel-tisner wants to merge 1 commit into
HackYourAssignment:mainfrom
pavel-tisner:week6/pavel-tisner

Conversation

@pavel-tisner

Copy link
Copy Markdown

Implemented:

  • pinned Azure Blob Storage and PostgreSQL dependencies
  • Blob upload to Azure Storage
  • PostgreSQL schema/table creation and idempotent upsert
  • Dockerfile for running the pipeline as a container
  • Azure Container Apps Job deployment verification
  • README verification section with execution screenshot
  • AI assist report

@github-actions

Copy link
Copy Markdown

📝 HackYourFuture auto grade

Assignment Score: 100 / 100 ✅

Status: ✅ Passed
Minimum score to pass: 60
🧪 The auto grade is experimental and still being improved

Test Details

=== Week 6 Autograder ===
  ✓ PASS  found Dockerfile
  ✓ PASS  found requirements.txt
  ✓ PASS  found src/pipeline.py
  ✓ PASS  found AI_ASSIST.md
  ✓ PASS  found README.md
  ✓ PASS  found docs/ directory
  ✓ PASS  Level 1: required files (10/10 pts)
  ✓ PASS  requirements.txt pins azure-storage-blob
  ✓ PASS  requirements.txt pins psycopg2-binary
  ✓ PASS  Level 2: pinned dependencies (10/10 pts)
  ✓ PASS  Dockerfile uses a python:3.11 base image
  ✓ PASS  Dockerfile copies requirements before src/ (layer cache stays warm)
  ✓ PASS  Dockerfile has a real CMD instruction
  ✓ PASS  Level 3: Dockerfile (10/10 pts)
  ✓ PASS  pipeline.py reads POSTGRES_URL and AZURE_STORAGE_CONNECTION_STRING from env
  ✓ PASS  pipeline.py uses contextlib.closing() to wrap the Postgres connection
  ✓ PASS  pipeline.py silences the azure SDK logger
  ⚠ WARN  pipeline.py still contains 'raise NotImplementedError' — finish the stubs before submitting
  ✓ PASS  Level 4: pipeline shape (15/15 pts)
  ✓ PASS  pipeline.py uses an upsert (ON CONFLICT ... DO UPDATE)
  ✓ PASS  pipeline.py uses %s placeholders in execute() (parameterised SQL)
  ✓ PASS  Level 5: idempotent upsert (15/15 pts)
  ✓ PASS  connection string includes sslmode=require
  ✓ PASS  pipeline.py uses the azure-storage-blob SDK (BlobServiceClient)
  ✓ PASS  Level 6: connection + SDK (10/10 pts)
  ✓ PASS  AI_ASSIST.md has all three sections and is filled in (2339 chars)
  ✓ PASS  Level 7: AI report (10/10 pts)
  ✓ PASS  README.md has '## Verification' heading and embeds a docs/ image
  ✓ PASS  Level 8: README verification (10/10 pts)
  ✓ PASS  execution-history screenshot present at execution_history.png (227727 bytes)
  ✓ PASS  Level 9: execution screenshot (10/10 pts)
  ✓ PASS  .gitignore correctly excludes __pycache__/, *.pyc, and .env

Score: 100 / 100  (passing: 60)  pass=true

@AgneseG

AgneseG commented Jun 17, 2026

Copy link
Copy Markdown

Very solid submission, well done!

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