# Methods and data dictionary

## Source and population

This is descriptive secondary analysis, not device testing or a probability sample. Source: `OpenRepairData_v0.3_aggregate_202607_eee.csv` from https://github.com/openrepair/data . Direct URL: https://media.githubusercontent.com/media/openrepair/data/refs/heads/main/OpenRepairData_v0.3_aggregate_202607_eee.csv . Definitions: https://standard.openrepair.org/standard.html . Source license: https://creativecommons.org/licenses/by-sa/4.0/ .

Expected SHA-256: `c1362071b53405619e1fa89f8a0b6d0c6ebdfec71b6002e3458223654a29a157`. The main-branch URL is mutable. A mismatch stops reproduction; retrieve the matching archived source instead of silently combining versions.

Read the full 416,282-row CSV as UTF-8. Select exact `product_category == "Mobile"`. Retain all 6,290 selected rows; their IDs are distinct, but device/owner uniqueness is unproven. No weighting, deduplication by device, model classification, translation-based reclassification, or imputation is performed. Mobile includes smartphone and other telecommunications records. EOL means a judgment that repair was not economical or realistic, not proof of disposal, impossible repair, or software end-of-support.

Keep Fixed, Repairable, End of life and Unknown separate. Select exact End of life for the EOL denominator. A coded record has one of the six labels in `barriers.csv` in `repair_barrier_if_end_of_life`. All nonblank Mobile barrier values pass this check, and all occur within EOL. There are 962 EOL, 350 coded and 612 uncoded. The other blank barrier fields outside EOL are not treated as missing applicable data.

## Completeness rules

Strip whitespace and lowercase solely for placeholder detection in problem and brand. Treat these as absent: empty string, unknown, n/a, na, none, null, not known, not specified, unspecified, -, ?. A retained value measures presence only, not accuracy, completeness of its description, or standardized brand spelling.

Age is counted as numeric if parseable as a finite number between 0 and 100 inclusive. This is a format check, not validated age. Values above 30 are retained; the broader Mobile group prevents assuming that every old age is a smartphone error. Known status means exactly Fixed, Repairable or End of life. Unknown remains in the Mobile denominator.

Group by the exact `data_provider` value. Periods use calendar years extracted from ISO `event_date`: 2012–2019, 2020–2021, 2022–2025 and the available part of 2026. Observed Mobile dates: 2012-10-17 through 2026-07-26. Periods have unequal lengths. Empty provider-period cells have zero counts and blank percentages. Blank percentage means undefined because the denominator is zero, not 0%.

## CSV field dictionary

All CSVs are UTF-8, comma delimited, with headers. Counts are integers. Percentages use the 0–100 scale and are stored to six decimal places; display tables use one decimal. Recalculate precise ratios from integer counts. Never average provider percentages to obtain pooled coverage.

| Field | Definition / denominator |
| --- | --- |
| provider | Exact source organization label |
| period | Event-year group label, not release date |
| start_year, end_year | Inclusive calendar-year bounds |
| partial_year | 1 for incomplete 2026, otherwise 0 |
| mobile_n | All selected Mobile rows within the group |
| eol_n | Rows with status End of life within the group |
| coded_n | EOL rows with a valid barrier label |
| uncoded_eol_n | eol_n minus coded_n |
| barrier_coverage_pct | 100 × coded_n / eol_n |
| problem_present_n, brand_present_n | Non-placeholder values using rules above |
| age_numeric_n | Ages passing the numeric format rule |
| status_known_n | Fixed + Repairable + End of life counts |
| *_pct for those four completeness measures | 100 × corresponding *_n / mobile_n |
| excluded_provider | One excluded organization; NONE (baseline) retains all |
| retained_mobile_n, retained_eol_n, retained_coded_n | Scenario denominators after source exclusion |
| removed_coded_n | Baseline 350 minus retained_coded_n |
| leading_barrier | Category with maximum count; tied labels sorted and separated by semicolons |
| leading_n | Maximum barrier count in scenario |
| leading_share_pct | 100 × leading_n / retained_coded_n |
| parts_combined_n | Unavailable parts + expensive parts counts |
| parts_combined_share_pct | 100 × parts_combined_n / retained_coded_n |
| leader_changed | 1 if leading category set differs from baseline, else 0 |
| barrier | Exact barrier label from this CSV |
| barrier_n | Count for that barrier in specified scenario |
| coded_denominator_n | Coded EOL count in specified scenario |
| share_pct | 100 × barrier_n / coded_denominator_n |

The source CSV uses Product too worn out; the standard's codelist also uses Item too worn out. No extra seventh category is created. The six recorded labels do not constitute a multi-cause inventory of each repair attempt.

## Sensitivity calculation

Retain all sources for the main result. Then remove each provider in turn and recount all six barriers within coded EOL. The combination of unavailable and expensive parts is a descriptive grouping. No missing-barrier records are reassigned. This procedure measures source-composition sensitivity; it is not a causal analysis, source quality score, sampling uncertainty estimate, or evidence that removing a source improves representativeness.

## Reproduce

1. Download the original CSV from the source link above and extract this resource pack.
2. Run `python3 reproduce.py /path/to/source.csv /path/to/recomputed` with Python 3. No third-party packages or network access are needed by this script.
3. Compare regenerated CSVs and `validation.json` with the supplied files. The script verifies source hash, population counts, unique IDs, dates, valid barrier values, provider and period reconciliation, and the sensitivity ranking change.
4. To redraw the figure, install/use matplotlib in your own environment and run `python3 render_chart.py` beside `period_completeness.csv`. Figure outputs are PNG and SVG. The figure uses a 0–100% axis; colored bars are coded EOL and gray is uncoded EOL.
5. Check package integrity with `sha256sum -c SHA256SUMS.txt` where available. Hashes cover packaged outputs except the checksum list itself.

The exact source CSV is not bundled. Its hash ensures reproducibility when the matching file is available, but this pack is not an independent archive of the raw data.

## Limits for citation

Use records rather than unique devices or people. Do not substitute smartphone for Mobile. Do not equate EOL with disposal or software support ending. Do not generalize the 350 coded records to all EOL, all phones, or a national market. Presence metrics do not validate content. Changes in reporting coverage are not repairability trends. No causal inference, brand durability ranking, repair-price estimate, or confidence interval from random-sampling assumptions is supplied.

Retain the numerator, denominator, category and period when reusing a number. Reference the source ORA dataset and FlawCheck's secondary calculations, state any changes, and preserve CC BY-SA 4.0 attribution for adapted data and charts.
