The max points field under advanced options will be automatically set to the sum of the amount of points, CodeGrade will automatically scale this to a grade between 0 and 10. Only change this value if you want to allow bonus points or a maximum grade of less than 10.