# US 11,853,292 B2 · Evaluating driving data with a modular and configurable evaluation framework

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,853,292 B2
- Document ID: US11853292B2
- Status: Granted
- Kind: B2
- Application number: 16/985,842
- Filed: 2020-08-05
- Published: 2022-02-10
- Granted: 2023-12-26
- Earliest claimed: 2020-08-05
- Assignees: Woven by Toyota, U.S., Inc.
- Applicants: Woven by Toyota, U.S., Inc.
- Inventors: Shaojing Li; Yingting Xiao
- Web page: https://patentgrep.com/patent/US11853292B2

## CPC

- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G07C 5/002: {Analysing tachograph charts (arrangements for graph-reading in general G06K11/00)}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G07C 5/006: {Indicating maintenance}
- G07C 5/02: Registering or indicating driving, working, idle, or waiting time only (apparatus forming part of taximeters G07B13/00)
- G07C 5/08: Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G07C: TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE

## Abstract

In one embodiment, a method includes receiving a request for evaluating driving data included in a data log, accessing, based on the request, an evaluation configuration file that includes a metric-calculation configuration specifying one or more metric calculators configured to generate one or more output metrics from the driving data and a validation configuration configured to validate the one or more output metrics, instantiating the one or more metric calculators specified by the metric-calculation configuration included in the evaluation configuration file, determining particular driving data from the driving data included in the data log based on the one or more instantiated metric calculators, and generating the one or more output metrics for the particular driving data by using the instantiated one or more metric calculators.

## Claims

### Claim 1

A method comprising, by a computing system:
receiving a request for evaluating driving data included in a data log acquired from sensors of a vehicle;
instantiating, from an evaluation configuration file associated with the request, one or more metric-calculators configured to generate one or more output metrics from the driving data, wherein the evaluation configuration file specifies a validation configuration to validate the output metrics and a metric-calculation configuration specifying the metric calculators,
wherein instantiating includes modifying generic code snippets into modified snippets according to the metric-calculation configuration and compiling and executing, using an electronic processor, the modified snippets to implement the metric calculators by integrating information from the evaluation configuration file to adapt the generic code snippets;
determining particular driving data from the driving data included in the data log based on the one or more metric calculators; and
generating the output metrics for the particular driving data by using the metric calculators to calculate attributes about control of the vehicle, including dynamics of the vehicle and relationships to objects in a surrounding environment, and wherein the validation configuration specifies limits and conditions on the dynamics and the relationships to determine when control of the vehicle is satisfactory.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
validating the one or more output metrics by using the validation configuration.

### Claim 3 (depends on 2)

The method of claim 2, wherein the validation configuration specifies one or more validators, and wherein validating the one or more output metrics by using the validation configuration comprises:
instantiating the one or more validators specified by the validation configuration included in the evaluation configuration file; and
generating one or more validation results by processing the one or more output metrics using the one or more validators.

### Claim 4 (depends on 1)

The method of claim 1, wherein each of the one or more metric calculators comprise at least one of a numeric metric calculator or a time series metric calculator, and the one or more output metrics, generated by using the instantiated one or more metric calculators, comprise at least one numeric metric and at least one time series metric.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
validating the at least one numeric metric and the at least one time series metric by using the validation configuration, wherein the validating comprises:
determining whether the at least one numeric metric and the at least one time series metric satisfy one or more expected threshold values; and
if the at least one numeric metric and the at least one time series metric satisfy the one or more expected threshold values, publishing a pass result,
else if the at least one numeric metric and the at least one time series metric fail to satisfy the expected threshold values, publishing a fail result.

### Claim 6 (depends on 1)

The method of claim 1, wherein the metric-calculation configuration further specifies one or more metric filters, wherein each metric filter filters the driving data based on a specific condition and a range of values associated with the specific condition.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more output metrics comprise one or more of a trajectory metric, a distance magnitude, a longitudinal distance from obstacles, a lateral distance from obstacles, a vehicle state, or a custom-defined metric.

### Claim 8 (depends on 1)

The method of claim 1, further comprising validating the one or more output metrics by using the validation configuration, wherein the validating comprises comparing the output metrics against a single threshold for a plurality of different conditions using a generic validator specified by the validation configuration.

### Claim 9 (depends on 1)

The method of claim 1, wherein the metric-calculation configuration is based on one or more generic code snippets reusable for a plurality of different conditions, wherein the method further comprises:
evaluating the driving data for a condition from the plurality of different conditions upon receiving a user input based on the one or more generic code snippets.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
generating, by a synchronizer, one or more of a synchronized vehicle motion state, a synchronized agent motion state, or a synchronized data log message; and
feeding the one or more of the synchronized vehicle motion state, the synchronized agent motion state, or the synchronized data log message to the metric-calculation configuration.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
determining a certain condition is satisfied;
identifying a certain portion of the driving data corresponding to the certain condition; and
generating the one or more output metrics for the certain portion of the driving data.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
receiving new driving data different from the driving data included in the data log; and
generating the one or more output metrics for the new driving data based on the metric-calculation configuration by using the instantiated one or more metric calculators on the new driving data.

### Claim 13

A system comprising: one or more processors and one or more computer-readable non-transitory storage media, the one or more computer-readable non-transitory storage media comprising instructions operable when executed by the one or more processors to cause the system to perform operations comprising:
receiving a request for evaluating driving data included in a data log acquired from sensors of a vehicle;
instantiating, from an evaluation configuration file associated with the request, one or more metric calculators configured to generate one or more output metrics from the driving data, wherein the evaluation configuration file specifies a validation configuration configured to validate the one or more output metrics,
wherein instantiating includes modifying generic code snippets into modified snippets according to the metric calculation configuration and compiling and executing, using an electronic processor, the modified snippets to implement the one or more metric calculators by integrating information from the evaluation configuration file to adapt the generic code snippets;
determining particular driving data from the driving data included in the data log based on the one or more metric calculators; and
generating the output metrics for the particular driving data by using the one or more metric calculators to calculate attributes about control of the vehicle, including dynamics of the vehicle and relationships to objects in a surrounding environment, and wherein the validation configuration specifies limits and conditions on the dynamics and the relationships to determine when control of the vehicle is satisfactory.

### Claim 14 (depends on 13)

The system of claim 13, wherein the one or more processors are further operable when executing the instructions to perform operations comprising:
validating the one or more output metrics by using the validation configuration.

### Claim 15 (depends on 14)

The system of claim 14, wherein the validation configuration specifies one or more validators, and wherein validating the one or more output metrics by using the validation configuration comprises:
instantiating the one or more validators specified by the validation configuration included in the evaluation configuration file; and
generating one or more validation results by processing the one or more output metrics using the one or more validators.

### Claim 16 (depends on 13)

The system of claim 13, wherein each of the one or more metric calculators comprise at least one of a numeric metric calculator or a time series metric calculator, and the one or more output metrics, generated by using the one or more metric calculators, comprise at least one numeric metric and at least one time series metric.

### Claim 17

One or more computer-readable non-transitory storage media including instructions that, when executed by one or more processors, are configured to cause the one or more processors to perform operations comprising:
receiving a request for evaluating driving data included in a data log acquired from sensors of a vehicle;
instantiating, from an evaluation configuration file associated with the request, one or more metric calculators configured to generate one or more output metrics from the driving data, wherein the evaluation configuration file specifies a validation configuration to validate the output metrics and a metric calculation configuration specifying the metric calculators,
wherein instantiating includes modifying generic code snippets into modified snippets according to the metric calculation configuration and compiling and executing, using an electronic processor, the modified snippets to implement the metric calculators by integrating information from the evaluation configuration file to adapt the generic code snippets;
determining particular driving data from the driving data included in the data log based on the one or more metric calculators; and
generating the output metrics for the particular driving data by using the metric calculators to calculate attributes about control of the vehicle, including dynamics of the vehicle and relationships to objects in a surrounding environment, and wherein the validation configuration specifies limits and conditions on the dynamics and the relationships to determine when control of the vehicle is satisfactory.

### Claim 18 (depends on 17)

The media of claim 17, wherein the instructions are further configured to cause the one or more processors to perform further operations comprising:
validating the one or more output metrics by using the validation configuration.

### Claim 19 (depends on 18)

The media of claim 18, wherein the validation configuration specifies one or more validators, and wherein validating the one or more output metrics by using the validation configuration comprises:
instantiating the one or more validators specified by the validation configuration included in the evaluation configuration file; and
generating one or more validation results by processing the one or more output metrics using the one or more validators.

### Claim 20 (depends on 17)

The media of claim 17, wherein each of the one or more metric calculators comprise at least one of a numeric metric calculator or a time series metric calculator, and the one or more output metrics, generated by using the instantiated one or more metric calculators, comprise at least one numeric metric and at least one time series metric.
