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