Fix /generate_results and /score