@@ -40,6 +40,14 @@ def trial_component(trial_component_name):
4040 "Count" : 2.0 ,
4141 },
4242 ],
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+ },
4351 }
4452
4553
@@ -72,6 +80,14 @@ def test_trial_analytics_dataframe_all_metrics_hyperparams(mock_session):
7280 ("metric2 - StdDev" , [0.05 , 0.05 ]),
7381 ("metric2 - Last" , [7.0 , 7.0 ]),
7482 ("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" ]),
7591 ]
7692 )
7793 )
@@ -117,6 +133,14 @@ def test_trial_analytics_dataframe_selected_hyperparams(mock_session):
117133 ("metric2 - StdDev" , [0.05 , 0.05 ]),
118134 ("metric2 - Last" , [7.0 , 7.0 ]),
119135 ("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" ]),
120144 ]
121145 )
122146 )
@@ -157,6 +181,14 @@ def test_trial_analytics_dataframe_selected_metrics(mock_session):
157181 ("metric1 - StdDev" , [1.0 , 1.0 ]),
158182 ("metric1 - Last" , [2.0 , 2.0 ]),
159183 ("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" ]),
160192 ]
161193 )
162194 )
@@ -203,6 +235,14 @@ def test_trial_analytics_dataframe_search_pagination(mock_session):
203235 ("metric2 - StdDev" , [0.05 , 0.05 ]),
204236 ("metric2 - Last" , [7.0 , 7.0 ]),
205237 ("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" ]),
206246 ]
207247 )
208248 )
0 commit comments