 
   render: ->
     event=@props.event
-    <EventRow feedback="In Progress" event=event cssClass="homework">
+    feedback = if moment(event.due_at).isBefore() # Past due, show correct/incorrect
+      "#{_.all(event.steps, isStepComplete)}/#{event.steps.length} complete"
+    else
+      "?/? correct" # TODO: needs added to feed or an alternate calculation determined
+    <EventRow feedback={feedback} event=event cssClass="homework">
         {event.title} | <a>view feedback</a> | <a>recover credit</a>
     </EventRow>
 


  render: ->
    event=@props.event
    <EventRow feedback="In Progress" event=event cssClass="reading">
        {event.title} | <a>reference view</a>
    </EventRow>


{StudentDashboardStore, StudentDashboardActions} = require '../flux/student-dashboard'
LoadableItem = require './loadable-item'
moment = require 'moment'
isStepComplete = (step) -> step.is_completed

DUMMY_COURSE_DATA = {
  type: { tag: "physics", title: "Physics" }
