def _make_runium_param(iterations, times):
    """
    Creates and returns a dict with runium specific stats and functions that
    can be accessed from within the task.
    """
    context = {'iterations': iterations, 'iterations_remaining': times -
        iterations}
    return context
