Rule: Offer-to-visualize-timeseries-for-pandas
loading x elements...

Name: Offer-to-visualize-timeseries-for-pandas

Version: 2

Discussion Thread

Creator: floriandietz@elody.com

Reacts to a task_explore_data_for_pandas with a require_open_ended_work by offering VisualizeTimeseriesForPandas if there are any datetime fields that could be turned into timeseries.

ID: 263

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" : "Offer-to-visualize-timeseries-for-pandas", "description" : "Reacts to a task_explore_data_for_pandas with a require_open_ended_work by offering VisualizeTimeseriesForPandas if there are any datetime fields that could be turned into timeseries.", "dependencies" : [

Dependency

{ "symbol" : "task_explore_data_for_pandas" }
], "threshold" : 1.0, "trigger" :

Trigger

{ "repeat" : [ "theTask", "theRequirement", "theFile" ], "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theTask", "symbol" : "task_explore_data_for_pandas", "task_is_finished" : false, "arguments" : { "0" :

Tag filter

{ "type" : "tag", "var" : "theModifiableFileTag", "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "symbol" : "current_file", "arguments" : { "1" :

File filter

{ "type" : "file", "var" : "theFile" }
} }
], "symbol" : "modifiable_file" }
} }
,

Tag filter (for search)

{ "type" : "tag", "var" : "theRequirement", "symbol" : "require_open_ended_work", "arguments" : { "0" : "theTask" } }
,

Tag filter (for search)

{ "type" : "tag", "_comment" : "There needs to be at least one date column on the table for this to be applicable. We look for a date column by looking for a column targeting our modifiable_file where the latest info_column_types on it contains ',datetime,' in its comment.", "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "search_postfilter" :

Tag filter

{ "type" : "tag", "comment_contains" : ",daily_date," }
, "symbol" : "info_column_types" }
], "symbol" : "column", "arguments" : { "0" : "theModifiableFileTag" } }
,

Tag filter (for search)

{ "type" : "tag", "_comment" : "There needs to be at least one numerical column on the table for this to be applicable. We look for a numerical column by looking for a column targeting our modifiable_file where the latest info_column_types on it contains ',numeric,' in its comment.", "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "search_postfilter" :

Tag filter

{ "type" : "tag", "comment_contains" : ",numeric," }
, "symbol" : "info_column_types" }
], "symbol" : "column", "arguments" : { "0" : "theModifiableFileTag" } }
] }
, "actions" : [

Create an Option

{ "type" : "create_option", "var" : "offer-to-visualize-timeseries-for-pandas", "name" : "offer-to-visualize-timeseries-for-pandas", "confidence" : 1000.0, "trigger" :

Trigger

{ "deactivate_if" : { "theTask" : ["is_nullified", "is_provided"], "theRequirement" : ["is_nullified", "is_provided"] } }
, "actions" : [

Execute a Program

{ "type" : "execute_program", "program" : "VisualizeTimeseriesForPandas", "arguments" : { "theFile" :

Variable

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

Variable

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

Variable

{ "type" : "variable", "var" : "theModifiableFileTag" }
} }
] }
], "existing_variables" : { "theFile" :

Variable

{ "type" : "file" }
, "theTask" :

Variable

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

Variable

{ "type" : "tag" }
, "theModifiableFileTag" :

Variable

{ "type" : "tag" }
, "offer-to-visualize-timeseries-for-pandas" :

Variable

{ "type" : "option" }
} }

Rule

{ "name" : "Offer-to-visualize-timeseries-for-pandas", "description" : "Reacts to a task_explore_data_for_pandas with a require_open_ended_work by offering VisualizeTimeseriesForPandas if there are any datetime fields that could be turned into timeseries.", "dependencies" : [

Dependency

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

Trigger

{ "repeat" : [ "theTask", "theRequirement", "theFile" ], "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_explore_data_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" : false, "arguments" : { "0" :

Tag filter

{ "type" : "tag", "var" : "theModifiableFileTag", "role" : "required", "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, "is_reserved" : null, "symbol" : "current_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" : { "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, "is_reserved" : null, "name_matches" : null }
} }
], "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" : {} }
} }
,

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

Tag filter (for search)

{ "type" : "tag", "_comment" : "There needs to be at least one date column on the table for this to be applicable. We look for a date column by looking for a column targeting our modifiable_file where the latest info_column_types on it contains ',datetime,' in its comment.", "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" :

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" : null, "comment" : null, "comment_contains" : ",daily_date,", "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : null, "arguments" : {} }
, "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" : "info_column_types", "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" : {} }
], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "is_reserved" : null, "symbol" : "column", "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" : "theModifiableFileTag" } }
,

Tag filter (for search)

{ "type" : "tag", "_comment" : "There needs to be at least one numerical column on the table for this to be applicable. We look for a numerical column by looking for a column targeting our modifiable_file where the latest info_column_types on it contains ',numeric,' in its comment.", "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" :

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" : null, "comment" : null, "comment_contains" : ",numeric,", "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : null, "arguments" : {} }
, "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" : "info_column_types", "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" : {} }
], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "is_reserved" : null, "symbol" : "column", "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" : "theModifiableFileTag" } }
], "deactivate_if" : {} }
, "actions" : [

Create an Option

{ "type" : "create_option", "var" : "offer-to-visualize-timeseries-for-pandas", "name" : "offer-to-visualize-timeseries-for-pandas", "description" : null, "confidence" : 1000.0, "trigger" :

Trigger

{ "repeat" : "never", "arguments" : [], "deactivate_if" : { "theTask" : ["is_nullified", "is_provided"], "theRequirement" : ["is_nullified", "is_provided"] } }
, "display" : null, "actions" : [

Execute a Program

{ "type" : "execute_program", "var" : null, "program" : "VisualizeTimeseriesForPandas", "arguments" : { "theFile" :

Variable

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

Variable

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

Variable

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

Variable

{ "type" : "file", "value" : null }
, "theTask" :

Variable

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

Variable

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

Variable

{ "type" : "tag", "value" : null }
, "offer-to-visualize-timeseries-for-pandas" :

Variable

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

all versions of this Rule:

Version 2

Version 1 (deleted)