cloudfactory 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/cf.gemspec +9 -6
  2. data/lib/cf/cli/production.rb +1 -2
  3. data/lib/cf/cli/templates/sample-line/form.css +6 -7
  4. data/lib/cf/cli/templates/sample-line/form.html +9 -15
  5. data/lib/cf/cli/templates/sample-line/form.js +2 -2
  6. data/lib/cf/cli/templates/sample-line/line.yml.erb +70 -46
  7. data/lib/cf/cli/templates/sample-line/sample-line.csv +3 -3
  8. data/lib/cf/run.rb +1 -1
  9. data/lib/cf/version.rb +1 -1
  10. metadata +61 -84
  11. data/example/google_translate_app/Gemfile +0 -12
  12. data/example/google_translate_app/config.ru +0 -7
  13. data/example/google_translate_app/google_translate_input.csv +0 -4
  14. data/example/google_translate_app/google_translator_app.rb +0 -53
  15. data/example/google_translate_app/views/index.haml +0 -2
  16. data/example/google_translate_app/views/layout.haml +0 -7
  17. data/example/google_translate_app/views/run.haml +0 -4
  18. data/example/google_translate_app/views/style.sass +0 -2
  19. data/example/human_worker_app/Gemfile +0 -12
  20. data/example/human_worker_app/config.ru +0 -7
  21. data/example/human_worker_app/human_worker_app.rb +0 -55
  22. data/example/human_worker_app/human_worker_input.csv +0 -5
  23. data/example/human_worker_app/public/app.js +0 -12
  24. data/example/human_worker_app/temp.csv +0 -3
  25. data/example/human_worker_app/views/index.haml +0 -15
  26. data/example/human_worker_app/views/layout.haml +0 -10
  27. data/example/human_worker_app/views/result.haml +0 -18
  28. data/example/human_worker_app/views/run.haml +0 -12
  29. data/example/human_worker_app/views/style.sass +0 -25
  30. data/example/sample_yaml_files/concept_tagging_robot.yaml +0 -18
  31. data/example/sample_yaml_files/content_scraping_robot.yaml +0 -19
  32. data/example/sample_yaml_files/entity_extraction_robot.yaml +0 -18
  33. data/example/sample_yaml_files/google_translate_robot.yaml +0 -20
  34. data/example/sample_yaml_files/image_processing_robot.yaml +0 -20
  35. data/example/sample_yaml_files/keyword_matching_and_text_extraction_robot.yaml +0 -26
  36. data/example/sample_yaml_files/mailer_robot.yaml +0 -21
  37. data/example/sample_yaml_files/media_converter_robot.yaml +0 -21
  38. data/example/sample_yaml_files/media_splitting_robot.yaml +0 -20
  39. data/example/sample_yaml_files/multiple_skill_badge.yaml +0 -75
  40. data/example/sample_yaml_files/sentiment_robot.yaml +0 -19
  41. data/example/sample_yaml_files/skill_badge.yaml +0 -56
  42. data/example/sample_yaml_files/stat_badge.yaml +0 -40
  43. data/example/sample_yaml_files/term_extraction_robot.yaml +0 -20
  44. data/example/sample_yaml_files/tournament_station_and_form_fields.yaml +0 -40
@@ -1,21 +0,0 @@
1
- api_key: f488a62d0307e79ec4f1e6131fa220be47e83d44
2
- title: manish
3
- description: Describe the line what its purpose is and what it does. You got the idea, right?
4
- department: Survey
5
-
6
- input_formats:
7
- - name: url
8
- required: true
9
- valid_type: url
10
-
11
- stations:
12
- - station:
13
- station_index: 1
14
- station_type: work
15
- worker:
16
- worker_type: media_converter_robot
17
- settings:
18
- url: http://media-robot.s3.amazonaws.com/media_robot/media/upload/8/ten.mov
19
- to: mpg
20
- audio_quality: 320
21
- video_quality: 3
@@ -1,20 +0,0 @@
1
- api_key: f488a62d0307e79ec4f1e6131fa220be47e83d44
2
- title: manish
3
- description: Describe the line what its purpose is and what it does. You got the idea, right?
4
- department: Survey
5
-
6
- input_formats:
7
- - name: url
8
- required: true
9
- valid_type: url
10
-
11
- stations:
12
- - station:
13
- station_index: 1
14
- station_type: work
15
- worker:
16
- worker_type: media_splitting_robot
17
- settings:
18
- url: ["http://media-robot.s3.amazonaws.com/media_robot/media/upload/8/ten.mov"]
19
- split_duration: 2
20
- overlapping_time: 1
@@ -1,75 +0,0 @@
1
- api_key: f488a62d0307e79ec4f1e6131fa220be47e83d44
2
- title: manish
3
- description: Describe the line what its purpose is and what it does. You got the idea, right?
4
- department: Survey
5
-
6
- input_formats:
7
- - name: text
8
- required: true
9
- valid_type: general
10
-
11
- stations:
12
- - station:
13
- station_index: 1
14
- station_type: work
15
- worker:
16
- worker_type: human
17
- num_workers: 1
18
- reward: 10
19
- skill_badges:
20
- - title: Football Fanatic
21
- description: This qualification allows you to perform work at stations which have this badge.
22
- max_badges: 3
23
- test:
24
- input:
25
- name: Lionel Andres Messi
26
- country: Argentina
27
- expected_output:
28
- - birthplace: 'Rosario, Santa Fe, Argentina'
29
- match_options:
30
- tolerance: 10
31
- ignore_case: true
32
- - position: CF
33
- match_options:
34
- tolerance: 1
35
- - current_club: Barcelona
36
- match_options:
37
- tolerance: 1
38
- ignore_case: false
39
- - title: Football Fanatic
40
- description: This qualification allows you to perform work at stations which have this badge.
41
- max_badges: 3
42
- test:
43
- input:
44
- name: Cristiano Ronaldo
45
- country: Portugal
46
- expected_output:
47
- - birthplace: 'Portugal'
48
- match_options:
49
- tolerance: 10
50
- ignore_case: true
51
- - position: CF
52
- match_options:
53
- tolerance: 1
54
- - current_club: Real Madrid
55
- match_options:
56
- tolerance: 1
57
- ignore_case: false
58
- task_form:
59
- form_title: Enter text from a business card image
60
- instruction: Description should be written here
61
- form_fields:
62
- - label: First Name
63
- required: true
64
- field_type: SA
65
- - label: Middle Name
66
- field_type: SA
67
- - label: Last Name
68
- required: true
69
- field_type: SA
70
- - label: Gender
71
- required: true
72
- field_type: RB
73
- option_values:
74
- - male
75
- - female
@@ -1,19 +0,0 @@
1
- api_key: f488a62d0307e79ec4f1e6131fa220be47e83d44
2
- title: manish
3
- description: Describe the line what its purpose is and what it does. You got the idea, right?
4
- department: Survey
5
-
6
- input_formats:
7
- - name: url
8
- required: true
9
- valid_type: url
10
-
11
- stations:
12
- - station:
13
- station_index: 1
14
- station_type: work
15
- worker:
16
- worker_type: sentiment_robot
17
- settings:
18
- document: ["{url}"]
19
- sanitize: true
@@ -1,56 +0,0 @@
1
- api_key: f488a62d0307e79ec4f1e6131fa220be47e83d44
2
- title: manish
3
- description: Describe the line what its purpose is and what it does. You got the idea, right?
4
- department: Survey
5
-
6
- input_formats:
7
- - name: text
8
- required: true
9
- valid_type: general
10
-
11
- stations:
12
- - station:
13
- station_index: 1
14
- station_type: work
15
- worker:
16
- worker_type: human
17
- num_workers: 1
18
- reward: 10
19
- skill_badges:
20
- - title: Football Fanatic
21
- description: This qualification allows you to perform work at stations which have this badge.
22
- max_badges: 3
23
- test:
24
- input:
25
- name: Lionel Andres Messi
26
- country: Argentina
27
- expected_output:
28
- - birthplace: 'Rosario, Santa Fe, Argentina'
29
- match_options:
30
- tolerance: 10
31
- ignore_case: true
32
- - position: CF
33
- match_options:
34
- tolerance: 1
35
- - current_club: Barcelona
36
- match_options:
37
- tolerance: 1
38
- ignore_case: false
39
- task_form:
40
- form_title: Enter text from a business card image
41
- instruction: Description should be written here
42
- form_fields:
43
- - label: First Name
44
- required: true
45
- field_type: SA
46
- - label: Middle Name
47
- field_type: SA
48
- - label: Last Name
49
- required: true
50
- field_type: SA
51
- - label: Gender
52
- required: true
53
- field_type: RB
54
- option_values:
55
- - male
56
- - female
@@ -1,40 +0,0 @@
1
- api_key: f488a62d0307e79ec4f1e6131fa220be47e83d44
2
- title: manish
3
- description: Describe the line what its purpose is and what it does. You got the idea, right?
4
- department: Survey
5
-
6
- input_formats:
7
- - name: text
8
- required: true
9
- valid_type: general
10
-
11
- stations:
12
- - station:
13
- station_index: 1
14
- station_type: work
15
- worker:
16
- worker_type: human
17
- num_workers: 1
18
- reward: 10
19
- stat_badge:
20
- approval_rating: 40
21
- assignment_duration: 1800
22
- abandonment_rate: 30
23
- task_form:
24
- form_title: Enter text from a business card image
25
- instruction: Description should be written here
26
- form_fields:
27
- - label: First Name
28
- required: true
29
- field_type: SA
30
- - label: Middle Name
31
- field_type: SA
32
- - label: Last Name
33
- required: true
34
- field_type: SA
35
- - label: Gender
36
- required: true
37
- field_type: RB
38
- option_values:
39
- - male
40
- - female
@@ -1,20 +0,0 @@
1
- api_key: f488a62d0307e79ec4f1e6131fa220be47e83d44
2
- title: manish
3
- description: Describe the line what its purpose is and what it does. You got the idea, right?
4
- department: Survey
5
-
6
- input_formats:
7
- - name: url
8
- required: true
9
- valid_type: url
10
-
11
- stations:
12
- - station:
13
- station_index: 1
14
- station_type: work
15
- worker:
16
- worker_type: term_extraction_robot
17
- settings:
18
- url: ["{url}"]
19
- max_retrieve: 5
20
- show_source_text: true
@@ -1,40 +0,0 @@
1
- api_key: f488a62d0307e79ec4f1e6131fa220be47e83d44
2
- title: manish
3
- description: Describe the line what its purpose is and what it does. You got the idea, right?
4
- department: Survey
5
-
6
- input_formats:
7
- - name: text
8
- required: true
9
- valid_type: general
10
-
11
- stations:
12
- - station:
13
- station_index: 1
14
- station_type: tournament
15
- jury_worker:
16
- max_judges: 10
17
- auto_judge:
18
- enabled: true
19
- worker:
20
- worker_type: human
21
- num_workers: 1
22
- reward: 10
23
- task_form:
24
- form_title: Enter text from a business card image
25
- instruction: Description should be written here
26
- form_fields:
27
- - label: First Name
28
- required: true
29
- field_type: SA
30
- - label: Middle Name
31
- field_type: SA
32
- - label: Last Name
33
- required: true
34
- field_type: SA
35
- - label: Gender
36
- required: true
37
- field_type: RB
38
- option_values:
39
- - male
40
- - female