# SHWRP-2026-025 reproducibility package

This package accompanies:

> 周秉漢 / CHOU, BING-HAN（2026）。《一份便當的最後一公里值多少？臺灣便當業者自架訂餐與外送系統之外送費、免運門檻、配送密度與損益邊界之情境分析》。上好味研究工作論文系列，SHWRP-2026-025，版本 1.0。https://doi.org/10.5281/zenodo.21523281

## Research scope

The study combines:

- a content analysis of 60 purposively selected public-rule cases;
- two live first-party ordering pages captured on 2026-07-24;
- 28 historical cases from a 2023 New Taipei City government directory;
- 30 cases from a Ministry of Environment directory whose website reported an update date of 2026-04-14 and whose export was downloaded on 2026-07-24;
- 36 fully synthetic route-cost scenarios;
- 20 fully synthetic free-delivery threshold screens;
- 27 fully synthetic membership break-even calculations; and
- 54 fully synthetic pricing-policy scenarios.

The 60 records come from only four unique source URLs. They are not a random
sample and must not be treated as a market prevalence estimate. For the 30
current-directory records, candidates were limited to bento-food records with
delivery, a system ID, and at least one non-empty rule field; within each of
ten regions, records with numeric quantity/amount conditions and observable
service areas were preferentially sorted before the first three were selected.
This selection-on-outcome design mechanically increases field coverage. The
60 records are not 60 confirmed independent businesses and are not a sample
of self-hosted ordering adoption.

Observed public-rule counts are:

- explicit numeric delivery fee: 0/60;
- order-quantity or monetary condition (including minimum, range, or maximum):
  59/60;
- distance or service-area rule: 44/60;
- free-delivery condition: 3/60;
- advance-ordering rule: 58/60;
- quantity-unit condition: 58/60; and
- delivery-actor identity: 0/60.

The quantity-unit flag overlaps the broader order-condition flag in 58 cases;
it is not independent evidence of group or same-address consolidation. An
observation flag records only what was visible on a specified page. A zero
does not mean that a business lacks a rule, capability, lawful arrangement, or
delivery actor. Self-hosted ordering does not establish self-owned delivery
capacity.

## Not market prices or formal quotations

Every monetary input in `synthetic-assumptions.json` is a transparent
researcher-defined scenario assumption. The values are not market averages,
observed shop costs, government recommendations, OpenAI recommendations,
industry standards, legal thresholds, or formal service quotations.

The model is designed to show:

- which operating measurements are needed before pricing;
- how kilometres, stops, and boxes change cost allocation;
- how a free-delivery threshold depends on incremental margin;
- how membership value depends on order frequency; and
- how decisions can reverse under different density and fee-sensitivity
  assumptions.

It does not estimate causal effects, consumer willingness to pay, actual
conversion, overall profitability, or the superiority of self-hosting over a
third-party platform. The disclosed NTD 3,000 monthly platform assumption is
not allocated in the generated outputs; route-cost recovery figures therefore
exclude system fixed cost.

## Reproduce

```powershell
python analysis.py
python build_artifacts.py
python validate.py
```

`analysis.py` reruns the derived analysis from the published `case-audit.csv`;
it does not recreate the initial manual collection and coding from third-party
files. Those source files are not redistributed. Readers can audit row-level
source links, capture dates, public record IDs, concise evidence, and coding
flags, but cannot reconstruct the complete capture-date source environment
from this package alone.

The scripts use packages listed in `requirements.txt`. PDF production uses the
site's Noto Sans TC font at `public/fonts/NotoSansTC-Regular.ttf` when run in
the website repository.

## Files

- `case-audit.csv`: researcher-coded records with operator names and contact
  details removed; current-directory public record IDs remain linkable to the
  original directory, so the file is not irreversibly anonymized.
- `source-log.csv`: source URLs, capture dates, research use, and
  redistribution status.
- `synthetic-assumptions.json`: every monetary and operational model
  assumption.
- `analysis.py`: deterministic analysis and figure generation.
- `analysis-results.json`: headline case and scenario counts.
- `outputs/rule-observability.csv`: seven public-rule observation fields.
- `outputs/source-strata.csv`: sample source strata.
- `outputs/route-cost-scenarios.csv`: 36 synthetic route scenarios.
- `outputs/free-delivery-threshold-screening.csv`: 20 threshold screens.
- `outputs/membership-break-even.csv`: 27 consumer arithmetic screens.
- `outputs/policy-scenarios.csv`: 54 synthetic policy comparisons.
- `outputs/cost-sensitivity.csv`: five one-at-a-time cost tests.
- `outputs/figures/`: six author-generated figures.
- `paper.md`, `paper.pdf`, and `paper-content.json`: publication formats.
- `validation-report.json`: automated artifact validation result.

## Public and non-public data boundaries

### Author-licensable public content

CC BY 4.0 applies to the author's original analysis, prose arrangement,
research code, researcher-created field coding, derived tables, and original
figures.

### Third-party source material

Government directory files, first-party webpages, business names, trademarks,
URLs, academic articles, and legal or guidance texts remain subject to their
original rights and terms. The source log identifies them and the package
provides links rather than relicensing them.

### Material not published in this package

The public package does not contain the downloaded government ODS or PDF,
complete HTML, complete page text, screenshots, third-party images, reviews,
contact persons, telephone numbers, mobile numbers, street addresses, customer
data, courier data, transaction records, or precise delivery traces.

### Public derived data

`case-audit.csv` contains case IDs, public source locators, broad service
regions, concise rule summaries, uncertainty notes, and binary observation
indicators. Operator names and direct contact fields are removed, but public
record identifiers can remain linkable to the original government directory.
It is a researcher-created derived dataset and is not a substitute for the
latest source page.

## Coding and AI disclosure

CHOU, BING-HAN is the sole responsible author and human coder. OpenAI Codex
assisted source-lead organization, coding-consistency checks, analysis code,
prose drafting, figures, and website production. AI is not an author and is
not a second independent human coder. No inter-coder reliability statistic is
claimed.

## Legal and competition boundary

The paper does not classify any named operator under the Delivery Workers
Rights Protection and Delivery Platform Management Act. It is not legal,
tax, labour, food-safety, consumer, privacy, investment, or transaction
advice. It does not invite competitors to exchange future prices, jointly
adopt fees, agree on trading conditions, or maintain a price.

Corrections: handson0102@hotmail.com
