gmal-scope-builder/backend/app/models/__init__.py
DJP 82046c784c P1: Role-specific efficiency profiles + BTG tool efficiencies
Backend:
- New models: MatchFeedback, EfficiencyProfile, EfficiencyRate, ToolEfficiency, ToolEfficiencyRate
- 3 preset profiles seeded: Conservative, Moderate, Aggressive with per-discipline rates
- 6 BTG tools seeded: Pencil, OMG, Creative X, Cortex, Semblance, Share of Model
- Efficiency API: CRUD for profiles and tools at /api/efficiency/
- team_shape.py: accepts profile_rates + tool_rates (per-discipline, additive, capped at 90%)
- team-shape endpoint: accepts profile_id and tool_ids query params
- Programme roles always exempt regardless of method

Example: Moderate profile + Creative X + Pencil → Account Mgmt 10%, Creative 70%, Production 65%

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 13:48:30 -04:00

10 lines
531 B
Python

from app.models.gmal import GmalAsset, Role, GmalHours, GmalServiceLine, RoleLevelMapping
from app.models.project import Project, ClientAsset, Match, RatecardLine
from app.models.feedback import MatchFeedback, EfficiencyProfile, EfficiencyRate, ToolEfficiency, ToolEfficiencyRate
__all__ = [
"GmalAsset", "Role", "GmalHours", "GmalServiceLine", "RoleLevelMapping",
"Project", "ClientAsset", "Match", "RatecardLine",
"MatchFeedback", "EfficiencyProfile", "EfficiencyRate",
"ToolEfficiency", "ToolEfficiencyRate",
]