app.utils.history_processing module

Utility functions for processing experiment history data.

This module provides helper functions for extracting and processing generation history information from experiment results.

app.utils.history_processing.get_scores_from_history(generation_history: Sequence[Tuple[str, float]]) Sequence[float][source]

Extract score values from generation history.

Extracts the score component from each concept-score tuple in the generation history.

Parameters:

generation_history – Sequence of tuples containing concepts and their scores.

Returns:

Sequence of float values representing scores from each generation.