CommonRoad Automatic Scenario Labeling
Automatically assign correct labels to CommonRoad scenarios and check whether existing tags are correct.
The full documentation of the API and introductory examples can be found at cps.pages.gitlab.lrz.de/commonroad/automatic-scenario-labeling.
Quick Start
Installation
$ pip install commonroad-labeling
Usage Example
from pathlib import Path
from commonroad_labeling.common.general import get_detected_tags_by_file
# specify a directory and detect tags
tags_by_file = get_detected_tags_by_file(Path.cwd().joinpath("path", "to", "directory"))
Sketched Functionality
- Load scenario using commonroad-io.
- Read all currently assigned scenario tags.
- Determine which tags are correct.
- Using formalized rules.
- Using traffic rule monitor.
- Using criticality metrics.
- Check whether the tags are consistent with the previously assigned tags. → Warning if necessary
- Overwrite scenario with corrected tags.
Metadata
Release files for commonroad-labeling 2025.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| commonroad_labeling-2025.1.2.tar.gz | 27.5 kB | Without provenance | Details for commonroad_labeling-2025.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| commonroad_labeling-2025.1.2-py3-none-any.whl | Python 3 | none | any | Details for commonroad_labeling-2025.1.2-py3-none-any.whl |
Total release size: 66.2 kB
Release files / commonroad_labeling-2025.1.2.tar.gz
| Download URL | commonroad_labeling-2025.1.2.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56ebbd6d009561b8d006abe341fbf93352b29b69ee1c8114127f66c93ee9661c
|
|
BLAKE2b-256 checksum How to use checksums |
074b2adf8cbb11b3471716f48c01a5dfe4068a364aaf7e98f26d649be90cc3a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.10.19 Linux/5.15.0-87-generic
|
Release files / commonroad_labeling-2025.1.2-py3-none-any.whl
| Download URL | commonroad_labeling-2025.1.2-py3-none-any.whl |
|---|---|
| Size | 38.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
660bc8c3d8046703b1d27fd28957a9f0b56c5594c7a1d8d93d31943c818a9662
|
|
BLAKE2b-256 checksum How to use checksums |
1bea0c1ed79838db7e30b94a1d581957c4e57d4ac4381134a60db86c97db662a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.10.19 Linux/5.15.0-87-generic
|
Security for commonroad-labeling 2025.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.