langtest.utils.benchmark_utils.Summary#

class Summary(*args, **kwargs)#

Bases: Generic[T]

Summary class to manage the summary report

__init__(path: str, *args, **kwargs) None#

Initialize the summary

Methods

__init__(path, *args, **kwargs)

Initialize the summary

add_report(generated_results)

Add a new report to the summary

load_data_from_file(path, *args, **kwargs)

Check if file exists

save_summary()

Save the summary to the file

Attributes

df

add_report(generated_results: DataFrame) None#

Add a new report to the summary

load_data_from_file(path: str, *args, **kwargs) DataFrame#

Check if file exists

save_summary() None#

Save the summary to the file