1# tools/agreement 2 3How often listeners agree with Jev's art critic. The jev panel's "do you 4agree with Jev?" asks a listener which of two songs is more art, and posts 5the pick to the site (`website/src/jev/agree.mjs`), which keeps a count per 6pair and pick (`worker/src/votes.ts`). `agreement.mjs` reads those counts 7from `GET /jev/votes/summary` and scores them against each song's current 8`critic.art` in its `SPEC.md` (`tools/critic/`). 9 10```sh 11nix run .#agreement # the public site 12nix run .#agreement -- --url http://localhost:4324 # `buck2 run //:preview`, or any deploy 13``` 14 15It prints the overall share of votes whose pick is the song the critic 16scores higher, then a line per song: its score, and the share over the 17votes on pairs it was in. Left out, and counted as such: votes on pairs the 18critic scores equally (no preference, as on the page), and votes on songs 19no longer in the repo or never scored. 20 21Agreement is always against the scores as they stand: a rescore moves it, 22since a vote records only the pair and the pick.