@@ -232,89 +232,6 @@ def sample_datetimes():
232232 }
233233
234234
235- @pytest .fixture
236- def OG (sample_datetimes ):
237- return [
238- {
239- "user" : "john" ,
240- "age" : 18 ,
241- "job" : "engineer" ,
242- "description" : "engineers conduct trains that ride on train tracks" ,
243- "last_updated" : sample_datetimes ["low" ].timestamp (),
244- "credit_score" : "high" ,
245- "location" : "-122.4194,37.7749" ,
246- "user_embedding" : [0.1 , 0.1 , 0.5 ],
247- "image_embedding" : [0.1 , 0.1 , 0.1 , 0.1 , 0.1 ],
248- },
249- {
250- "user" : "mary" ,
251- "age" : 14 ,
252- "job" : "doctor" ,
253- "description" : "a medical professional who treats diseases and helps people stay healthy" ,
254- "last_updated" : sample_datetimes ["low" ].timestamp (),
255- "credit_score" : "low" ,
256- "location" : "-122.4194,37.7749" ,
257- "user_embedding" : [0.1 , 0.1 , 0.5 ],
258- "image_embedding" : [0.1 , 0.2 , 0.3 , 0.4 , 0.5 ],
259- },
260- {
261- "user" : "nancy" ,
262- "age" : 94 ,
263- "job" : "doctor" ,
264- "description" : "a research scientist specializing in cancers and diseases of the lungs" ,
265- "last_updated" : sample_datetimes ["mid" ].timestamp (),
266- "credit_score" : "high" ,
267- "location" : "-122.4194,37.7749" ,
268- "user_embedding" : [0.7 , 0.1 , 0.5 ],
269- "image_embedding" : [0.1 , 0.1 , 0.3 , 0.3 , 0.5 ],
270- },
271- {
272- "user" : "tyler" ,
273- "age" : 100 ,
274- "job" : "engineer" ,
275- "description" : "a software developer with expertise in mathematics and computer science" ,
276- "last_updated" : sample_datetimes ["mid" ].timestamp (),
277- "credit_score" : "high" ,
278- "location" : "-110.0839,37.3861" ,
279- "user_embedding" : [0.1 , 0.4 , 0.5 ],
280- "image_embedding" : [- 0.1 , - 0.2 , - 0.3 , - 0.4 , - 0.5 ],
281- },
282- {
283- "user" : "tim" ,
284- "age" : 12 ,
285- "job" : "dermatologist" ,
286- "description" : "a medical professional specializing in diseases of the skin" ,
287- "last_updated" : sample_datetimes ["mid" ].timestamp (),
288- "credit_score" : "high" ,
289- "location" : "-110.0839,37.3861" ,
290- "user_embedding" : [0.4 , 0.4 , 0.5 ],
291- "image_embedding" : [- 0.1 , 0.0 , 0.6 , 0.0 , - 0.9 ],
292- },
293- {
294- "user" : "taimur" ,
295- "age" : 15 ,
296- "job" : "CEO" ,
297- "description" : "high stress, but financially rewarding position at the head of a company" ,
298- "last_updated" : sample_datetimes ["high" ].timestamp (),
299- "credit_score" : "low" ,
300- "location" : "-110.0839,37.3861" ,
301- "user_embedding" : [0.6 , 0.1 , 0.5 ],
302- "image_embedding" : [1.1 , 1.2 , - 0.3 , - 4.1 , 5.0 ],
303- },
304- {
305- "user" : "joe" ,
306- "age" : 35 ,
307- "job" : "dentist" ,
308- "description" : "like the tooth fairy because they'll take your teeth, but you have to pay them!" ,
309- "last_updated" : sample_datetimes ["high" ].timestamp (),
310- "credit_score" : "medium" ,
311- "location" : "-110.0839,37.3861" ,
312- "user_embedding" : [- 0.1 , - 0.1 , - 0.5 ],
313- "image_embedding" : [- 0.8 , 2.0 , 3.1 , 1.5 , - 1.6 ],
314- },
315- ]
316-
317-
318235@pytest .fixture
319236def sample_data (sample_datetimes ):
320237 return [
0 commit comments