Skip to content

Mohammed A#1

Open
mohammedalfakih-dev wants to merge 1 commit into
HackYourAssignment:mainfrom
mohammedalfakih-dev:week10/mohammed-alfakih
Open

Mohammed A#1
mohammedalfakih-dev wants to merge 1 commit into
HackYourAssignment:mainfrom
mohammedalfakih-dev:week10/mohammed-alfakih

Conversation

@mohammedalfakih-dev

Copy link
Copy Markdown

Completed the Week 10 Daily Borough Stats Mart assignment.

Included:

  • Sources, staging models, mart model, tests, docs, lineage screenshot, business answers, and AI assist log.
  • Lineage screenshot saved at docs/lineage.png.
  • Business answers saved in reports/answers.md.

dbt build summary:
Done. PASS=11 WARN=1 ERROR=0 SKIP=0 NO-OP=0 TOTAL=12

Highest total fare borough:
Manhattan — 493,955.62

@github-actions

github-actions Bot commented Jul 7, 2026

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 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/
  ✓ PASS  found docs/lineage.png
  ✓ PASS  Level 1: required files (10/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
  ✓ PASS  AI_ASSIST.md: filled (1565 chars)
  ✓ PASS  Level 7: business answers + AI log (10/10 pts)

Score: 100 / 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.

1 participant