技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
submission-and-cli【数据与研究】Operate the nuPlan database CLI and the v1.2.2 planner submission boundary: inspect databases, configure a Hydra submission planner, preserve the gRPC contract, package a container, and diagnose safe submission failures.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this route when the task concerns nuplan_cli, database inspection,
submission packaging, planner serving, gRPC/EvalAI protocol behavior, Docker
Compose integration, or a submission error. This is an operating guide for
nuPlan-devkit 1.2.2 (Python 3.9+); it is not a replacement for the planner,
simulation, map, or scenario APIs.
AbstractPlanner, simulation, controller, and metric questions to the
simulation-and-evaluation route.The package installs the console script nuplan_cli, backed by
nuplan.cli.nuplan_cli:main. The top-level command currently exposes the
db group only:
nuplan_cli --help
nuplan_cli db --help
nuplan_cli db info --help
nuplan_cli db duration --help
nuplan_cli db log-duration --help
nuplan_cli db log-vehicle --help
nuplan_cli db scenarios --help
Each DB command takes an optional positional DB_VERSION (a local database
path or a path accepted by the package's data helper) and the --data-root
option. The five commands are info, duration, log-duration,
log-vehicle, and scenarios; exact output and defaults are in the CLI
reference. A real query calls the package's download helper when the selected
path is absent, so pass an existing local file or stop at --help when the
user asked only for syntax.
AbstractPlanner contract and should not require a
scenario object for a competition submission.default_submission_planner, requires planner=..., seeds through
cfg.seed, constructs SubmissionPlanner(cfg.planner), and serves gRPC.entrypoint_submission.sh. Add dependencies to requirements_submission.txt
and copy model assets from the Docker build context when necessary.evalai push command.The following are organizer-owned or generated and must remain unchanged:
nuplan/submission/protos/challenge.protonuplan/submission/challenge_pb2.pynuplan/submission/challenge_pb2_grpc.pynuplan/submission/submission_container.pynuplan/submission/submission_planner.pyDo not patch these files to solve version, port, serialization, or timeout
errors. The allowed customization is the planner implementation/configuration,
its declared dependencies/assets, and the intended planner-selection portion
of entrypoint_submission.sh. The checker rejects protected paths declared as
changed.
Use the bundled static checker. From the repository root, create a JSON manifest and run:
python skills/disco/nuplan-devkit/sub-skills/submission-and-cli/scripts/check_submission_manifest.py \
--root . --manifest submission-manifest.json
python skills/disco/nuplan-devkit/sub-skills/submission-and-cli/scripts/check_submission_manifest.py \
--root . --manifest submission-manifest.json --quiet
The manifest format and all checks are documented in the contract. A zero exit status means only that the declared static facts pass; it does not prove a planner can initialize, compute within the one-second iteration budget, access maps, or run in Docker. A nonzero result is actionable and should be fixed before any build or upload.
Stop and ask for clarification when the requested phase, image tag, dataset root, map availability, or intended planner config is unknown and affects a side-effecting action. Report missing data separately from protocol defects. Never download a dataset in a help-only path. Never put tokens, private paths, inspection environment names, generated reports, or checkout links into a runtime instruction or manifest example.
For every handoff, state: command attempted, selected DB/config/image, whether this was help-only, local, or remote, exact failure surface, and which checks remain unverified. Keep detailed symptoms and recovery recipes in troubleshooting.