move sport/year to config; add test for duplicate games in the same loop