Skip to content

Baraah A.#5

Open
thebaraah wants to merge 3 commits into
HackYourAssignment:mainfrom
thebaraah:main
Open

Baraah A.#5
thebaraah wants to merge 3 commits into
HackYourAssignment:mainfrom
thebaraah:main

Conversation

@thebaraah

Copy link
Copy Markdown

No description provided.

@jrnhofman

Copy link
Copy Markdown

Please make sure other people can easily review your work, include setup instructions and include the profiles.yml.example.

Pulls in the secrets-blocker and bash-5-crash fixes from
HackYourAssignment/c55-data-week-10 main so this PR is graded with
the corrected autograder instead of the old version that crashed
before completing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

📝 HackYourFuture auto grade

Assignment Score: 85 / 100 ✅

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

Test Details

=== Week 10 Autograder ===
  ✓ PASS  found dbt_project.yml
  ✓ PASS  found packages.yml
  ✓ PASS  found profiles.yml.example
  ✓ PASS  found macros/safe_divide.sql
  ✓ PASS  found models/staging/_sources.yml
  ✓ PASS  found models/staging/stg_trips.sql
  ✓ PASS  found models/staging/stg_zones.sql
  ✓ PASS  found models/marts/fct_daily_borough_stats.sql
  ✓ PASS  found reports/answers.md
  ✓ PASS  found AI_ASSIST.md
  ✓ PASS  found singular test in tests/
  ✗ FAIL  docs/lineage.png missing -- run dbt docs generate + serve and screenshot the lineage graph
  ✓ PASS  Level 1: required files (0/10 pts)
  ✓ PASS  .gitignore: profiles.yml excluded
  ✓ PASS  profiles.yml.example: uses env_var() -- no hardcoded password
  ✓ PASS  profiles.yml not committed (correctly git-ignored)
  ✓ PASS  Level 2: secrets hygiene (15/15 pts)
  ✓ PASS  stg_trips.sql: uses {{ source() }} reference
  ✓ PASS  stg_trips.sql: filters NULL pickup_location_id
  ✓ PASS  stg_trips.sql: filters negative fares (fare_amount >= 0)
  ✓ PASS  stg_trips.sql: tip_pct column present
  ✓ PASS  stg_zones.sql: uses {{ source() }} and is filled
  ✓ PASS  Level 3: staging models (20/20 pts)
  ✓ PASS  fct_daily_borough_stats.sql: file filled
  ✓ PASS  mart: ref() to both stg_trips and stg_zones
  ✓ PASS  mart: JOIN to zones present
  ✓ PASS  mart: GROUP BY present
  ✓ PASS  mart: all 6 required output columns present
  ✓ PASS  Level 4: mart model (20/20 pts)
  ✓ PASS  mart YAML: dbt_utils.unique_combination_of_columns test present
  ✓ PASS  staging YAML: not_null tests present
  ✓ PASS  singular test: filled and references fct_daily_borough_stats
  ✓ PASS  Level 5: tests (15/15 pts)
  ✓ PASS  mart YAML: grain stated in model description
  ✓ PASS  mart YAML: 7 column descriptions filled
  ✓ PASS  Level 6: documentation (10/10 pts)
  ✓ PASS  reports/answers.md: 4 SQL blocks present and filled
  ✗ FAIL  AI_ASSIST.md: empty or still contains TODO stubs
  ✓ PASS  Level 7: business answers + AI log (5/10 pts)

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

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