How CostBench calculates the end-to-end score