read-leaderboard-results
Что он делает
Скилл читает и объясняет результаты запуска CARLA Leaderboard. Он нужен разработчикам, которые хотят понять, почему их агент потерял баллы.
Когда использовать
- ✓Когда у вас есть файл результатов Leaderboard и вы хотите, чтобы его оценки были объяснены.
- ✓Когда вы хотите понять, какие маршруты и нарушения снизили оценку.
- ✓Когда цифры не совпадают с онлайн-таблицей и нужно пересчитать запуск.
Ссылка на скилл
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/leaderboard/read-leaderboard-results/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Прочитай мой results.json, скажи, какие маршруты получили худшие оценки и почему, и пересчитай по правилам 2.1.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент кратко описывает файл и перечисляет для каждого маршрута оценку вождения, завершённость маршрута и штраф, затем внимательно смотрит на самые слабые маршруты. Он может пересчитать оценку по правилам другой версии без повторного запуска.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Read leaderboard results
Paths.
scripts/…andreferences/…below are relative to the directory holding this SKILL.md. Your working directory is the user's project, not that directory, so prefix them with its absolute path or the command is not found.
driving score = route completion × infraction penalty
Route completion is the percentage of the route driven. The infraction penalty starts at 1.0 and is reduced by what you did wrong — and how it is reduced is the one thing that changed between 2.0 and 2.1.
Instructions
Progress:
- [ ] Step 1: Read the file (summary)
- [ ] Step 2: Drill into the routes that scored badly
- [ ] Step 3: If the numbers disagree with the online leaderboard, rescore
Step 1: Summary
python3 scripts/read_results.py ~/results/results.json
Prints entry status and eligibility, the declared sensors, progress, a per-route table (driving score / route % / penalty / top infractions), and the global record with mean and standard deviation.
Two fields decide whether the run counts at all:
entry_status—Finished,Started,Rejected,CrashedorInvalid.eligible—Trueonly forFinished. One crashed route out of 90 makes the entire entry ineligible, not just that route.
Step 2: Drill in
python3 scripts/read_results.py results.json --route RouteScenario_3 -v
Full scores, meta (route length, game and wall-clock duration) and every infraction
message with its location. The -v messages are what tell you where the ego hit
something, which is the difference between "collided" and "collided at the
Accident scenario in the third junction".
Reading a score:
| Symptom | Read as |
|---|---|
| route % high, penalty low | drives the route but breaks rules |
| route % low, penalty 1.0 | clean but stops early — check vehicle_blocked, route_dev, route_timeout |
status Agent got blocked |
ActorBlockedTest fired; the ego stood still too long |
status Agent crashed |
an exception in run_step, or a watchdog timeout |
eligible: false with good scores |
some route did not finish; find it and fix it |
outside_route_lanes large |
driving on the wrong lane; it reduces route completion, not the penalty |
Step 3: Rescore across versions
python3 scripts/read_results.py results.json --as 2.1 # 2.0 result, 2.1 rules
python3 scripts/read_results.py results.json --as 2.0
This is exact for constant-penalty infractions, because the infraction counts
are what both formulas consume and the file stores them precisely. Verified
round-trip: rescoring a 2.0 file --as 2.0 reproduces its stored scores to the
cent.
The difference is large and not a constant offset:
| pedestrian collisions on a completed route | 2.0 | 2.1 |
|---|---|---|
| 1 | 50.0 | 50.0 |
| 2 | 25.0 | 33.3 |
| 5 | 3.1 | 16.7 |
2.0 multiplies (P = Π p_j^n_j), so the first infraction is cheap and later ones
are nearly free — which rewarded stopping early. 2.1 sums
(P = 1/(1+Σ c_j n_j)), so every infraction costs the same absolute amount. Full
coefficient tables in references/scoring.md.
min_speed_infractions and outside_route_lanes scale with a percentage the file
does not store, so rescoring leaves them out and says so — those routes come out as
an upper bound.
Compare and merge
python3 scripts/read_results.py before.json after.json --diff
python3 scripts/read_results.py shard0.json --merge shard1.json shard2.json --out all.json
--diff matches by route id and reports the score delta plus which infraction
counts changed. --merge joins shards from parallel runs; it does not recompute the
global record — use the leaderboard's own scripts/merge_statistics.py when you
need an official global score.
Examples
Example 1: "what did my agent score?"
read_results.py results.json. The global driving score mean is the number that
would rank you; the std dev tells you how much of it is luck.
Example 2: "why is my score 12 when route completion is 95%?"
--route <id> -v. A penalty of ~0.13 with 95% completion means several
infractions. Under 2.0 that is roughly three collisions; the messages name them.
Example 3: "my local score doesn't match my submission"
Check which version produced the file: master and leaderboard-2.0 score
multiplicatively, the live leaderboard has scored additively since March 2025.
--as 2.1 converts
Частые вопросы
Как считается оценка вождения?
Это завершённость маршрута, умноженная на штраф за нарушения.
Почему один аварийный маршрут так важен?
Запуск считается допущенным, только если он завершён (Finished), поэтому один аварийный маршрут делает всю заявку недопустимой.
Что изменилось между версиями?
Способ снижения штрафов за нарушения: в версии 2.0 он мультипликативный, в версии 2.1 аддитивный.
Подробности
Оригинальное описание автора
Reads a CARLA Leaderboard results.json — per-route driving score, route completion, infraction penalty and the infraction lists — explains how the score was computed for that leaderboard version, and rescores an existing result under the other version's rules (2.0 multiplicative vs 2.1 additive) without re-running anything. Also diffs two runs and merges sharded result files. Use when the user asks "what did I score", "why is my score low", "did my agent pass", "why don't my scores match the leaderboard", or hands over a results.json.
repo: carla-simulator/carla
Популярность
- Звёзды на GitHub
- 15k
- Место в рейтинге
- #11081
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
create-leaderboard-route
15kПомогает агенту создавать маршруты для CARLA Leaderboard: расставлять путевые точки и триггеры сценариев из камеры симулятора, проверять и упорядочивать их.
package-leaderboard-agent
15kПомогает агенту упаковать агента вождения в Docker-образ для отправки на CARLA Leaderboard: проверить структуру папок и убедиться, что образ загружает агента.
run-leaderboard-evaluation
15kПомогает агенту запустить оценщик CARLA Leaderboard на наборе маршрутов с вашим агентом: проверить настройку, сохранять контрольные точки и продолжать с них.
write-leaderboard-agent
15kПомогает агенту написать агента вождения для CARLA Leaderboard: с правильным классом, набором датчиков в рамках ограничений трассы и рабочим стартовым файлом.
Похожие скиллы
gitcrawl
394kПозволяет агенту искать в сохраненном архиве задач и запросов на слияние GitHub, объединять дубликаты и проверять их текущий статус на GitHub.
slacrawl
394kПозволяет агенту искать и считать сообщения в локальном архиве Slack, проверять его свежесть и при необходимости обновлять архив.
goplaces
394kПомогает агенту искать места, получать их подробности и отзывы и определять названия мест через Google Places, с выводом в JSON для скриптов.