Rule: Demo-data-exploration-using-example-file
loading x elements...

Name: Demo-data-exploration-using-example-file

Version: 14

Discussion Thread

NOTE: this Rule has been deleted.

There is a newer version of this Rule.

Creator: floriandietz@elody.com

This works alongside Demo-data-exploration and offers the use of DemoDataExplorationUsingExampleFile as an example

ID: 259

Created: Feb. 7, 2019, 2:24 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-using-example-file", "description" : "This works alongside Demo-data-exploration and offers the use of DemoDataExplorationUsingExampleFile as an example", "dependencies" : [

Dependency

{ "symbol" : "demo_data_exploration" }
,

Dependency

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

Trigger

{ "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theTask", "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" : "theTask" }
} }
] }
, "actions" : [

Create an Option

{ "type" : "create_option", "_comment" : "The confidence is set to 0.99 so that Elody will ask explicitly by default, but will execute the Option automatically if the user's security parameters even slightly indicate to skip unnecessary questions.", "var" : "demo-data-exploration-using-example-file", "name" : "demo-data-exploration-using-example-file", "confidence" : 0.99, "trigger" :

Trigger

{ "_comment" : "Only use this Option if the user hasn't uploaded a file and the task_obtain_file_from_user is unsolved.", "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : "userUploadedAFile", "role" : "excluded", "symbol" : "?user_input_uploaded_file" }
], "deactivate_if" : { "theTask" : ["is_finished"], "userUploadedAFile" : ["match"] } }
, "display" :

Option Display

{ "message_components" : [

HTML component

{ "type" : "html", "html" : "<p>We have prepared an example file to demonstrate some of the different things our automated data exploration can do.</p>" }
], "buttons" : [

Option Display Submit Button

{ "text" : "Yes, use the example file", "is_the_default_button" : true, "actions" : [

Execute a Program

{ "type" : "execute_program", "var" : "theProgramExecution", "program" : "DemoDataExplorationUsingExampleFile" }
,

Create an Option

{ "type" : "create_option", "var" : "postprocess-demo-data-exploration-using-example-file", "name" : "postprocess-demo-data-exploration-using-example-file", "confidence" : 9999.0, "trigger" :

Trigger

{ "arguments" : [

File filter (for search)

{ "type" : "file", "var" : "thePandasFile", "search_type" : "first", "created_by" : "theProgramExecution" }
,

File filter (for search)

{ "type" : "file", "var" : "theCsvFile", "created_by" : "theProgramExecution" }
], "deactivate_if" : { "theTask" : ["is_finished"], "userUploadedAFile" : ["match"] } }
, "actions" : [

Create a Message

{ "type" : "create_message", "message_components" : [

HTML component

{ "type" : "html", "html" : "The example file is being analyzed. Click the below buttons to download it, so you can have a look yourself." }
,

Downloadable File

{ "type" : "downloadable_file", "text" : "Download the example file as a CSV file.", "file" :

Variable

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

Downloadable File

{ "type" : "downloadable_file", "text" : "Download the example file as a pickled Pandas DataFrame.", "file" :

Variable

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

Create a Tag

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

Variable

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

Variable

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

Option Display Submit Button

{ "text" : "No, I want to try a file of my own." }
] }
, "actions" : [] }
], "existing_variables" : { "theTask" :

Variable

{ "type" : "tag" }
, "theRequirement" :

Variable

{ "type" : "tag" }
, "demo-data-exploration-using-example-file" :

Variable

{ "type" : "option" }
} }

Rule

{ "name" : "Demo-data-exploration-using-example-file", "description" : "This works alongside Demo-data-exploration and offers the use of DemoDataExplorationUsingExampleFile as an example", "dependencies" : [

Dependency

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

Dependency

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

Trigger

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

Tag filter (for search)

{ "type" : "tag", "var" : "theTask", "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" : "theTask", "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", "_comment" : "The confidence is set to 0.99 so that Elody will ask explicitly by default, but will execute the Option automatically if the user's security parameters even slightly indicate to skip unnecessary questions.", "var" : "demo-data-exploration-using-example-file", "name" : "demo-data-exploration-using-example-file", "description" : null, "confidence" : 0.99, "trigger" :

Trigger

{ "_comment" : "Only use this Option if the user hasn't uploaded a file and the task_obtain_file_from_user is unsolved.", "repeat" : "never", "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : "userUploadedAFile", "role" : "excluded", "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_uploaded_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" : {} }
], "deactivate_if" : { "theTask" : ["is_finished"], "userUploadedAFile" : ["match"] } }
, "display" :

Option Display

{ "must_always_be_shown" : false, "parameter_file_name" : null, "message_components" : [

HTML component

{ "type" : "html", "scenario_history" : false, "scenario_history_title" : null, "scenario_history_description" : null, "html" : "<p>We have prepared an example file to demonstrate some of the different things our automated data exploration can do.</p>", "external_domains" : [] }
], "buttons" : [

Option Display Submit Button

{ "text" : "Yes, use the example file", "style" : "primary", "replace_normal_actions" : false, "is_the_default_button" : true, "actions" : [

Execute a Program

{ "type" : "execute_program", "var" : "theProgramExecution", "program" : "DemoDataExplorationUsingExampleFile", "arguments" : {}, "argument_lists" : {} }
,

Create an Option

{ "type" : "create_option", "var" : "postprocess-demo-data-exploration-using-example-file", "name" : "postprocess-demo-data-exploration-using-example-file", "description" : null, "confidence" : 9999.0, "trigger" :

Trigger

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

File filter (for search)

{ "type" : "file", "var" : "thePandasFile", "role" : "required", "search_type" : "first", "search_postfilter" : null, "targeted_by" : [], "equals" : null, "created_by" : "theProgramExecution", "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "is_reserved" : null, "name_matches" : null }
,

File filter (for search)

{ "type" : "file", "var" : "theCsvFile", "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [], "equals" : null, "created_by" : "theProgramExecution", "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "is_reserved" : null, "name_matches" : null }
], "deactivate_if" : { "theTask" : ["is_finished"], "userUploadedAFile" : ["match"] } }
, "display" : null, "actions" : [

Create a Message

{ "type" : "create_message", "var" : null, "visibility" : "all", "message_components" : [

HTML component

{ "type" : "html", "scenario_history" : false, "scenario_history_title" : null, "scenario_history_description" : null, "html" : "The example file is being analyzed. Click the below buttons to download it, so you can have a look yourself.", "external_domains" : [] }
,

Downloadable File

{ "type" : "downloadable_file", "scenario_history" : false, "scenario_history_title" : null, "scenario_history_description" : null, "text" : "Download the example file as a CSV file.", "file" :

Variable

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

Downloadable File

{ "type" : "downloadable_file", "scenario_history" : false, "scenario_history_title" : null, "scenario_history_description" : null, "text" : "Download the example file as a pickled Pandas DataFrame.", "file" :

Variable

{ "type" : "variable", "nullable" : false, "var" : "thePandasFile" }
}
] }
,

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" : "thePandasFile" }
], "mark_with" : [] }
] }
] }
,

Option Display Submit Button

{ "text" : "No, I want to try a file of my own.", "style" : "primary", "replace_normal_actions" : false, "is_the_default_button" : false, "actions" : [] }
] }
, "actions" : [] }
], "existing_variables" : { "theTask" :

Variable

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

Variable

{ "type" : "tag", "value" : null }
, "demo-data-exploration-using-example-file" :

Variable

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

all versions of this Rule:

Version 18

Version 17 (deleted)

Version 16 (deleted)

Version 15 (deleted)

Version 14 (deleted)

Version 13 (deleted)

Version 12 (deleted)

Version 11 (deleted)

Version 10 (deleted)

Version 9 (deleted)

Version 8 (deleted)

Version 7 (deleted)

Version 6 (deleted)

Version 5 (deleted)

Version 4 (deleted)

Version 3 (deleted)

Version 2 (deleted)

Version 1 (deleted)