Service Layer low complexity frontend
1
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

Pure formula-driven calculation module that converts organization size into manual reporting cost estimates and Meander subscription cost using values sourced from the pricing config. Contains no server-side logic and runs entirely in the browser.

Feature: Cost Comparison

cost-calculation-engine

Sources & reasoning

Separates calculation logic from presentation so pricing formulas can be updated and tested independently of the widget. Keeps the widget a pure display component and enables shared computation with the Impact Calculator.

No source references — this artifact was included based on reasoning alone (see above).

Responsibilities

  • Calculate manual coordination overhead cost based on organization size
  • Look up applicable Meander pricing tier for given organization size
  • Compute net saving (manual cost minus Meander subscription cost)
  • Expose typed result object consumed by the Cost Comparison Widget

Interfaces

calculateCosts(organizationSize: int): CostComparisonResult
getApplicableTier(organizationSize: int): PricingTier
formatCurrency(amount: number, locale: string): string

Relationships

Dependencies (1)

Components this component depends on

Dependents (1)

Components that depend on this component