Rule: Demo-data-exploration-import-analysis
loading x elements...

Name: Demo-data-exploration-import-analysis

Version: 3

Discussion Thread

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.

Rule

{ "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" : [

Dependency

{ "symbol" : "demo_data_exploration" }
,

Dependency

{ "symbol" : "task_obtain_file_from_user" }
], "threshold" : 2.0, "trigger" :

Trigger

{ "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theObtainFileTask", "symbol" : "task_obtain_file_from_user" }
,

Tag filter (for search)

{ "type" : "tag", "var" : "theRequirement", "symbol" : "require_a_file", "arguments" : { "0" :

Tag filter

{ "type" : "tag", "equals" : "theObtainFileTask" }
} }
] }
, "actions" : [

Create an Option

{ "type" : "create_option", "var" : "demo-data-exploration-import-analysis", "name" : "demo-data-exploration-import-analysis", "confidence" : 1000.0, "trigger" :

Trigger

{ "deactivate_if" : { "theObtainFileTask" : ["is_nullified", "is_finished"] } }
, "actions" : [

Create a Tag

{ "type" : "create_tag", "var" : "enableFileImportTag", "symbol" : "!scenario_chat_object_import_input_status", "comment" : "enabled-once-export_data_exploration_pandas" }
,

Create an Option

{ "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" :

Trigger

{ "arguments" : [

Tag filter (for search)

{ "type" : "tag", "role" : "excluded", "equals" : "theObtainFileTask", "task_is_finished" : false }
] }
, "actions" : [

Create a Tag

{ "type" : "create_tag", "symbol" : "!nullify", "arguments" : [

Variable

{ "type" : "variable", "var" : "enableFileImportTag" }
] }
] }
,

Create an Option

{ "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" :

Trigger

{ "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theImportTag", "symbol" : "?user_input_imported_object", "arguments" : { "0" :

Tag filter

{ "type" : "tag", "symbol" : "export_data_exploration_pandas" }
} }
,

File filter (for search)

{ "type" : "file", "_comment" : "The imported file is the only File object that was created in the same step as theImportTag.", "var" : "theImportedFile", "created_in_same_event_as" : "theImportTag" }
], "deactivate_if" : { "theObtainFileTask" : ["is_nullified", "is_finished"] } }
, "actions" : [

Create a Tag

{ "type" : "create_tag", "symbol" : "!provide", "arguments" : [

Variable

{ "type" : "variable", "var" : "theRequirement" }
,

Variable

{ "type" : "variable", "var" : "theImportedFile" }
] }
,

Create an Option

{ "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" :

Trigger

{ "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theAnalysisTask", "symbol" : "task_data_cleansing_and_analysis_for_pandas" }
,

Tag filter (for search)

{ "type" : "tag", "var" : "theAnalysisRequirement", "symbol" : "require_open_ended_work", "arguments" : { "0" : "theAnalysisTask" } }
,

Tag filter (for search)

{ "type" : "tag", "var" : "theBadModifiableFileTag", "symbol" : "modifiable_file", "arguments" : { "0" : "theImportedFile", "1" : "theAnalysisTask" } }
] }
, "actions" : [

Create a Tag

{ "type" : "create_tag", "symbol" : "!provide", "arguments" : [

Variable

{ "type" : "variable", "var" : "theAnalysisRequirement" }
] }
,

Create a Tag

{ "type" : "create_tag", "symbol" : "!nullify", "arguments" : [

Variable

{ "type" : "variable", "var" : "theBadModifiableFileTag" }
] }
] }
] }
] }
], "existing_variables" : { "theRequirement" :

Variable

{ "type" : "tag" }
, "theObtainFileTask" :

Variable

{ "type" : "tag" }
, "demo-data-exploration-import-analysis" :

Variable

{ "type" : "option" }
} }

Rule

{ "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" : [

Dependency

{ "symbol" : "demo_data_exploration", "weight" : 1.0, "comment_filter" : null }
,

Dependency

{ "symbol" : "task_obtain_file_from_user", "weight" : 1.0, "comment_filter" : null }
], "threshold" : 2.0, "trigger" :

Trigger

{ "repeat" : "never", "arguments" : [

Tag filter (for search)

{ "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" : {} }
,

Tag filter (for search)

{ "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" :

Tag filter

{ "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" : [

Create an Option

{ "type" : "create_option", "var" : "demo-data-exploration-import-analysis", "name" : "demo-data-exploration-import-analysis", "description" : null, "confidence" : 1000.0, "trigger" :

Trigger

{ "repeat" : "never", "arguments" : [], "deactivate_if" : { "theObtainFileTask" : ["is_nullified", "is_finished"] } }
, "display" : null, "actions" : [

Create a Tag

{ "type" : "create_tag", "var" : "enableFileImportTag", "symbol" : "!scenario_chat_object_import_input_status", "comment" : "enabled-once-export_data_exploration_pandas", "weight" : null, "arguments" : [], "mark_with" : [] }
,

Create an Option

{ "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" :

Trigger

{ "repeat" : "never", "arguments" : [

Tag filter (for search)

{ "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" : [

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!nullify", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "enableFileImportTag" }
], "mark_with" : [] }
] }
,

Create an Option

{ "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" :

Trigger

{ "repeat" : "never", "arguments" : [

Tag filter (for search)

{ "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" :

Tag filter

{ "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" : {} }
} }
,

File filter (for search)

{ "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" : [

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!provide", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "theRequirement" }
,

Variable

{ "type" : "variable", "nullable" : false, "var" : "theImportedFile" }
], "mark_with" : [] }
,

Create an Option

{ "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" :

Trigger

{ "repeat" : "never", "arguments" : [

Tag filter (for search)

{ "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" : {} }
,

Tag filter (for search)

{ "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" } }
,

Tag filter (for search)

{ "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" : [

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!provide", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "theAnalysisRequirement" }
], "mark_with" : [] }
,

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!nullify", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "theBadModifiableFileTag" }
], "mark_with" : [] }
] }
] }
] }
], "existing_variables" : { "theRequirement" :

Variable

{ "type" : "tag", "value" : null }
, "theObtainFileTask" :

Variable

{ "type" : "tag", "value" : null }
, "demo-data-exploration-import-analysis" :

Variable

{ "type" : "option", "value" : null }
} }

all versions of this Rule:

Version 3

Version 2 (deleted)

Version 1 (deleted)