ODS Gen¶
Created on Dec 2, 2025
@author: Tom Schmidt
DataValidation
¶
Formula
¶
Sheet
¶
Class representing an XLSX sheet.
__init__(benchmark: result.BenchmarkMerge, measures: dict[str, Any], name: str, ref_sheet: Optional[Sheet] = None, sheet_type: str = 'instance')
¶
add_benchclass_summary(block: SystemBlock, benchclass_result: result.ClassResult, benchclass_summary: dict[str, Any]) -> None
¶
Add benchmark class summary to SystemBlock.
Attributes:
| Name | Type | Description |
|---|---|---|
block |
SystemBlock
|
SystemBlock to which summary is added. |
benchclass_result |
ClassResult
|
ClassResult. |
benchclass_summary |
dict[str, Any]
|
Summary of benchmark class. |
add_col_summary() -> None
¶
Add column summary if applicable to column type.
add_instance_results(block: SystemBlock, instance_result: result.InstanceResult, benchclass_summary: dict[str, Any], instance_summary: dict[result.InstanceResult, dict[str, Any]]) -> None
¶
Add instance results to SystemBlock and add values to summary if necessary.
Attributes:
| Name | Type | Description |
|---|---|---|
block |
SystemBlock
|
SystemBlock to which results are added. |
instance_result |
InstanceResult
|
InstanceResult. |
benchclass_summary |
dict[str, Any]
|
Summary of benchmark class. |
instance_summary |
dict[InstanceResult, dict[str, Any]]
|
Summary of instance results. |
add_merged_instance_results(block: SystemBlock, instance_result: result.InstanceResult, instance_summary: dict[result.InstanceResult, dict[str, Any]]) -> None
¶
Add merged instance results to SystemBlock and add values to summary if necessary.
Attributes:
| Name | Type | Description |
|---|---|---|
block |
SystemBlock
|
SystemBlock to which results are added. |
instance_result |
InstanceResult
|
InstanceResult. |
instance_summary |
dict[InstanceResult, dict[str, Any]]
|
Summary of benchmark class. |
add_row_summary(offset: int) -> None
¶
add_runspec(runspec: result.Runspec) -> None
¶
Add results to their respective blocks.
Attributes:
| Name | Type | Description |
|---|---|---|
runspec |
Runspec
|
Run specification |
add_styles() -> None
¶
Color float results and their summaries. Get column formats.
export_values(file_name: str, metadata: dict[str, list[Any]]) -> None
¶
Export values to parquet file.
Attributes:
| Name | Type | Description |
|---|---|---|
file_name |
str
|
Name of the parquet file. |
finish() -> None
¶
Finish XLSX content.
SystemBlock
dataclass
¶
Dataframe containing results for system.
Attributes:
| Name | Type | Description |
|---|---|---|
setting |
Optional[Setting]
|
Benchmark setting. |
machine |
Optional[Machine]
|
Machine. |
content |
DataFrame
|
Results. |
columns |
dict[str, Any]
|
Dictionary of columns and their types. |
offset |
Optional[int]
|
Offset for final block position. |
add_cell(row: int, name: str, value_type: str, value: Any) -> None
¶
XLSXDoc
¶
Class representing XLSX document.