# Task Status

| Task Status                      | Mode                          | Status Explanation                                                                                                   |
| -------------------------------- | ----------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| Completed (On-demand)            | Development, Deployment       | Task completed successfully with no errors.                                                                          |
| Completed (Spot)                 | Spot                          | Spot task completed successfully with no errors.                                                                     |
| Completed (Failed)               | Development, Deployment       | Task execution failed.                                                                                               |
| Completed (Timeout)              | Development                   | Task did not complete within the allowed time limit (60 seconds).                                                    |
| Incomplete (Cancel)              | Development, Deployment       | Task was canceled by the user before execution (using command `float16 queue delete`).                               |
| Timeout                          | Deployment                    | Task did not respond within 120 seconds.                                                                             |
| Running                          | Development, Deployment, Spot | Task is currently running.                                                                                           |
| Pending                          | Development, Deployment, Spot | Task is in the queue, waiting to be processed.                                                                       |
| Waiting for resource             | Spot                          | Task was interrupted due to insufficient resources and is waiting for resources to become available before resuming. |
| Completed (Reached budget limit) | Spot                          | The task has reached the budget limit that you set.                                                                  |
| Stopped by user                  | Spot                          | The task was stopped by the user (using command `float16 task spot stop`).                                           |
| Failed (Invalid syntax)          | Spot                          | The task failed due to invalid syntax in the code.                                                                   |
| Failed (Unexpected indent)       | Spot                          | The task failed due to an unexpected indentation error in the code.                                                  |
| Failed (NameError)               | Spot                          | The task failed due to an undefined variable or function being used.                                                 |
| Failed (SyntaxError)             | Spot                          | The task failed due to a syntax error in the code.                                                                   |
| Failed (No module named)         | Spot                          | The task failed because a required module was not found or not installed.                                            |
