read-leaderboard-results
하는 일
스킬은 CARLA Leaderboard 실행의 출력을 읽고 설명합니다. 에이전트가 왜 점수를 잃었는지 알고 싶은 개발자를 위한 스킬입니다.
사용하는 경우
- ✓Leaderboard 결과 파일이 있고 그 점수를 설명받고 싶을 때.
- ✓어떤 경로와 위반이 점수를 낮췄는지 보고 싶을 때.
- ✓숫자가 온라인 리더보드와 맞지 않아 실행을 다시 채점해야 하는 경우.
스킬 링크
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/leaderboard/read-leaderboard-results/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
create-leaderboard-route
15k카메라 화면에서 웨이포인트와 시나리오 트리거를 배치하고, 확인하고, 순서를 정해 CARLA 리더보드 경로 파일을 만들도록 에이전트를 돕습니다.
package-leaderboard-agent
15k주행 에이전트를 CARLA Leaderboard 제출용 Docker 이미지로 패키징하고, 폴더 구조를 확인하며 이미지가 에이전트를 로드하는지 테스트하도록 돕습니다.
run-leaderboard-evaluation
15k주행 에이전트로 경로 세트에 대한 CARLA Leaderboard 평가를 실행하도록 돕습니다. 먼저 설정을 확인하고, 재개할 수 있는 체크포인트를 저장합니다.
write-leaderboard-agent
15k올바른 클래스, 트랙 제한 안의 센서 구성, 작동하는 시작 파일을 갖춘 CARLA Leaderboard용 주행 에이전트를 작성하도록 에이전트를 돕습니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.