Skip to content
Back to skills

Freshretailnet 50k Eval

ASecurity

This benchmark evaluates models' ability to recover latent demand during stockout periods in perishable retail. It probes whether algorithms can disentangle true consumption patterns from supply-induced censoring using hourly temporal data and contextual covariates. Success is measured by prediction accuracy, bias mitigation, and the decoupling of recovered demand from stockout ratios. Use when the user wants to benchmark on FreshRetailNet-50K, or asks about evaluating this task. Reports WAPE.

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 11, 2026
researchpythongogitperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill freshretailnet-50k-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Freshretailnet 50k Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Freshretailnet 50k Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-freshretailnet-50k-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-freshretailnet-50k-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: freshretailnet-50k-eval
description: This benchmark evaluates models' ability to recover latent demand during stockout periods in perishable retail. It probes whether algorithms can disentangle true consumption patterns from supply-induced censoring using hourly temporal data and contextual covariates. Success is measured by prediction accuracy, bias mitigation, and the decoupling of recovered demand from stockout ratios. Use when the user wants to benchmark on FreshRetailNet-50K, or asks about evaluating this task. Reports WAPE.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2505.16319
  bibtex_key: [REDACTED]
  confidence: high
---

# freshretailnet-50k-eval

> FreshRetailNet-50K: A Stockout-Annotated Censored Demand Dataset for Latent Demand Recovery and Forecasting in Fresh Retail — Wang et al. (2025) (arXiv:2505.16319, 2025)

## What this evaluates

This benchmark evaluates models' ability to recover latent demand during stockout periods in perishable retail. It probes whether algorithms can disentangle true consumption patterns from supply-induced censoring using hourly temporal data and contextual covariates. Success is measured by prediction accuracy, bias mitigation, and the decoupling of recovered demand from stockout ratios.

## Datasets

- **FreshRetailNet-50K** — total 50000; splits: (unstated); repo https://github.com/Dingdong-Inc/frn-50k-baseline

## Metrics

- `WAPE` **(primary)** — range: percent
  - Weighted Absolute Percentage Error: sum(|d_t - y_t|) / sum(y_t). Measures magnitude accuracy of recovered demand.
- `WPE` — range: percent
  - Weighted Percentage Error: sum(d_t - y_t) / sum(y_t). Measures bias direction (over/under-prediction).
- `rho_DS` — range: [-1, 1]
  - Decoupling Score: weighted Pearson correlation between stockout ratios and recovered demand across store-product pairs, where weights are proportional to mean sales.

## Input / output format

**Input**: Hourly time-series sales data with contextual covariates (weather, promotions, holidays) for specific store-product pairs.

**Output**: Predicted true demand values (y_t) for each hourly time step t.

## Scoring recipe

```python
import numpy as np
def compute_metrics(preds, gold, stockout_ratios, mean_sales):
    wape = np.sum(np.abs(gold - preds)) / np.sum(gold)
    wpe = np.sum(gold - preds) / np.sum(gold)
    weights = mean_sales / np.sum(mean_sales)
    pearson_corr = np.corrcoef(stockout_ratios, preds)[0, 1]
    rho_ds = np.sum(weights * pearson_corr)
    return wape, wpe, rho_ds
```

## Common pitfalls

- Evaluating directly on observed sales during stockouts instead of recovering latent demand, which violates the MNAR simulation protocol.
- Focusing exclusively on WAPE while ignoring WPE, thereby missing systematic bias that causes inventory cascades.
- Treating all store-product pairs equally in the Decoupling Score without applying the mean-sales weighting (w_i), which skews results toward high-volume items.

## Evidence (verbatim from paper)

> Model performance is quantified through Weighted Absolute Percentage Error(WAPE) and Weighted Percentage Error(WPE): $$ \mathrm {W A P E} = \frac {\sum_ {t} \left| d _ {t} - y _ {t} \right|}{\sum_ {t} y _ {t}} \quad (\text {m a g n i t u d e a c c u r a c y}) \tag {4} $$ $$ \mathrm {W P E} = \frac {\sum_ {t} \left(d _ {t} - y _ {t}\right)}{\sum_ {t} y _ {t}} \quad (\text {b i a s d i r e c t i o n}) \tag {5} $$

## Citation

```bibtex
@misc{wang2025freshretailnet,
  title={FreshRetailNet-50K: A Stockout-Annotated Censored Demand Dataset for Latent Demand Recovery and Forecasting in Fresh Retail},
  author={Wang et al. (2025)},
  year={2025},
  note={arXiv:2505.16319}
}
```

- arXiv: 2505.16319

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.