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