Task: Text to Code
Input (English): select the rows whose reason for change record fuzzily matches to failure to elect . there is only one such row in the table . the state ( class ) record of this unqiue row is tennessee ( 2 ) .
Output (English): and { only { filter_eq { all_rows ; reason for change ; failure to elect } } ; eq { hop { filter_eq { all_rows ; reason for change ; failure to elect } ; state ( class ) } ; tennessee ( 2 ) } }