Module
Experiment result wrapper for easy status access and monitoring.ExperimentPhaseInfo
Wrapper for experiment phase status information. Provides easy access to phase-level progress and status information for an experiment. ExamplesAccess phase information from experiment status
experiment = Experiment.get(name=“ml-eval”, project_name=“My Project”) status = experiment.get_status() log_gen = status.log_generation if log_gen.is_complete: print(“Log generation phase completed!”) elif log_gen.is_in_progress: print(f”Log generation at {log_gen.progress_percent:.1f}%“)Check phase status
print(f”Phase status: {log_gen}”) # Human-readable stringis_complete
is_failed
is_in_progress
is_pending
to_dict
ExperimentStatusInfo
Wrapper for experiment status information. Provides human-readable access to experiment execution status, including progress tracking and phase-level information. ExamplesGet status information
experiment = Experiment.get(name=“ml-eval”, project_name=“My Project”) status = experiment.get_status()Human-readable output
print(status) # “Experiment Running (45.2%)” print(f”Log Generation: {status.log_generation}”) # “In Progress (45.2%)“Check status
if status.is_complete: print(“Experiment completed!”) elif status.is_in_progress: print(f”Progress: {status.overall_progress:.1f}%”) elif status.is_pending: print(“Experiment hasn’t started yet”)Convert to dictionary
status_dict = status.to_dict() print(status_dict[“overall_progress”])from_result
result: Dictionary returned from Experiment.run().