Skip to Main Content
Help MongoDB Track Our Productivity
See more like this check out our active challenges
$350
top 3
3
submissions
DONE
124 months ago

At MongoDB, we frequently struggle with tracking developer productivity, and trying to understand how and when we're doing our best work. Answering these questions would give us key insight on how to enable our engineers to get work done faster and better.

One way we would love to achieve this is through a git post-commit hook that records data about our commits in a MongoDB. Then we could create and run aggregations, giving us insight to interesting questions like:

1) On average, when are we most productive?

2) What time of day do we see the most commits?

3) What is the size of a typical commit?

Deliverables

Please complete the following:

1) Submit the code for your git post-commit hook

2) Explain how to operate the hook, as well as the design choices made, and tradeoffs accepted

3) What are a few aggregation queries you might run?

Criteria:

When submitting your solution, consider the following:

1) Our developers may not have the same type of environment or even OS.

2) The commit hook can’t take more than 500ms since we don’t want to interrupt our workflow.

3) The hook should not create duplicate information. (ex. rebases, amends, etc.)

    Submissions will be graded on the following criteria:
  • Meets Deliverables
  • Creativity
  • Clarity
Reward Tiers
2 Winners
will receive $150 each
1 Honorable Mention
will receive $50
Leaderboard
$150.00 Stephen Bussey ship
$150.00 Kevin Chabreck Duke University
$50.00 Logan May University of Pennsylvania
Submission questions


0 characters Average: 1650 characters
Your solution must be at least 200 characters long
Contact Us