install-leaderboard
ما الذي تفعله
تثبّت هذه المهارة CARLA Autonomous Driving Leaderboard، وهو برنامج اختبار لبرمجيات القيادة الذاتية، مع الأجزاء المتوافقة التي يحتاجها. وهي مخصصة للفرق التي تريد تقييم برمجياتها بطريقة معيارية.
متى تستخدمها
- ✓عندما تريد إعداد Leaderboard لاختبار برمجيات القيادة الذاتية.
- ✓عندما يكون لديك مجلد Leaderboard وتحتاج إلى معرفة نسخته.
- ✓عندما يفشل Leaderboard في تحميل المسارات وتحتاج إلى التحقق من تطابق كل أجزائه.
رابط المهارة
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/setup/install-leaderboard/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك تثبيت CARLA Leaderboard لي، بالنسخة الحالية، والتأكد من أن كل أجزائه تعمل معًا؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يتحقق الوكيل من النسخ التي تحتاجها، ثم ينزّل Leaderboard والأجزاء المطابقة لسيناريوهاته، ويثبّت متطلباتها، ويتأكد من تحميل كل شيء. ويستطيع أيضًا اكتشاف نسخة مجلد موجود لديك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Install the CARLA Leaderboard
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.
The Leaderboard is an evaluation harness layered on ScenarioRunner: it supplies
routes, a fixed sensor budget, infraction criteria and a scoring formula, and it
imports srunner for the scenarios themselves. So a working install is four
roots that agree on one version:
CARLA build ──▶ scenario_runner branch ──▶ leaderboard branch ──▶ your agent
Get any pair out of step and nothing tells you so directly — routes load and then scenarios never trigger, or the score comes out different from the online one.
Instructions
Progress:
- [ ] Step 1: Decide the leaderboard version (1.0 / 2.0 / 2.1)
- [ ] Step 2: Get the CARLA build that version needs
- [ ] Step 3: Clone leaderboard + the matching scenario_runner branch
- [ ] Step 4: Install both requirement sets
- [ ] Step 5: Record the roots with `set_config`, then verify (bash scripts/check_env.sh)
Step 1: Which version
| LB 1.0 | LB 2.0 | LB 2.1 | |
|---|---|---|---|
| Status | legacy | superseded | current (since Mar 2025) |
| CARLA | 0.9.10.1 | leaderboard build (0.9.14 + large maps) | same as 2.0 |
leaderboard branch |
leaderboard-1.0 |
leaderboard-2.0 |
leaderboard-2.1 |
scenario_runner branch |
leaderboard-1.0 |
leaderboard-2.0 |
leaderboard-2.1 |
| Towns | Town01–Town06 | Town12 / Town13 | Town12 / Town13 |
| Routes | 50 train / 26 test / 4 devtest | 90 train / 20 val / 2 devtest | same as 2.0 |
| Tracks | SENSORS, MAP | + SENSORS_QUALIFIER, MAP_QUALIFIER | same as 2.0 |
| Sensor budget | 4 cam / 1 lidar / 2 radar | 8 cam / 2 lidar / 4 radar | same as 2.0 |
| Infraction penalty | multiplicative | multiplicative | additive |
CARLA on UE 5.8: use the ue58-dev pair. The leaderboard repo has a
ue58-dev branch (2b3eaa7). Its CHANGELOG says it works against CARLA UE5
servers, paired with the scenario_runner ue58-dev branch. It resolves town names
through CarlaDataProvider.resolve_map_name, and its routes are Town12/Town13.
install_leaderboard.py --version does not cover it; clone the pair by hand:
git clone -b ue58-dev --single-branch https://github.com/carla-simulator/leaderboard.git
git clone -b ue58-dev --single-branch https://github.com/carla-simulator/scenario_runner.git
detect and the leaderboard group's check_env.sh (e.g. [[run-leaderboard-evaluation]])
treat both repos on ue58-dev as a matched pair.
2.0 and 2.1 differ in exactly one file. leaderboard/utils/statistics_manager.py
— 38 lines. Same routes, same scenarios, same CARLA, same sensors. Only the
maths that turns infractions into a penalty changed. Detail in
references/versions.md.
master is the 2.0 line, not 2.1. Its penalty table still has
PENALTY_PERC_DICT and the 0.5/0.6/0.65 multiplicative coefficients. If you
want to reproduce a score from the live leaderboard, check out leaderboard-2.1.
python3 scripts/install_leaderboard.py detect # what is here, and which version is it?
python3 scripts/install_leaderboard.py plan --version 2.1
detect identifies the version of any existing checkout from its code —
SENSORS_QUALIFIER in autonomous_agent.py separates 2.x from 1.0, and
PENALTY_PERC_DICT in statistics_manager.py separates 2.0 from 2.1 — so it is
right even for a tarball, a docker image or a detached HEAD.
Step 2: CARLA
LB 2.x does not run on a stock release. It needs the leaderboard build, whose
Python client reports the literal version string leaderboard (the evaluator
special-cases it and skips its own minimum-version check). Get it from
leaderboard.carla.org.
A stock 0.9.15/0.9.16 with AdditionalMaps installed gets you Town12/Town13 and will run routes, which is fine for developing an agent — but it is not the evaluation environment, so treat any score from it as indicative only.
LB 1.0 needs 0.9.10.1 exactly; [[download-carla]] can fetch it.
Step 3-4: Clone and install
# LB 2.1 (current)
git clone -b leaderboard-2.1 --single-branch https://github.com/carla-simulator/leaderboard.git
git clone -b leaderboard-2.1 --single-branch https://github.com/carla-simulator/scenario_runner.g
الأسئلة الشائعة
أي نسخة من Leaderboard أستخدم؟
تعلّم المهارة النسخة 2.1 بوصفها الحالية، فمعظم الناس يختارونها.
لماذا يجب أن تتطابق كل الأجزاء؟
يجب أن يتوافق Leaderboard وأدوات السيناريوهات ونسخة CARLA، وإلا قد تخرج المسارات والنتائج خاطئة.
هل تستطيع فحص تثبيت موجود؟
نعم. تقرأ الشيفرة في المجلد الموجود لتعرف نسخته.
التفاصيل
الوصف الأصلي من المؤلف
Installs the CARLA Autonomous Driving Leaderboard (leaderboard.carla.org) at a chosen version — 1.0, 2.0 or 2.1 — together with the exact scenario_runner branch and CARLA build each one requires, then wires the four-root PYTHONPATH and verifies the whole stack imports. Detects which version an existing checkout is by reading its code, not its branch name. Use when the user asks to "install the leaderboard", "set up the CARLA challenge", "evaluate my driving agent", "reproduce my leaderboard score", or names a leaderboard version.
repo: carla-simulator/carla
الشعبية
- نجوم GitHub
- 15k
- الترتيب
- #11117
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
create-leaderboard-route
15kيساعد وكيلك على بناء ملفات مسارات CARLA Leaderboard بوضع نقاط الطريق ومحفزات السيناريوهات من كاميرا المحاكي، ثم فحصها وترتيبها.
package-leaderboard-agent
15kيساعد وكيلك على تغليف وكيل قيادة في صورة Docker لتقديمه إلى CARLA Leaderboard، مع فحص بنية المجلدات واختبار أن الصورة تحمّله.
read-leaderboard-results
15kيساعد وكيلك على قراءة ملف نتائج CARLA Leaderboard، وشرح درجة كل مسار ومخالفاته، وإعادة احتساب التشغيل بقواعد النسخة الأخرى.
run-leaderboard-evaluation
15kيساعد وكيلك على تشغيل مقيّم CARLA Leaderboard على مجموعة مسارات مع وكيل قيادتك، بفحص الإعداد أولًا وحفظ نقاط يمكن استئناف التشغيل منها.
مهارات مشابهة
openclaw-update
394kيساعد وكيلك على تحديث بوابة OpenClaw Gateway الموجودة، مع اختيار طريقة التحديث المناسبة لطريقة تثبيتها والحفاظ على جلستك.
diagnose-gateway
394kيساعد وكيلك على معرفة سبب فشل بوابة OpenClaw Gateway عبر فحص الإعدادات والقنوات والمنافذ دون تغيير أي شيء.
crabbox-apps
394kيساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.