“…However, people's cognition is not necessarily unitary, and we often learn things about ourselves by observing our interactions with the environment much as we learn about others' cognition from their outward behavior [23,97,68,96,13]. More broadly, work on cognitive control and meta-cognition suggests that the brain is constantly monitoring and intervening on its own processing, which involves one subsystem engaging in non-trivial inferences about other subsystems [1,22,78]. Here, we take motivation from work in artificial intelligence and computational cognitive science which suggests that limited memory and time are a critical bottleneck in computing optimal behaviors, and so predicting runtimes of algorithms prior to execution is critical [28,35,20,48].…”