Rule: Recognize-task-hierarchy-conversion-offer-conversion-to-pickled-pandas-dataframe
loading x elements...

Name: Recognize-task-hierarchy-conversion-offer-conversion-to-pickled-pandas-dataframe

Version: 1

Discussion Thread

Creator: initial_tools

Hardcoded Priority (supersedes the rating): 4.5

This Rule has moderator approval.

When hierarchy_for_task_selection_root_miscellaneous_conversion is active, offer an Option that enables a conversion of a file into pickled Pandas DataFrame.

This first uses task_obtain_file_from_user to obtain a file, then uses task_convert_file_type with require_format_pickled_pandas_dataframe to convert it, then offers the result for download.

ID: 82

Created: Sept. 27, 2018, 3:21 p.m.

full definition:

The below is the JSON description of this object.

It is annotated with links to the documentation of each component. Default values are written in grey.

Click to copy this text to your clipboard.

Rule

{ "name" : "Recognize-task-hierarchy-conversion-offer-conversion-to-pickled-pandas-dataframe", "description" : "When hierarchy_for_task_selection_root_miscellaneous_conversion is active, offer an Option that enables a conversion of a file into pickled Pandas DataFrame.

This first uses task_obtain_file_from_user to obtain a file, then uses task_convert_file_type with require_format_pickled_pandas_dataframe to convert it, then offers the result for download."
, "dependencies" : [

Dependency

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

Trigger

{ "allow_repetition" : false, "arguments" : [] }
, "actions" : [

Create an Option

{ "type" : "create_option", "var" : "offer-conversion-to-pickled-pandas-dataframe", "name" : "offer-conversion-to-pickled-pandas-dataframe", "description" : "If selected, this first uses task_obtain_file_from_user to obtain a file, then uses task_convert_file_type with require_format_pickled_pandas_dataframe to convert it, then offers the result for download.", "confidence" : 0.9, "trigger" :

Trigger

{ "allow_repetition" : false, "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theTriggeringHierarchyTag", "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theCurrentSelectionTag", "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, "symbol" : "hierarchy_for_task_selection_currently_active", "comment" : null, "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : null, "arguments" : {} }
], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "symbol" : "hierarchy_for_task_selection_root_miscellaneous_conversion", "comment" : null, "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : null, "arguments" : {} }
] }
, "display" :

Option Display

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

Text message component

{ "type" : "text", "text" : "Convert a file into a pickled Pandas DataFrame." }
] }
, "actions" : [

Create a Tag

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

Variable

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

Create a Tag

{ "type" : "create_tag", "var" : "theTask", "symbol" : "task_obtain_file_from_user", "comment" : null, "weight" : null, "arguments" : [] }
,

Create a Tag

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

Variable

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

Create a Tag

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

Variable

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

Create a Tag

{ "type" : "create_tag", "var" : "theRequireTag", "symbol" : "require_a_file", "comment" : null, "weight" : null, "arguments" : [

Variable

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

Create a Tag

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

Variable

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

Create an Option

{ "type" : "create_option", "var" : "react-to-user-file-by-starting-file-conversion-task", "name" : "react-to-user-file-by-starting-file-conversion-task", "description" : "Waits until a task_obtain_file_from_user is satisfied, then uses the file to start another task based on it.", "confidence" : 1000, "trigger" :

Trigger

{ "allow_repetition" : false, "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : null, "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [], "equals" : "theTask", "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "symbol" : null, "comment" : null, "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : true, "arguments" : {} }
,

Tag filter (for search)

{ "type" : "tag", "var" : null, "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "var" : null, "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, "symbol" : "!provide", "comment" : null, "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : null, "arguments" : { "1" :

File filter

{ "type" : "file", "var" : "theFile", "role" : "required", "targeted_by" : [], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "name_matches" : null }
} }
], "equals" : "theRequireTag", "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "symbol" : null, "comment" : null, "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : null, "arguments" : {} }
] }
, "display" : null, "actions" : [

Create a Tag

{ "type" : "create_tag", "var" : "theTask", "symbol" : "task_convert_file_type", "comment" : null, "weight" : null, "arguments" : [] }
,

Create a Tag

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

Variable

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

Create a Tag

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

Variable

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

Create a Tag

{ "type" : "create_tag", "var" : "theRequireTag", "symbol" : "require_format_pickled_pandas_dataframe", "comment" : null, "weight" : null, "arguments" : [

Variable

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

Variable

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

Create a Tag

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

Variable

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

Create an Option

{ "type" : "create_option", "var" : "react-present-converted-file", "name" : "react-present-converted-file", "description" : "Waits for the solution to the task_convert_file_type, then presents the result for download.", "confidence" : 1000, "trigger" :

Trigger

{ "allow_repetition" : false, "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : null, "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [], "equals" : "theTask", "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "symbol" : null, "comment" : null, "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : true, "arguments" : {} }
,

Tag filter (for search)

{ "type" : "tag", "var" : null, "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "var" : null, "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, "symbol" : "!provide", "comment" : null, "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : null, "arguments" : { "1" :

File filter

{ "type" : "file", "var" : "theConvertedFile", "role" : "required", "targeted_by" : [], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "name_matches" : null }
} }
], "equals" : "theRequireTag", "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "symbol" : null, "comment" : null, "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : null, "arguments" : {} }
] }
, "display" : null, "actions" : [

Create a Message

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

Text message component

{ "type" : "text", "text" : "Finished converting the file to a pickled Pandas DataFrame." }
,

Downloadable File

{ "type" : "downloadable_file", "text" : "Download the converted file", "file" :

Variable

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

Deactivate this Rule or Option

{ "type" : "deactivate_self", "var" : null }
] }
,

Deactivate this Rule or Option

{ "type" : "deactivate_self", "var" : null }
] }
,

Deactivate this Rule or Option

{ "type" : "deactivate_self", "var" : null }
] }
,

Deactivate this Rule or Option

{ "type" : "deactivate_self", "var" : null }
], "existing_variables" : { "offer-conversion-to-pickled-pandas-dataframe" :

Variable

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

all versions of this Rule:

Version 1