This task asks you to implement a single Q-learning update rule in a small, self-contained script. Using a tabular Q-table, perform one transition update of the form:
Q[s, a] := Q[s, a] + alpha * ( r + gamma * max_{a'} Q[s', a'] - Q[s, a] )
What you need to deliver
A single file at /app/ql_update_step/main.py that performs the update and prints results to stdout.
The script should:
Define a tiny Q-table with at least two states and two actions.
Use a dummy transition (s, a, r, s') and constants alpha and gamma.
Compute max_{a'} Q[s', a'].
Update Q[s, a] with the formula above.
Print the initial Q[s, a], the max over next-state actions, the update term, and the updated Q[s, a].