document evaluation stage helper fn