I have not executed this myself but it appears that the input should be:
nodeId, node
where node is a dictionary, it has keys such as: score and prev_score.
The input format is json so everything should be json encoded.
This is an iterative job, so the input of the mapper (send_score) is the output of the reducer (receive_score). Investigate what the reducer does to see what you need to put in.