ramp_database.tools.submission
.set_submission_state¶
-
ramp_database.tools.submission.
set_submission_state
(session, submission_id, state)¶ Set the set of a submission.
- Parameters
- session
sqlalchemy.orm.Session
The session to directly perform the operation on the database.
- submission_idint
id of the requested submission
- statestr
The state of the submission. The possible states for a submission are:
‘new’: submitted by user to the web interface;
‘sent_to_training’: submission was send for training but not launch yet.
‘trained’: training finished normally;
‘training_error’: training finished abnormally;
‘validated’: validation finished normally;
‘validating_error’: validation finished abnormally;
‘tested’: testing finished normally;
‘testing_error’: testing finished abnormally;
‘training’: training is running normally;
‘scored’: submission scored.
- session