Skip to content

Commit

Permalink
Merge pull request #72 from tier4/chore/update-use-case-format-version
Browse files Browse the repository at this point in the history
chore: update use case format version
  • Loading branch information
hayato-m126 authored Dec 25, 2024
2 parents e4ae6c2 + 7c17ab5 commit 24d9598
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class Conditions(BaseModel):

class Evaluation(BaseModel):
UseCaseName: Literal["perception"]
UseCaseFormatVersion: Literal["1.0.0"]
UseCaseFormatVersion: Literal["1.0.0", "1.1.0"]
Datasets: list[dict]
Conditions: Conditions
PerceptionEvaluationConfig: dict
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class Conditions(BaseModel):

class Evaluation(BaseModel):
UseCaseName: Literal["traffic_light"]
UseCaseFormatVersion: Literal["1.0.0"]
UseCaseFormatVersion: Literal["1.0.0", "1.1.0"]
Datasets: list[dict]
Conditions: Conditions
PerceptionEvaluationConfig: dict
Expand Down
2 changes: 1 addition & 1 deletion sample/perception/scenario.ja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SensorModel: sample_sensor_kit
VehicleModel: sample_vehicle
Evaluation:
UseCaseName: perception
UseCaseFormatVersion: 1.0.0
UseCaseFormatVersion: 1.1.0
Datasets:
- sample_dataset:
VehicleId: default # データセット毎にVehicleIdを指定する
Expand Down
2 changes: 1 addition & 1 deletion sample/perception/scenario.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SensorModel: sample_sensor_kit
VehicleModel: sample_vehicle
Evaluation:
UseCaseName: perception
UseCaseFormatVersion: 1.0.0
UseCaseFormatVersion: 1.1.0
Datasets:
- sample_dataset:
VehicleId: default # Specify VehicleId for each data set.
Expand Down
2 changes: 1 addition & 1 deletion sample/traffic_light/scenario.ja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SensorModel: aip_xx1
VehicleModel: jpntaxi
Evaluation:
UseCaseName: traffic_light
UseCaseFormatVersion: 1.0.0
UseCaseFormatVersion: 1.1.0
Datasets:
- sample:
VehicleId: "7" # データセット毎にVehicleIdを指定する
Expand Down
2 changes: 1 addition & 1 deletion sample/traffic_light/scenario.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SensorModel: aip_xx1
VehicleModel: jpntaxi
Evaluation:
UseCaseName: traffic_light
UseCaseFormatVersion: 1.0.0
UseCaseFormatVersion: 1.1.0
Datasets:
- sample:
VehicleId: "7" # Specify VehicleId for each data set.
Expand Down

0 comments on commit 24d9598

Please sign in to comment.