Name: Demo-data-exploration-import-analysis
Version: 3
Creator: Florian_Dietz
Reacts to Demo-data-exploration and offers to import an existing analysis when task_obtain_file_from_user starts.
ID: 349
Created: April 9, 2019, 5:11 p.m.
full definition:
The below is the JSON description of this object.
It is annotated with links to the documentation of each component.
You can hide fields with default values to make things clearer, and copy it to a clipboard to make creating similar Rules and Options easier.
{
"name" : "Demo-data-exploration-import-analysis",
"description" : "Reacts to Demo-data-exploration and offers to import an existing analysis when task_obtain_file_from_user starts.",
"dependencies" : [
{
"symbol" : "demo_data_exploration",
"weight" : 1.0,
"comment_filter" : null
},
{
"symbol" : "task_obtain_file_from_user",
"weight" : 1.0,
"comment_filter" : null
}
],
"threshold" : 2.0,
"trigger" : {
"repeat" : "never",
"arguments" : [
{
"type" : "tag",
"var" : "theObtainFileTask",
"role" : "required",
"search_type" : "last",
"search_postfilter" : null,
"targeted_by" : [],
"equals" : null,
"created_by" : null,
"created_earlier_than" : null,
"created_in_same_event_as" : null,
"created_later_than" : null,
"is_reserved" : null,
"symbol" : "task_obtain_file_from_user",
"comment" : null,
"comment_contains" : null,
"comment_matches" : null,
"weight" : null,
"min_weight" : null,
"max_weight" : null,
"nullified" : false,
"requirement_is_provided" : null,
"task_is_finished" : null,
"arguments" : {}
},
{
"type" : "tag",
"var" : "theRequirement",
"role" : "required",
"search_type" : "last",
"search_postfilter" : null,
"targeted_by" : [],
"equals" : null,
"created_by" : null,
"created_earlier_than" : null,
"created_in_same_event_as" : null,
"created_later_than" : null,
"is_reserved" : null,
"symbol" : "require_a_file",
"comment" : null,
"comment_contains" : null,
"comment_matches" : null,
"weight" : null,
"min_weight" : null,
"max_weight" : null,
"nullified" : false,
"requirement_is_provided" : null,
"task_is_finished" : null,
"arguments" : {
"0" : {
"type" : "tag",
"var" : null,
"role" : "required",
"targeted_by" : [],
"equals" : "theObtainFileTask",
"created_by" : null,
"created_earlier_than" : null,
"created_in_same_event_as" : null,
"created_later_than" : null,
"is_reserved" : null,
"symbol" : null,
"comment" : null,
"comment_contains" : null,
"comment_matches" : null,
"weight" : null,
"min_weight" : null,
"max_weight" : null,
"nullified" : false,
"requirement_is_provided" : null,
"task_is_finished" : null,
"arguments" : {}
}
}
}
],
"deactivate_if" : {}
},
"actions" : [
{
"type" : "create_option",
"var" : "demo-data-exploration-import-analysis",
"name" : "demo-data-exploration-import-analysis",
"description" : null,
"confidence" : 1000.0,
"trigger" : {
"repeat" : "never",
"arguments" : [],
"deactivate_if" : {
"theObtainFileTask" : ["is_nullified", "is_finished"]
}
},
"display" : null,
"actions" : [
{
"type" : "create_tag",
"var" : "enableFileImportTag",
"symbol" : "!scenario_chat_object_import_input_status",
"comment" : "enabled-once-export_data_exploration_pandas",
"weight" : null,
"arguments" : [],
"mark_with" : []
},
{
"type" : "create_option",
"var" : "postprocess-demo-data-exploration-import-analysis",
"name" : "postprocess-demo-data-exploration-import-analysis",
"description" : "When the task task_obtain_file_from_user is finished or nullified, stop offering to import a export_data_exploration_pandas object.",
"confidence" : 9999,
"trigger" : {
"repeat" : "never",
"arguments" : [
{
"type" : "tag",
"var" : null,
"role" : "excluded",
"search_type" : "last",
"search_postfilter" : null,
"targeted_by" : [],
"equals" : "theObtainFileTask",
"created_by" : null,
"created_earlier_than" : null,
"created_in_same_event_as" : null,
"created_later_than" : null,
"is_reserved" : null,
"symbol" : null,
"comment" : null,
"comment_contains" : null,
"comment_matches" : null,
"weight" : null,
"min_weight" : null,
"max_weight" : null,
"nullified" : false,
"requirement_is_provided" : null,
"task_is_finished" : false,
"arguments" : {}
}
],
"deactivate_if" : {}
},
"display" : null,
"actions" : [
{
"type" : "create_tag",
"var" : null,
"symbol" : "!nullify",
"comment" : null,
"weight" : null,
"arguments" : [
{
"type" : "variable",
"nullable" : false,
"var" : "enableFileImportTag"
}
],
"mark_with" : []
}
]
},
{
"type" : "create_option",
"var" : "recognize-import-for-demo-data-exploration-import-analysis",
"name" : "recognize-import-for-demo-data-exploration-import-analysis",
"description" : "When the user imports a export_data_exploration_pandas object, it marks the imported object as the solution of task_obtain_file_from_user. It then waits for task_data_cleansing_and_analysis_for_pandas to exist before proceeding.",
"confidence" : 1000,
"trigger" : {
"repeat" : "never",
"arguments" : [
{
"type" : "tag",
"var" : "theImportTag",
"role" : "required",
"search_type" : "last",
"search_postfilter" : null,
"targeted_by" : [],
"equals" : null,
"created_by" : null,
"created_earlier_than" : null,
"created_in_same_event_as" : null,
"created_later_than" : null,
"is_reserved" : null,
"symbol" : "?user_input_imported_object",
"comment" : null,
"comment_contains" : null,
"comment_matches" : null,
"weight" : null,
"min_weight" : null,
"max_weight" : null,
"nullified" : false,
"requirement_is_provided" : null,
"task_is_finished" : null,
"arguments" : {
"0" : {
"type" : "tag",
"var" : null,
"role" : "required",
"targeted_by" : [],
"equals" : null,
"created_by" : null,
"created_earlier_than" : null,
"created_in_same_event_as" : null,
"created_later_than" : null,
"is_reserved" : null,
"symbol" : "export_data_exploration_pandas",
"comment" : null,
"comment_contains" : null,
"comment_matches" : null,
"weight" : null,
"min_weight" : null,
"max_weight" : null,
"nullified" : false,
"requirement_is_provided" : null,
"task_is_finished" : null,
"arguments" : {}
}
}
},
{
"type" : "file",
"_comment" : "The imported file is the only File object that was created in the same step as theImportTag.",
"var" : "theImportedFile",
"role" : "required",
"search_type" : "last",
"search_postfilter" : null,
"targeted_by" : [],
"equals" : null,
"created_by" : null,
"created_earlier_than" : null,
"created_in_same_event_as" : "theImportTag",
"created_later_than" : null,
"is_reserved" : null,
"name_matches" : null
}
],
"deactivate_if" : {
"theObtainFileTask" : ["is_nullified", "is_finished"]
}
},
"display" : null,
"actions" : [
{
"type" : "create_tag",
"var" : null,
"symbol" : "!provide",
"comment" : null,
"weight" : null,
"arguments" : [
{
"type" : "variable",
"nullable" : false,
"var" : "theRequirement"
},
{
"type" : "variable",
"nullable" : false,
"var" : "theImportedFile"
}
],
"mark_with" : []
},
{
"type" : "create_option",
"var" : "recognize-and-solve-data-cleansing-task-immediately",
"name" : "recognize-and-solve-data-cleansing-task-immediately",
"description" : "Wait for task_data_cleansing_and_analysis_for_pandas and its corresponding require_open_ended_work to appear, then satisfy the latter immediately and !nullify the modifiable_file that was created along with them. By nullifying that modifiable_file Tag, Demo-data-exploration is made to use the modifiable_file Tag that was imported earlier instead.",
"confidence" : 5000,
"trigger" : {
"repeat" : "never",
"arguments" : [
{
"type" : "tag",
"var" : "theAnalysisTask",
"role" : "required",
"search_type" : "last",
"search_postfilter" : null,
"targeted_by" : [],
"equals" : null,
"created_by" : null,
"created_earlier_than" : null,
"created_in_same_event_as" : null,
"created_later_than" : null,
"is_reserved" : null,
"symbol" : "task_data_cleansing_and_analysis_for_pandas",
"comment" : null,
"comment_contains" : null,
"comment_matches" : null,
"weight" : null,
"min_weight" : null,
"max_weight" : null,
"nullified" : false,
"requirement_is_provided" : null,
"task_is_finished" : null,
"arguments" : {}
},
{
"type" : "tag",
"var" : "theAnalysisRequirement",
"role" : "required",
"search_type" : "last",
"search_postfilter" : null,
"targeted_by" : [],
"equals" : null,
"created_by" : null,
"created_earlier_than" : null,
"created_in_same_event_as" : null,
"created_later_than" : null,
"is_reserved" : null,
"symbol" : "require_open_ended_work",
"comment" : null,
"comment_contains" : null,
"comment_matches" : null,
"weight" : null,
"min_weight" : null,
"max_weight" : null,
"nullified" : false,
"requirement_is_provided" : null,
"task_is_finished" : null,
"arguments" : {
"0" : "theAnalysisTask"
}
},
{
"type" : "tag",
"var" : "theBadModifiableFileTag",
"role" : "required",
"search_type" : "last",
"search_postfilter" : null,
"targeted_by" : [],
"equals" : null,
"created_by" : null,
"created_earlier_than" : null,
"created_in_same_event_as" : null,
"created_later_than" : null,
"is_reserved" : null,
"symbol" : "modifiable_file",
"comment" : null,
"comment_contains" : null,
"comment_matches" : null,
"weight" : null,
"min_weight" : null,
"max_weight" : null,
"nullified" : false,
"requirement_is_provided" : null,
"task_is_finished" : null,
"arguments" : {
"0" : "theImportedFile",
"1" : "theAnalysisTask"
}
}
],
"deactivate_if" : {}
},
"display" : null,
"actions" : [
{
"type" : "create_tag",
"var" : null,
"symbol" : "!provide",
"comment" : null,
"weight" : null,
"arguments" : [
{
"type" : "variable",
"nullable" : false,
"var" : "theAnalysisRequirement"
}
],
"mark_with" : []
},
{
"type" : "create_tag",
"var" : null,
"symbol" : "!nullify",
"comment" : null,
"weight" : null,
"arguments" : [
{
"type" : "variable",
"nullable" : false,
"var" : "theBadModifiableFileTag"
}
],
"mark_with" : []
}
]
}
]
}
]
}
],
"existing_variables" : {
"theRequirement" : {
"type" : "tag",
"value" : null
},
"theObtainFileTask" : {
"type" : "tag",
"value" : null
},
"demo-data-exploration-import-analysis" : {
"type" : "option",
"value" : null
}
}
}
all versions of this Rule:
Version 3
Version 2 (deleted)
Version 1 (deleted)