Skip to content

feat(pert): add standalone PERT estimator + fix app imports#7

Merged
lemur47 merged 2 commits intomainfrom
feature/pert-standalone
Feb 15, 2026
Merged

feat(pert): add standalone PERT estimator + fix app imports#7
lemur47 merged 2 commits intomainfrom
feature/pert-standalone

Conversation

@lemur47
Copy link
Owner

@lemur47 lemur47 commented Feb 15, 2026

Summary

  • PERT standalone module (examples/standalone/pert/) — reality-adjusted project estimation with composable insight tags that widen the pessimistic tail based on consulting experience. Includes estimate_task(), estimate_project(), visualize_estimate(), 3 predefined tags, 10-test suite, and docs.
  • Fix app imports — bare imports like from database import Base broke uvicorn app.main:app because uvicorn treats app as a package. Switched to relative imports in app/ and qualified imports in tests/.

Test plan

  • python examples/standalone/pert/pert.py runs all 4 examples
  • pytest examples/standalone/pert/test_pert.py -v — 10/10 pass
  • ruff check + ruff format --check clean
  • pre-commit run --all-files — all 14 hooks pass
  • uv run uvicorn app.main:app --reload starts without error

🤖 Generated with Claude Code

lemur47 and others added 2 commits February 15, 2026 18:30
Reality-adjusted project estimation using composable multipliers on the
pessimistic estimate. Includes estimate_task(), estimate_project(),
visualize_estimate(), 3 predefined insight tags, full test suite, and docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bare imports like `from database import Base` relied on app/ being on
sys.path, which breaks when uvicorn loads app as a package. Switch to
relative imports in app/ and qualified imports in tests.

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

cloudflare-workers-and-pages bot commented Feb 15, 2026

Deploying logic with  Cloudflare Pages  Cloudflare Pages

Latest commit: e828d18
Status: ✅  Deploy successful!
Preview URL: https://c08ff885.logic-btj.pages.dev
Branch Preview URL: https://feature-pert-standalone.logic-btj.pages.dev

View logs

@lemur47 lemur47 merged commit 7dfadef into main Feb 15, 2026
6 checks passed
@lemur47 lemur47 deleted the feature/pert-standalone branch February 15, 2026 10:05
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