@@ -40,6 +40,14 @@ def trial_component(trial_component_name):
40
40
"Count" : 2.0 ,
41
41
},
42
42
],
43
+ "InputArtifacts" : {
44
+ "inputArtifacts1" : {"MediaType" : "text/plain" , "Value" : "s3:/foo/bar1" },
45
+ "inputArtifacts2" : {"MediaType" : "text/plain" , "Value" : "s3:/foo/bar2" },
46
+ },
47
+ "OutputArtifacts" : {
48
+ "outputArtifacts1" : {"MediaType" : "text/csv" , "Value" : "s3:/sky/far1" },
49
+ "outputArtifacts2" : {"MediaType" : "text/csv" , "Value" : "s3:/sky/far2" },
50
+ },
43
51
}
44
52
45
53
@@ -72,6 +80,14 @@ def test_trial_analytics_dataframe_all_metrics_hyperparams(mock_session):
72
80
("metric2 - StdDev" , [0.05 , 0.05 ]),
73
81
("metric2 - Last" , [7.0 , 7.0 ]),
74
82
("metric2 - Count" , [2.0 , 2.0 ]),
83
+ ("inputArtifacts1 - MediaType" , ["text/plain" , "text/plain" ]),
84
+ ("inputArtifacts1 - Value" , ["s3:/foo/bar1" , "s3:/foo/bar1" ]),
85
+ ("inputArtifacts2 - MediaType" , ["text/plain" , "text/plain" ]),
86
+ ("inputArtifacts2 - Value" , ["s3:/foo/bar2" , "s3:/foo/bar2" ]),
87
+ ("outputArtifacts1 - MediaType" , ["text/csv" , "text/csv" ]),
88
+ ("outputArtifacts1 - Value" , ["s3:/sky/far1" , "s3:/sky/far1" ]),
89
+ ("outputArtifacts2 - MediaType" , ["text/csv" , "text/csv" ]),
90
+ ("outputArtifacts2 - Value" , ["s3:/sky/far2" , "s3:/sky/far2" ]),
75
91
]
76
92
)
77
93
)
@@ -117,6 +133,14 @@ def test_trial_analytics_dataframe_selected_hyperparams(mock_session):
117
133
("metric2 - StdDev" , [0.05 , 0.05 ]),
118
134
("metric2 - Last" , [7.0 , 7.0 ]),
119
135
("metric2 - Count" , [2.0 , 2.0 ]),
136
+ ("inputArtifacts1 - MediaType" , ["text/plain" , "text/plain" ]),
137
+ ("inputArtifacts1 - Value" , ["s3:/foo/bar1" , "s3:/foo/bar1" ]),
138
+ ("inputArtifacts2 - MediaType" , ["text/plain" , "text/plain" ]),
139
+ ("inputArtifacts2 - Value" , ["s3:/foo/bar2" , "s3:/foo/bar2" ]),
140
+ ("outputArtifacts1 - MediaType" , ["text/csv" , "text/csv" ]),
141
+ ("outputArtifacts1 - Value" , ["s3:/sky/far1" , "s3:/sky/far1" ]),
142
+ ("outputArtifacts2 - MediaType" , ["text/csv" , "text/csv" ]),
143
+ ("outputArtifacts2 - Value" , ["s3:/sky/far2" , "s3:/sky/far2" ]),
120
144
]
121
145
)
122
146
)
@@ -157,6 +181,14 @@ def test_trial_analytics_dataframe_selected_metrics(mock_session):
157
181
("metric1 - StdDev" , [1.0 , 1.0 ]),
158
182
("metric1 - Last" , [2.0 , 2.0 ]),
159
183
("metric1 - Count" , [2.0 , 2.0 ]),
184
+ ("inputArtifacts1 - MediaType" , ["text/plain" , "text/plain" ]),
185
+ ("inputArtifacts1 - Value" , ["s3:/foo/bar1" , "s3:/foo/bar1" ]),
186
+ ("inputArtifacts2 - MediaType" , ["text/plain" , "text/plain" ]),
187
+ ("inputArtifacts2 - Value" , ["s3:/foo/bar2" , "s3:/foo/bar2" ]),
188
+ ("outputArtifacts1 - MediaType" , ["text/csv" , "text/csv" ]),
189
+ ("outputArtifacts1 - Value" , ["s3:/sky/far1" , "s3:/sky/far1" ]),
190
+ ("outputArtifacts2 - MediaType" , ["text/csv" , "text/csv" ]),
191
+ ("outputArtifacts2 - Value" , ["s3:/sky/far2" , "s3:/sky/far2" ]),
160
192
]
161
193
)
162
194
)
@@ -203,6 +235,14 @@ def test_trial_analytics_dataframe_search_pagination(mock_session):
203
235
("metric2 - StdDev" , [0.05 , 0.05 ]),
204
236
("metric2 - Last" , [7.0 , 7.0 ]),
205
237
("metric2 - Count" , [2.0 , 2.0 ]),
238
+ ("inputArtifacts1 - MediaType" , ["text/plain" , "text/plain" ]),
239
+ ("inputArtifacts1 - Value" , ["s3:/foo/bar1" , "s3:/foo/bar1" ]),
240
+ ("inputArtifacts2 - MediaType" , ["text/plain" , "text/plain" ]),
241
+ ("inputArtifacts2 - Value" , ["s3:/foo/bar2" , "s3:/foo/bar2" ]),
242
+ ("outputArtifacts1 - MediaType" , ["text/csv" , "text/csv" ]),
243
+ ("outputArtifacts1 - Value" , ["s3:/sky/far1" , "s3:/sky/far1" ]),
244
+ ("outputArtifacts2 - MediaType" , ["text/csv" , "text/csv" ]),
245
+ ("outputArtifacts2 - Value" , ["s3:/sky/far2" , "s3:/sky/far2" ]),
206
246
]
207
247
)
208
248
)
0 commit comments