Task: Text to Code
Input (English): select the rows whose entrant record fuzzily matches to machinist union racing team . the average of the finish record of these rows is 22 .
Output (English): round_eq { avg { filter_eq { all_rows ; entrant ; machinist union racing team } ; finish } ; 22 }