Metrics for Simulated History

class batcore.counter.CounterBase

Base class for non-recommendation metrics with a history simulation

Parameters:

history – historical data

batcore.counter.CoreWorkloadCounter()

Base class for non-recommendation metrics with a history simulation

Parameters:

history – historical data

class batcore.counter.ExpertiseCounter(iterator)

Expertise metric is estimated as an average proportion of the files under that the selected reviewers modified of reviewed in the past

prepare()

supporting calculation for the faster metric estimation

class batcore.counter.FaRCounter(iterator)

Files as risk metric = number of files that are known by one or zero active developers

prepare()

supporting calculation for the faster metric estimation