Evaluation, Reward Hacking & Alignment Methodology · Problem 1 of 4
Implement ECE given arrays of predicted confidences and correctness.
Implement the function/class skeleton in the editor. Any correct approach is accepted.
import numpy as np
def expected_calibration_error(confidences, correct, n_bins=10):
raise NotImplementedErrorReady when you are
Submit your solution and a structured review appears here — verdict, score, and concrete feedback. Any correct approach passes.
Implement ECE given arrays of predicted confidences and correctness.
Implement the function/class skeleton in the editor. Any correct approach is accepted.