-
Notifications
You must be signed in to change notification settings - Fork 1
/
get_rating_and_update_dataset-deployment.yaml
171 lines (170 loc) · 3.69 KB
/
get_rating_and_update_dataset-deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
###
### A complete description of a Prefect Deployment for flow 'get-rating-and-update-dataset'
###
name: rate_hvd
description: null
version: 3549e35bd92594724101e2940d3ed8eb
# The work queue that will handle this deployment's runs
work_queue_name: default
tags:
- dev
parameters: {}
schedule: null
infra_overrides: {}
###
### DO NOT EDIT BELOW THIS LINE
###
flow_name: get-rating-and-update-dataset
manifest_path: null
infrastructure:
type: process
env: {}
labels: {}
name: null
command:
- python
- -m
- prefect.engine
stream_output: true
_block_document_id: 4e63e2fe-761c-4f31-be43-d787ecd57999
_block_document_name: anonymous-f38b4e87-4e72-45fd-af41-4754df44a043
_is_anonymous: true
storage: null
path: /code
entrypoint: hvd_rating/rate_high_value_dataset.py:get_rating_and_update_dataset
parameter_openapi_schema:
title: Parameters
type: object
properties:
params_json:
title: params_json
default:
update_frequency:
weight: 0.16
params:
onetime: 2.5
yearly: 5
monthly: 7.5
daily: 10
average_rating:
weight: 0.16
params:
'0': 0
'1': 2
'2': 4
'3': 6
'4': 8
'5': 10
formats:
weight: 0.16
params:
csv:
weight: 1
params:
'0': 0
'70': 7
'10': 1
'50': 5
'40': 4
'30': 3
'80': 8
'90': 9
'60': 6
'20': 2
'100': 10
json:
weight: 0.5
params:
'100': 10
'90': 9
'80': 8
'70': 7
'60': 6
'50': 5
'40': 4
'30': 3
'20': 2
'10': 1
'0': 0
xml:
weight: 0.25
params:
'100': 10
'90': 9
'80': 8
'70': 7
'60': 6
'50': 5
'40': 4
'30': 3
'20': 2
'10': 1
'0': 0
pdf:
weight: 0.1
params:
'100': 10
'90': 9
'80': 8
'70': 7
'60': 6
'50': 5
'40': 4
'30': 3
'20': 2
'10': 1
'0': 0
user_interaction:
weight: 0.16
params:
'0': 0
'1': 1
'2': 2
'3': 3
'4': 4
'5': 5
'6': 6
'7': 7
'8': 8
'9': 9
'10': 10
downloads:
weight: 0.16
params:
'0': 0
'5': 0.5
'10': 1
'15': 1.5
'20': 2
'25': 2.5
'30': 3
'35': 3.5
'40': 4
'45': 4.5
'50': 5
'55': 5.5
'60': 6
'65': 6.5
'70': 7
'75': 7.5
'80': 8
'85': 8.5
'90': 9
'95': 9.5
'100': 10
downloads_per_month:
weight: 0.16
params:
'0': 0
'10': 1
'20': 2
'30': 3
'40': 4
'50': 5
'60': 6
'70': 7
'80': 8
'90': 9
'100': 10
required: null
definitions: null