dataset matching evaluation code