Reduce code duplication during peer review