Task: Text to Code
Input (English): eq { hop { nth_argmin { filter_eq { all_rows ; state ; oregon } ; year ; 2 } ; result } ; resigned }
Output (English): ordinal