feat(pert): add standalone PERT estimator + fix app imports#7
Merged
Conversation
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>
Deploying logic with
|
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
examples/standalone/pert/) — reality-adjusted project estimation with composable insight tags that widen the pessimistic tail based on consulting experience. Includesestimate_task(),estimate_project(),visualize_estimate(), 3 predefined tags, 10-test suite, and docs.from database import Basebrokeuvicorn app.main:appbecause uvicorn treatsappas a package. Switched to relative imports inapp/and qualified imports intests/.Test plan
python examples/standalone/pert/pert.pyruns all 4 examplespytest examples/standalone/pert/test_pert.py -v— 10/10 passruff check+ruff format --checkcleanpre-commit run --all-files— all 14 hooks passuv run uvicorn app.main:app --reloadstarts without error🤖 Generated with Claude Code