mattdrayer/api-proficiency-redux: New StudentGradebook

@chrisndodge @martynjames @ormsbee @ziafazal -- complete rework of "proficiency" with the introduction of a new 'gradebook' app.  

Essentially, 'proficiency' as a concept is no more -- we simply have 'grades' -- you'll see the leaders list is maintained although there are some slight schema changes as well as URI changes which will require corresponding updates in Apros.  These changes are most-easily reviewed in this PR by looking at the response_data elements returned by the modified views.

The seed script is not included here at the moment -- I'll be adding it either to this PR or in a follow-on PR in the next couple of days.  I'm really just looking for feedback and hopefully a thumbs-up that the logic/math are sound and that all of Apros' needs are met with the updated (smaller) API.
Good call -- also I think 'points_scored' might be able to go at this point


On Fri, Sep 5, 2014 at 5:57 PM, David Ormsbee <notifications@github.com>
wrote:

> In lms/djangoapps/api_manager/courses/serializers.py:
>
> > -    username = serializers.CharField(source='student__username')
> > -    title = serializers.CharField(source='student__profile__title')
> > -    avatar_url = serializers.CharField(source='student__profile__avatar_url')
> > -    points_scored = serializers.SerializerMethodField('get_points_scored')
> > -
> > -    def get_points_scored(self, obj):
> > -        """
> > -        formats points_scored to two decimal points
> > -        """
> > -        points_scored = obj['points_scored'] or 0
> > -        return int(round(points_scored))
> > +    id = serializers.IntegerField(source='user__id')
> > +    username = serializers.CharField(source='user__username')
> > +    title = serializers.CharField(source='user__profile__title')
> > +    avatar_url = serializers.CharField(source='user__profile__avatar_url')
> > +    grade = serializers.FloatField(source='grade')
>
> Might want to comment on exactly what this field is. When we say grade
> elsewhere, we often mean the letter grade, but I'm assuming you're
> specifying a number between 0 and 1 here?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/edx-solutions/edx-platform/pull/210/files#r17200709>.
>



-- 
Matthew Drayer
Solutions Architect
edX | MIT
mattdrayer@edx.org