Calculation Logic
Component Detail
Service Layer
medium complexity
frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Pure client-side calculation module that transforms organization input parameters into impact estimates. Encapsulates the formulas for computing hours saved, activities captured, and reporting accuracy improvements based on benchmark assumptions. Stateless and deterministic so the same inputs always produce the same outputs.
calculation-logic
Sources & reasoning
Listed as a Sales Website capability in §4 (Product 4 core capabilities) and explicitly enumerated under the sales-calculator area in the canonical vocabulary. Targeted at Core Product phase since it is not in MVP scope (§5 Fase 1 lists only landing page, demo form, and legal pages for the Sales Website) but is part of the broader sales surface.
-
docs/source/likeperson.md · line 164-166Core capabilities: Product landing page and feature overview; Benefit / impact calculator (static calculation, no login); Demo booking form
-
docs/source/likeperson.md · line 382-385| sales-calculator | Benefit Calculator | Impact Calculator, Cost Comparison |
Responsibilities
- Compute estimated hours saved per month from mentor count and current reporting burden
- Compute projected activities captured based on mentor count and activity frequency
- Compute reporting accuracy improvement percentage from baseline assumptions
- Apply benchmark constants and validation rules to input parameters
- Return a structured impact estimate object for the widget to render
Interfaces
calculateImpact(input: OrgInput): ImpactEstimate
validateInput(input: OrgInput): ValidationResult