Iterative action selection

Choosing a sequence of actions
For non-trivial questions it’s generally not enough to take a single cognitive action. For example, consider:
What is the log10 of the number of people living in the US vs China?
Ideally we’d first look up the populations, then compute the logarithms.
Alas, this chapter hasn’t been written yet.

Exercise

Implement iterative action selection. If you need inspiration, take a look at this execution trace:
Execution trace (view online)
For even more inspiration, take a look at sequential_action.py in the ICE repository.
Get feedback on exercise solutions
If you want feedback on your exercise solutions, submit them through this form. We—the team at Ought—are happy to give our quick take on whether you missed any interesting ideas.