Skip to content

Add average days early/late project card#272

Merged
redreceipt merged 1 commit intomainfrom
sym-141-add-a-card-to-the-projects-row
Apr 6, 2026
Merged

Add average days early/late project card#272
redreceipt merged 1 commit intomainfrom
sym-141-add-a-card-to-the-projects-row

Conversation

@redreceipt
Copy link
Copy Markdown
Member

Summary

  • add project schedule variance helpers and aggregate average days early/late for completed projects led by the selected person
  • render a new Avg Days Early/Late card in the person-page projects row
  • cover the new person-context metric with focused regression tests

Why

Person pages already showed project counts, but they did not show whether completed projects tended to finish early or late. This adds that missing signal directly to the projects row.

Proof

  • source .codex-venv313/bin/activate && gunicorn app:app --bind 127.0.0.1:8001
  • curl -I -s 'http://127.0.0.1:8001/team/michael?days=7' -> HTTP/1.1 200 OK
  • curl -I -s 'http://127.0.0.1:8001/partials/team/michael/content?days=7' -> HTTP/1.1 200 OK
  • curl -s 'http://127.0.0.1:8001/partials/team/michael/content?days=7' | rg -n 'Current Projects|Completed Projects|Incomplete Projects|Avg Days Early/Late|on time|[0-9]+d (late|early)|n/a' -> confirmed the new card label and rendered value, including Avg Days Early/Late and 1d late

@linear
Copy link
Copy Markdown

linear bot commented Apr 6, 2026

SYM-141

@redreceipt redreceipt temporarily deployed to bug-board-sym-141-add-a-mbvtmt April 6, 2026 19:50 Inactive
@redreceipt redreceipt marked this pull request as ready for review April 6, 2026 20:11
@redreceipt redreceipt merged commit e0d0d26 into main Apr 6, 2026
7 checks passed
@redreceipt redreceipt deleted the sym-141-add-a-card-to-the-projects-row branch April 6, 2026 20:14
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