Not 100% sure about Q but in the promise spec I believe the `then` method is chainable. You should just be able to 
    
    return totalCorrect / classification.targets.length

and no need for your `deferScore` object.