# Do votes get feature requests built?

Across open-source data tools, does the number of user votes on a feature request predict whether it ships, and how
fast? This study takes the 79 open-source data tools whose votes are dense enough to rank, the 20 most-voted feature
requests in each (1,580 requests, opened 2019 to mid-2023), and follows every one for three years. Inside each
project, the most-voted requests showed no detectable shipping advantage over the less-voted ones. The page is `index.html`.

## Data

Issue metadata read through the code-hosting platform's official interface with an existing login: vote counts
(thumbs-up reactions) with their timestamps, labels, state, close reason, the closing event and the pull requests that
reference each request. No request title, body, comment or account name is stored or published. For the account that
closed a request, only whether it was an automation is kept.

- `data/selection.json`: the selection rule, the walk log and each kept project's 20 most-voted requests (number,
  opening date, votes). Selection read only vote counts and opening dates.
- `data/outcomes.json`: what the collection returned for every request, reduced to metadata.
- `data/requests.csv`: one row per request with its vote decile and outcome class.
- `data/landmark_sample.json`: the first follow-up's sample, each project's 20 requests with the most votes in their
  first 90 days among those still open at day 90, with their outcomes; `data/landmark_sample2.json`: the same, rebuilt
  with each request's state at day 90 read from its close and reopen events (the second follow-up).

## Reproduce

Python 3.12, standard library only.

```
python3 -B tests/test_votes.py
python3 -I -B tools/analyze.py data/outcomes.json
python3 -I -B tools/predictions.py
python3 -I -B tools/change1.py
python3 -I -B tools/change2.py
python3 -I -B site/render.py
```

`analyze.py` replays every result from `data/outcomes.json` with no network and no login; the tests check that the
replay matches the published results byte for byte. To collect afresh, set `VOTES_CACHE` to a new directory and run
`tools/candidates.py`, `tools/select_projects.py`, `tools/collect.py`, `tools/verify.py`, `tools/landmark_sample.py` and `tools/landmark_sample2.py` in that order with your own
login (the platform's rate limits apply). Vote counts move over time, so a fresh collection
will differ a little. The download holds no request titles or account names; the
verification sample's verdicts are in `results/verification.json`, and re-running `tools/verify.py` needs a fresh
collection. One selection step, which leaves out projects owned by companies on a private list, reads a file that is not
published; it removed 3 of 460 candidates.

## Files

- `DESIGN-r1.md`, `protocol-r1.json`: the design and the frozen rules, committed before any outcome was read.
- `predictions-r1.json`: the six predictions as declared; `results/predictions.json` scores them.
- `CHANGE-1.md`, `protocol-change-1.json`: the first follow-up, decided after the results and committed before its runs: the
  90-day comparison on a sample picked at day 90, a stricter link rule, and checks; `tools/change1.py` writes
  `results/change1.json`.
- `CHANGE-2.md`, `protocol-change-2.json`: the second follow-up, the same sample rebuilt with the state at day 90 read from each
  request's events; `tools/change2.py` writes `results/change2.json`.
- `tools/analyze.py`: the outcome classifier and every measure; `results/summary.json` is its output.
- `tools/verify.py`: the check of 60 sampled outcomes against a second record; `results/verification.json`.
- `assumptions.json`: the money assumptions behind the page's "What it is worth" section.
- `site/render.py`, `site/page.css`: the page. Every number on it comes from `results/`, `data/` or
  `assumptions.json`, and the claims the text makes are asserted in `render.py`.
- `vendor/viz-design-system/`: the chart kit (version 2.3.0) with its licences.

## Use of the data

The platform's acceptable use policy allows research on public, non-personal information when the publication is open
access. This study publishes only project-level counts and request numbers.

Some files are packed in votes-and-shipping-data-1.zip; unzip it here to restore the full export, which the manifest lists file by file.
