diff --git a/align_system/algorithms/kaleido_adm.py b/align_system/algorithms/kaleido_adm.py index d5cebe5c..c86598c4 100644 --- a/align_system/algorithms/kaleido_adm.py +++ b/align_system/algorithms/kaleido_adm.py @@ -102,7 +102,7 @@ def estimate_kdma_values(self, rows = [] for choice in choices: - other_choices_str = ', '.join(['"{}"'.format(c) for c in (set(choices) - {choice})]) + other_choices_str = ', '.join(['"{}"'.format(c) for c in choices if c != choice]) choice_prompt = format_template( prompt_template, allow_extraneous=True,