Docs and utility to measure errorrate