Task: Text to Code
Input (English): the average of the rank record of all rows is 38 .
Output (English): round_eq { avg { all_rows ; rank } ; 38 }