Realized discount percent — local calculator
Un calculateur local pour une tâche: Realized discount percent — local calculator. Formule avant achat: (catalog_value_usd-realized_sale_usd)/catalog_value_usd*100. Entrées modifiables, registre CSV et exemple synthétique inclus. Manuel, champs et code en anglais ; guide rapide en russe. Aucun service en ligne.
Python 3.10+ locally; no paid libraries. A small single-purpose calculator, not a complete business platform. English workbook/code; Russian quickstart.
49 XTR
- README.md
- formula.md
- workbook.md
- QUICKSTART-RU.md
- worksheet.csv
- tool.py
- example-input.json
- example-output.json
- acceptance-checklist.md
- LICENSE.txt
Prix en Telegram Stars (XTR). Aucun revenu ni résultat client n’est garanti.
Formula / input / worked example (English)
# Realized discount percent
`(catalog_value_usd-realized_sale_usd)/catalog_value_usd*100`
Input semantics and units:
- `catalog_value_usd`: numeric input; units are part of the field name where applicable.
- `realized_sale_usd`: numeric input; units are part of the field name where applicable.
Result uses the unit stated in the product title, or a dimensionless ratio. Check cohort membership and aggregation boundaries independently.
example-input.json
{
"catalog_value_usd": 12.0,
"realized_sale_usd": 15.0
}
example-output.json
{
"product_id": "commerce-discount-depth",
"result": -25.0,
"scope": "Arithmetic estimate from supplied inputs; no forecast or service"
}