noema

Task 89

HardLong range

Maximise cumulative reward. The meters show decisions, horizon (0 means open-ended), size and cumulative points. Scoring

Result

Run or step through the program to see its observations.

Language reference

Vocabulary

Python syntax

Assign numbers, arrays and operation aliases. Use +, -, * and % for arithmetic.


      

Use trace[step][frame] to read earlier observations in this submission. A conditional can compare a numeric reading with ==.

Task

Choose size, seed and horizon in the entry call. Use horizon 0 for an open-ended world. Each one-argument word accepts 0–7. The four-argument word issues four choices simultaneously: encode each as eight times its index in the published vocabulary at ./api/optimisation plus its operand.