Metrics for free-software communities
In September, I attended the first Free and Open Source Software Expo and Technology Conference or Fossetcon in Orlando, Florida, and went to a talk by James Falkner, Liferay's Orlando-based Community Manager, about making better use of metrics in free-software projects. Measuring the size and activity level of a project's community (usually in code contributions and participation in communication channels) is a popular task within free software, but doing it right isn't always simple.
The session was entitled "Metrics are fun, but which ones really matter?". In the talk summary, Falkner promised to help us learn to distinguish between "vanity metrics" and actual, useful metrics. He also finished up with a bit of advice on what to do with those metrics once you've got them.
I do some work with OpenHatch, an organization dedicated to welcoming new people to free software. The metrics that OpenHatch tracks are very user-focused, which makes them a bit different than what you might track for traditional free software project. Still, I figured it couldn't hurt to learn some new ways to use numbers to improve our metrics at OpenHatch and at some of the other projects I work with.
Liferay is a free-software project that provides a suite of tools known as a portal. It includes social office tools, built-in website-management themes, and gadgets—both for internal and external sites. A community edition and a separate (paid) enterprise edition are available. Thus, the Liferay community is a mix, including do-it-yourselfers who are looking to optimize their experience with the community edition and full-time paid staffers from companies that use one or more of the enterprise products. In addition, while many of Liferay's projects are designed to be used by people with no programming experience, there are other users busy tweaking their "portlets" and sharing their changes back with the community.
Knowing what to measure
Falkner first talked about how you can improve your project by understanding your contributors better—but not just by looking at the source code repository. For several years now, Ohloh has been able to show you what's going on with your project in Git. Certainly, lots and lots of work happens in the repository, but many of us know that it might not be the whole story. For instance, we often reward producing lines of code, but it is clear that longer code contributions aren't necessarily a good thing.
Falkner stressed that it is important to carefully figure out what you want to measure, rather than settling for what might seem easy to measure. He illustrated this distinction with a few funny stories where the wrong things were measured, leading to wrong thing being encouraged.
One particularly illustrative example was a historical story of city officials trying to control the rat population. The officials offered their citizens money for rat tails. But they had mistakenly assumed that a rat tail represented a dead rat. It doesn't. So the first problem they created was a lot of tail-less rats.
Furthermore, the city officials had made a second mistake when they incentivized more tails, but not fewer rats. Once they started offering money, many people began to farm rats for their tails. So, measuring the wrong thing led to more rats—now without tails—and to the city officials having a giant pile of rat tails, which is both gross and ineffective.
Falkner offered a few other examples of people either creating more of the problem that the "numbers folks" had been trying to reduce, or managing to create brand new problems—but it is hard to top the visual image of a city inundated with tailless rats.
Two other lessons that I took away were (1) pick a metric that you might be able to do something about, and (2) work hard to make sure you understand any factors that affect the accuracy of your measurements. For example, it does you no good to correlate weather and forum activity, since you can't control the weather. However, figuring out how long people stay in your community is something you should be able to impact.
Metrics and context
Falkner presented lots of graphs from the Liferay community. And, sure enough, the graphs told a story—but knowing the context of the graphs was critical to understanding what actually happened in the community. For example, an audience member asked about a bump in Liferay's contributor activity a few years back. Falkner explained that the bump wasn't due to any exciting community management trick that was later lost to the ether. Instead, it represented a giant influx of Sun employees all signing up for the forums when Sun decided to partner with Liferay.
Initially, lots of Sun employees registered on the Liferay forums, but over time they didn't end up behaving like other new forum members. Without looking at that event in context, though, it looked like lots of new people got interested in Liferay, then ended up just lurking. A lesson there is that potential contributors behave very differently when their employer tells them to sign up "just in case," as opposed to those users who find a forum because they need it. But, without the context, a person examining the data might waste a lot of time wondering what was so magical about 2007.
Software for metrics
The tools that Liferay uses to integrate activity data from its forums, mailing lists, and code repositories all come from a project called Bitergia. Bitergia itself is free software, largely written in Python, plus a few bits in other languages (CSS, JavaScript, R, etc.). The tools are all licensed under either GPLv2 or GPLv3.
In addition to the utilities used by Liferay, Bitergia has also written tools for looking at MediaWiki changes, IRC activity, and various bug-trackers. Pretty much any way you could think of to quantify participation in a free-software project is covered. An active spin-off of Bitergia's suite of tools is also available on GitHub; it is known as Metrics Grimoire.
The Bitergia project grew out of a research group based at University Rey Juan Carlos in Madrid. The group developed the tools to analyze free-software work and communities for themselves first. But, like many things in FLOSS, it turned out that their tool was useful to others. Although the team is based in Spain, they have been traveling recently to promote their work around the world; they visited the US for OSCON and the Community Leadership Summit, and Sweden for the Open Automotive event hosted by the GENIVI Alliance.
Falkner quoted Simon Phipps, longtime FOSS
advocate, as saying "you become what you measure"—which means it
is pretty important to get metrics right. Done correctly, with full
buy-in and solid planning, metrics can help you pilot your community
toward the place that you want to go, instead of that place you
happened to end up in. I'm looking forward to trying some of these
tools out in my projects, and I am curious to see what other projects are
able to learn with them.
| Index entries for this article | |
|---|---|
| GuestArticles | Nicholson, Deb |
