A governed pricing analytics system that identifies where growth is price-led versus structurally discount-dependent. Built as decision-support for commercial leadership, finance, and RevOps.
Live dashboard: https://mfidalgomartins.github.io/pricing-discount-governance-system/
Discount-led growth can look healthy until it damages margin performance and commercial discipline. This project separates sustainable pricing from discount dependency, making exposure explicit across customer, segment, product, region, and channel views.
It builds a governed pricing layer from transactional data, quantifies realized discount and price realization, and prioritizes governance risk with interpretable scoring and recommended actions. Outputs are reproducible, auditable, and built for decisions, not just reporting.
Ingestion -> Processing -> Feature engineering -> Risk scoring -> Validation -> Analysis outputs -> Executive dashboard.
src/ pipeline logicscripts/ runnable entrypointsconfig/ thresholds and metric contractsdocs/ methods and governance notesoutputs/ analysis artifacts and dashboard source buildtests/ regression checksdocs/index.html (published at repository root URL)outputs/dashboard/pricing-discipline-command-center.htmldocs/pricing-discipline-command-center.htmloutputs/visualizations/*.pngoutputs/*validation*outputs/warehouse/*python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
python scripts/run_pipeline.py
python scripts/publish_pages_dashboard.py
Tools: Python, SQL, DuckDB, pandas, NumPy, Matplotlib, Seaborn, Chart.js, pytest.