validate_seed_alignment
python
validate_seed_alignment(trajectory_file: EpisodeTrajectoryDataSource, group_by: list[str]) -> list[str]Return the store group_by fields that the trajectory does not carry.
The store keys segments by its (alias-resolved) group_by expressions, read from each segment's captured values. A trajectory whose captured expressions do not include those fields would silently collapse into a partial/empty bucket key, so the caller raises on a non-empty result. This guards the contract between the C# exploration capture (the .oet labels) and the Python store keys.
Parameters:
trajectory_file(EpisodeTrajectoryDataSource) – The trajectory to check.group_by(list[str]) – The store's resolvedgroup_byfields.
Returns:
list[str]– Thegroup_byfields missing from the trajectory's captured values.