API for Benchmarking
Bases: Project
Represents the benchmark runner.
Initializes a new Benchmark instance.
Adds a simulation run to the benchmark.
Adds a task to the project.
Returns the creation date and time of the project.
Delete a project on the backend.
This method does not delete the project tasks, only the project itself. The tasks will be moved to the “default” project.
Downloads all the outputs for all the tasks in the project.
All task outputs will be organized within the specified output_dir. If output_dir is not provided, outputs will be saved to a default location under inductiva_output/<project_name>/<task_id>/. Otherwise, they will be stored in <output_dir>/<task_id>/.
Returns the estimated project cost.
Computed as the sum of the estimated computation cost of each task.
Exports the benchmark performance metrics in the specified format.
Get the the tasks of this project.
Optionally, those can be filtered by task status.
Returns the unique ID of the project.
Returns the name of the project.
Returns the number of tasks in the project.
Executes all added runs.
Each run is executed the specified number of times, and the collection of runs is cleared afterwards.
Sets default parameters for the benchmark runner.
This method allows you to configure default settings for the benchmark, which will be used in subsequent runs unless explicitly overridden.
Returns a dictionary with the number of tasks by status. The keys are the status codes and the values are the number of tasks with that status.
Terminates all active machine groups associated with the benchmark.
Waits for all running tasks to complete.
Bases: Enum
Enumeration of supported benchmark export formats.
Bases: Enum
Enumeration of supported data selection modes, specifying which data should be included in the benchmarking results.
API Reference
Complete Python API reference for the Inductiva platform
projects
This module provides functionality for managing projects and their associated tasks within the Inductiva platform. A project serves as a container for grouping related tasks, enabling better organization and management of computational workflows.