← All projects

PROJECT 003 / 102 · Commerce

Product credit exposure.

Which product codes have the largest credited value relative to invoiced sales?

Focused analytical studyRetailExecuted notebook

THE RESULT

What the data shows

The largest computed metric is 17.1 for AMAZONFEE; the smallest is 0 for B. Metric: credit_to_gross (Ratio).

Ratios compare period credits to period gross value; credits may relate to earlier sales.

Product credit exposure — chart from the computed study output
Computed study output. Full values and units are available in the results download.
Computed results · 12 of 233 rows. Values rounded for display; source units and raw column names are retained in the download.
stockcodegross gbpcredit gbplinescredit to gross
AMAZONFEE13,761.09235,281.593417.1
M78,110.27146,784.465711.879
23,843168,469.60168,469.6021
23,16681,700.9277,479.642600.9483
21,10818,069.286,591.422700.3648
47566B11,290.123,692.953790.3271
22,27312,016.343,512.653440.2923
22,19111,971.152,653.704410.2217
20,97113,838.102,778.775380.2008
48,18523,888.814,554.903720.1907
71,47720,658.563,443.623560.1667
POST78,101.8811,871.241,2560.152
Download the complete result table ↓

THE METHOD

From source to answer

SQL conditional aggregation with a minimum sales exposure.

The Python source exposes this study’s transformations. The complete project download includes shared preparation and evaluation routines.

THE NEXT DECISION

What follows from the finding

Investigate the product and invoice context before attributing credits to quality problems.

Where the conclusion stops

Historical invoice lines; credits are not reliably matched to original sales. Gross purchases are not profit. Unidentified customers cannot support customer-level conclusions. Exact repeated lines remain unless the study explicitly compares removal.

Related studies may reuse observations or holdouts. These are historical analyses; associations and backtests do not demonstrate commercial impact. Further model tuning needs new, untouched evaluation data.