Since this is mutable datastructure - can me make it private ?
For testcase, expose some method which checks for the condition instead of needing to expose the entire stageIdToAccumulators ?