Rename scoring function.
Fix React warning about unique keys in arrays.