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