Created
July 28, 2015 05:55
-
-
Save kailashbadu/74350aacc4d93eaf346a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Workflow:: CompStak | |
| credentials: | |
| username: | |
| password: | |
| account: | |
| line: | |
| title: CompStack V1.0 | |
| template_id: DaAvql4Ayi | |
| stations: | |
| - type: content | |
| content_settings: | |
| title: LeaseMarking | |
| description: LeaseMarking | |
| reward: 0.0139 | |
| assignment_duration: 420 | |
| - type: content | |
| content_settings: | |
| title: DetailMarking | |
| description: DetailMarking | |
| reward: 0.0089 | |
| assignment_duration: 400 | |
| - type: content | |
| content_settings: | |
| title: Address Station | |
| description: Address Station | |
| reward: 0.0089 | |
| assignment_duration: 400 | |
| - type: content | |
| content_settings: | |
| title: Comments Station | |
| description: Comments Station | |
| reward: 0.0089 | |
| assignment_duration: 400 | |
| - type: content | |
| content_settings: | |
| title: Others Station | |
| description: Others Station | |
| reward: 0.0089 | |
| assignment_duration: 400 | |
| - type: content | |
| content_settings: | |
| title: Last Station | |
| description: Last Station | |
| reward: 0.0089 | |
| assignment_duration: 400 | |
| workflow: > | |
| Proc.new do |tx| | |
| NoOpV1(tx) | |
| branch(tx.aggregates) do |agg| | |
| label(:InputFormatCheckerAndConverter) | |
| InputFormatCheckerAndConverter(agg) | |
| label(:ConvertToImageAndCreateChild) | |
| ImageConverterAndChildCreator(agg) | |
| branch(agg.active_children) do |child| | |
| label(:MarkerStation) | |
| APIContentV1(child, station_index: 0) | |
| label(:Highlighter) | |
| HighlighterAndChildCreator(child) | |
| branch(child.active_children) do |grand_child| | |
| label(:APIContentV1) | |
| APIContentV1(grand_child, station_index: 1) | |
| label(:LeaseDetailAnalyzer) | |
| LeaseDetailAnalyzer(grand_child) | |
| branch(grand_child.active_children) do |last_child| | |
| label(:APIContentV1) | |
| APIContentV1(last_child, station_index: last_child.data['station_index']) | |
| label(:complete) | |
| UnitAnalytic(last_child) | |
| end | |
| label(:LabelChecker) | |
| LabelChecker(grand_child) | |
| branch(grand_child.active_children) do |final_station_child| | |
| label(:FinalStation) | |
| APIContentV1(final_station_child, station_index: 5) | |
| label(:complete) | |
| UnitAnalytic(final_station_child) | |
| end | |
| label(:complete) | |
| UnitAnalytic(grand_child) | |
| end | |
| label(:complete) | |
| UnitAnalytic(child) | |
| end | |
| label(:complete) | |
| UnitAnalytic(agg, [2,3,4]) | |
| end | |
| AutoCompleteV1(tx) | |
| CallbackV3(tx) | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment