Escaping Capability Traps Through Problem Driven Iterative Adaptation (PDIA)