app.utils.dashboard_utils module

app.utils.dashboard_utils.generate_plots(generation_history_scores: Sequence[float]) None[source]

Generate and display interactive score visualization plots.

Creates a selectbox for the user to choose between different plot types (Score vs Iteration, Relative Score, or Cumulative Best Score) and displays the selected plot.

Parameters:

generation_history_scores – Sequence of scores from each iteration.

app.utils.dashboard_utils.write_final_concept(experiment_results: ExperimentResults) None[source]

Display the best proposed concept from the experiment.

Writes the highest-scoring concept from the final concept history as a markdown heading to the Streamlit dashboard.

Parameters:

experiment_results – The experiment results containing concept history.

app.utils.dashboard_utils.write_final_concept_set(experiment_results: ExperimentResults) None[source]

Display the final set of best concepts.

Shows a table of the final concepts including both initial and generated concepts, sorted by their scores.

Parameters:

experiment_results – The experiment results containing final concept history.

app.utils.dashboard_utils.write_generated_concepts(experiment_results: ExperimentResults) None[source]

Display all generated concepts across iterations.

Creates and displays a table showing the iteration number, generated concept, and score for each iteration of the experiment.

Parameters:

experiment_results – The experiment results containing generation history.

app.utils.dashboard_utils.write_parameters(experiment_results: ExperimentResults) None[source]

Display experiment parameters and configuration.

Writes all relevant experiment parameters to the Streamlit dashboard, including model IDs, layer/neuron information, and metric details.

Parameters:

experiment_results – The experiment results containing run parameters.