Skip to content

Store additional player project stats#371

Merged
heyheyjp merged 1 commit intofeatures/statsfrom
features/player-stats
Aug 5, 2016
Merged

Store additional player project stats#371
heyheyjp merged 1 commit intofeatures/statsfrom
features/player-stats

Conversation

@heyheyjp
Copy link
Collaborator

@heyheyjp heyheyjp commented Aug 5, 2016

Fixes #366.

Main Changes:

  • adds the following to player project cycle stats:
    • ls (learning support score)
    • cc (culture contribution score)
    • ec (expected contribution)
    • ecd (expected contribution delta/diff)
    • hours (hours worked)

Other Changes:

  • adds surveyId index to responses table
  • updates, adds tests

@heyheyjp heyheyjp force-pushed the features/player-stats branch from 0440230 to 5097b6d Compare August 5, 2016 03:41
// Calculate ABC
const aggregateBuildCycles = (buildCycles || 1) * teamSize
function _findQuestionByType(questions, questionType) {
// see see https://github.com/LearnersGuild/game/issues/370
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah -- terrible, but at least it's isolated in one place.

@jeffreywescott
Copy link
Contributor

Minor questions more than feedback ... LGTM.

@heyheyjp
Copy link
Collaborator Author

heyheyjp commented Aug 5, 2016

Good notes, @jeffreywescott, thanks. I'm going to integrate this feedback in the features/player-stats-dm branch (which builds on top of this) to keep merging simple. 👍

@heyheyjp heyheyjp merged commit e1109cd into features/stats Aug 5, 2016
@heyheyjp heyheyjp deleted the features/player-stats branch August 5, 2016 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments