In my view, res_movie_recall means the generated response contains exactly the same items as the ground truth, but function response_movie_recall_cal doesn't correctly judge whether the generated response contains exactly the same items as the ground truth. response_movie_recall_cal returns immediately when it sees the item in the ground truth appear in predicted response but doesn't check all the other items.