You need a `('ndcg',)` here for the single element tuple. I wonder how this code can work otherwise...