enable trec_eval by code