Skip to content

feat(pricing): add versioned external economic parameter matrix - #7

Merged
vitormattos merged 1 commit into
mainfrom
feat/economic-parameter-matrix
Nov 5, 2026
Merged

vitormattos merged 1 commit into
mainfrom
feat/economic-parameter-matrix

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Scope

Introduce a versioned, strict economic configuration matrix independent of application source code. Keep economic values private and provide only fictional test fixtures in this public repository.

  • Validate schema, modalities, decimal-string values, units, uniqueness, provenance, status and approval flags.
  • Preserve null distinctly from zero, and reject floats and duplicate numerical sources (simulation_assumptions/scenario_results).
  • Track parameter-set versions and input-file SHA-256.
  • Add positive and negative tests, plus documentation of a private migration from research contracts.

Boundaries

This PR does not introduce real economic values, product prices, client information, confidential source paths, a billing gateway, or commercial activation. The existing simulation API remains synthetic-only. No production deployment or merge is authorized.

Review notes

Research inputs: Gangwar–Bhargava (2023), Li–Jia–Juan (2025), Lago, OpenMeter, and PHP pricing-rule references. Reuse versioning/provenance ideas; do not add a second billing engine.

Tests

GitHub CI checks pending. Review the exact changed SHA and negative tests before marking ready.

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 e4a0af7 into main 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