Skip to content

feat(pert): add FastAPI PERT estimation endpoints#8

Merged
lemur47 merged 1 commit intomainfrom
feature/pert-module
Feb 16, 2026
Merged

feat(pert): add FastAPI PERT estimation endpoints#8
lemur47 merged 1 commit intomainfrom
feature/pert-module

Conversation

@lemur47
Copy link
Owner

@lemur47 lemur47 commented Feb 16, 2026

Summary

  • Port standalone PERT estimator into FastAPI module (app/pert/) with layered architecture (core, schemas, router)
  • Two stateless endpoints: POST /pert/task (single task) and POST /pert/project (multi-task aggregation)
  • Insight tags (FRAGMENTED_COMMUNICATION, MULTIPLE_STAKEHOLDERS, HIDDEN_DEPENDENCIES) adjust pessimistic estimates based on real-world risk factors
  • 61 new tests covering core logic, Pydantic validation, and HTTP endpoints
  • Add __init__.py to tests/tco/ to fix pytest module name collision

Test plan

  • pytest tests/pert/ -v — 61 tests pass
  • pytest — full suite 134 tests, no regressions
  • ruff check / ruff format --check — clean
  • pyright — 0 errors
  • pre-commit run --all-files — all hooks pass
  • Smoke test: POST /pert/task and POST /pert/project via Swagger UI

🤖 Generated with Claude Code

Port standalone PERT estimator into the FastAPI module structure with
stateless POST /pert/task and POST /pert/project endpoints. Includes
insight tags for reality-adjusted pessimistic estimates, Pydantic
schemas, and 61 tests covering core logic, schemas, and HTTP endpoints.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

Deploying logic with  Cloudflare Pages  Cloudflare Pages

Latest commit: 89d2db1
Status: ✅  Deploy successful!
Preview URL: https://ec2ec3d1.logic-btj.pages.dev
Branch Preview URL: https://feature-pert-module.logic-btj.pages.dev

View logs

@lemur47 lemur47 merged commit e121307 into main Feb 16, 2026
6 checks passed
@lemur47 lemur47 deleted the feature/pert-module branch February 16, 2026 04:43
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