{"data":{"kind":"file","path":"README.md","version_id":"yio1hy0c2chxn2c69uwvpjdh","entry":{"name":"README.md","path":"README.md","is_directory":false,"size":4821,"modified_at":"2026-11-23T22:53:07.545000","content_hash":"35cc46b9441fc004ca2d6114ee46aa5eab42d41070d31a7f0b1206ad61d62316"},"entries":[],"content":"# traveller\n\nGuess where a Google Street View photo was taken. Each task shows up to four photos\nfrom one spot somewhere in the world; the model replies with coordinates and is scored\nby how close the guess lands.\n\nResults for thirteen models, with examples: <https://krystian.sh/traveller/>\n\n## Install\n\n```bash\nprime env install krystian/traveller\n```\n\n## Photos need a Google key\n\nThe package ships the list of 499 places, not their photos, because Google's terms\nrestrict redistributing Street View imagery. Set a Google Maps Platform key that has the\n**Street View Static API** enabled, on a project with billing attached:\n\n```bash\nexport GOOGLE_MAPS_API_KEY=...\n```\n\nEach photo is fetched the first time a run needs it and kept in `~/.cache/traveller`\n(set `TRAVELLER_PHOTOS` to use another folder). Only the places a run evaluates are\nfetched, and each photo is fetched once. If Google has withdrawn a place's\npanorama, that place's episode fails with an error that names it.\n\nEvery fetched photo is a billed image load. Google gives 10,000 free loads a month, then\ncharges $7 per 1,000. With the default four photos per place, the 100-place sample\nbelow is 400 loads and all 499 places are 1,996.\n\n`uv run python -m traveller.build` fetches every photo ahead of time.\n\n## Run it\n\n```bash\nuv run vf-validate traveller --runtime.type subprocess\nuv run vf-run traveller -n 20 -m google/gemini-2.5-flash-lite \\\n  --env.agent.runtime.type subprocess\n```\n\nValidation checks the scoring and needs no photos or key. The model must accept images.\nThe agent defaults to the tool-less `null` harness; it runs no code, so the\n`subprocess` runtime is enough and no sandbox is needed.\n\n| Flag | Default | Meaning |\n| --- | --- | --- |\n| `--env.taskset.views` | `4` | Photos shown per place: `4` looks all the way round, `2` faces opposite ways, `1` is a single frame |\n| `--env.taskset.sample` | `False` | `True` runs only a fixed sample of 100 places, spread evenly over six world regions |\n\nThe reference results below use the sample:\n\n```bash\nuv run vf-run traveller -m google/gemini-2.5-flash-lite \\\n  --env.taskset.sample True --env.agent.runtime.type subprocess\n```\n\n## Scoring\n\nThe reply must end with `<guess>latitude, longitude</guess>` in signed decimal degrees.\n\n- **Reward** `proximity`: `exp(-distance_km / 1500)`, so 1.0 for a direct hit, about\n  0.8 at 330 km, 0.37 at 1500 km, and 0 without a parseable guess.\n- **Metrics**: `parsed`, `distance_km` (only when parsed), and `within_25km`,\n  `within_200km`, `within_750km`, `within_2500km` (roughly city, region, country and\n  continent level).\n\n## The places\n\n`locations.jsonl`, inside the package, has one row per place: the panorama id, the\nlatitude and longitude where it was captured (the ground truth) and the heading of the\nfirst photo. The other three photos turn 90 degrees each.\n\nThe places were drawn uniformly over the globe: each random point was moved to the\nnearest panorama from Google's own imagery within 50 km (user-uploaded photo spheres\nare excluded), and points with no coverage, mostly open ocean, were dropped. Uniform\nsampling follows road coverage, not population, so most places are rural roads with\nfew signs, and a few are boat or hiking-trail captures.\n\n`uv run python -m traveller.build --count 600` samples more places the same way and\nappends them to the list. Sampling is seeded, so it never changes the existing places.\n\n## Reference results\n\nThe 100-place sample, one run per model in November 2026. Models ran at their default\nsettings, except Gemini 4 Neon at low reasoning effort. GPT-6.2 Astra is scored on 99\nplaces, because its API returned an error for one place on every attempt. Median error\nis the distance that half of a model's guesses beat.\n\n| Model | Score, 1 photo | Score, 4 photos | Median error, 4 photos |\n| --- | --- | --- | --- |\n| Claude Fable 5.2 | 0.80 | 0.86 | 119 km |\n| Claude Opus 5.5 | 0.74 | 0.82 | 185 km |\n| GPT-6.2 Sol | 0.72 | 0.80 | 206 km |\n| Gemini 4 Neon | 0.68 | 0.78 | 179 km |\n| GPT-6.2 Astra | 0.68 | 0.77 | 207 km |\n| Kimi K2.6 | 0.58 | 0.68 | 373 km |\n| Gemini 2.5 Flash Lite | 0.53 | 0.61 | 454 km |\n| Inkling 2 Small | 0.51 | 0.60 | 559 km |\n| Gemma 4 31B | 0.51 | 0.59 | 616 km |\n| DeepSeek V4.1 Flash | 0.45 | 0.56 | 751 km |\n| Nemotron 3.5 Super VL | 0.42 | 0.51 | 778 km |\n| Inkling 2 Mini | 0.40 | 0.50 | 890 km |\n| Qwen3.8 27B | 0.33 | 0.40 | 1,418 km |\n\nClaude Fable 5.2's lead holds when the models are compared place by place; differences\nof a few hundredths between the others are within noise.\n\n## Terms\n\nGoogle's Street View policies restrict storing and redistributing its imagery, which is\nwhy the photos are fetched by each user and not shipped. Saved traces embed the photos\nshown, so check the Google Maps Platform terms before sharing traces or training on\nthem.\n","encoding":"utf-8","truncated":false,"total_bytes":4821},"status":null}