Skip to content

feat(pricing): calculate full-cost and cooperative-preservation scenarios - #8

Merged
vitormattos merged 4 commits into
feat/economic-parameter-matrixfrom
feat/economic-scenario-calculator
Nov 5, 2026
Merged

vitormattos merged 4 commits into
feat/economic-parameter-matrixfrom
feat/economic-scenario-calculator

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Scope

Add a deterministic, config-only economic calculator for the three LibreSign modalities, based on the versioned matrix from PR #7.

  • Per-customer fixed/variable cash cost and full cost.
  • Cooperative-return preservation scenario, without treating residual cooperative withdrawals as fixed payroll.
  • Incremental, full-cost, and cooperative-preservation prices with explicit revenue, tax, default-risk, and margin denominators.
  • Candidate-price sensitivity, capacity checks and missing-parameter status.
  • Nine synthetic regression cases reproducing the previously documented research scenarios (three utilization levels per modality).

The parameter values are intentionally fictional; none are LibreCode actuals or approved commercial rates. No WooCommerce, deployment, invoicing, customer data, or commercial activation is part of this PR.

Dependency

Base is PR #7's branch, since this code depends on the economic matrix types. Do not merge out of order. No merge or deployment authorized.

Tests

GitHub CI pending; check result on exact head SHA.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos marked this pull request as ready for review November 5, 2026 03:36
@vitormattos
vitormattos requested a review from a team as a code owner November 5, 2026 03:36
@vitormattos
vitormattos merged commit d7cbedd into feat/economic-parameter-matrix Nov 5, 2026
14 checks passed
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