sample_set/index.html less queries for job status
Store the result of the query for the job status to avoid performing it twice. While this may have been optimised automatically by a web2py cache or similar mechanism, I feel like the code produced is easier to read/underestand.