Sudhakar Rayavaram
Problem solver (And maker),
Inquisitive (Root to most of my problems),
Software craftsman (Don't ask me for estimates)

Part of TarkaLabs

Technical Advisor for SportIndia

26 Jul 2014
Pairing Matrix Reloaded

One of the reasons for pair programming is to have the knowledge of the code shared across all the team members. And for this to happen effectively, the developers in the team should pair with everyone else regularly

Pairing matrix helps to get this visibility so that during sign-up, every dev will have awareness as with whom they did paired less and with whom more

Instead of manually maintaining a pairing matrix and updating it everyday, I have created a simple tool that will extract this information from the code repository (given that every commit has the pair names)

This will be accurate as long as there is at least one commit happening everyday. If that is not the case, then you have bigger problems to solve that worrying about a pairing matrix ;)

Go head and click on the 'visualize' button to see the pairing matrix for the example source control log

Usage instructions

  • Run the following command after replacing the {date} with the date from which you need the pairing matrix

    'git log --oneline --after={date}'
    Example: git log --oneline --after=2015/06/01

  • Copy paste the output in the below textarea

  • Create a javascript regex to extract the pair names from the log

  • Click on 'Visualize'

  • Drag the name circles over the other if you want to merge (same person with different spellings in the log)

  • Take screenshot to share

Link to old pairing matrix creator