-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheval_data.py
More file actions
75 lines (75 loc) · 3.03 KB
/
Copy patheval_data.py
File metadata and controls
75 lines (75 loc) · 3.03 KB
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
test_cases = [
{
"raw_input": "Backend Engineer at Spotify. Apply here: spotify.com/careers/backend. Contact recruiter Anna Berg at [email protected]",
"expected": {
"company_name": "Spotify",
"role": "Backend Engineer",
"application_link": "spotify.com/careers/backend",
"recruiter_name": "Anna Berg",
"recruiter_email": "[email protected]"
}
},
{
"raw_input": "Frontend Developer at Facebook. Apply here: facebook.com/careers/frontend. Contact recruiter John Smith at [email protected]",
"expected": {
"company_name": "Facebook",
"role": "Frontend Developer",
"application_link": "facebook.com/careers/frontend",
"recruiter_name": "John Smith",
"recruiter_email": "[email protected]"
}
},
{
"raw_input": "UI/UX Designer at Adobe. Apply here: adobe.com/careers/ui-ux. Contact recruiter David Wilson",
"expected": {
"company_name": "Adobe",
"role": "UI/UX Designer",
"application_link": "adobe.com/careers/ui-ux",
"recruiter_name": "David Wilson",
"recruiter_email": "" # genuinely not mentioned - real test of "don't hallucinate an email"
}
},
{
"raw_input": "Product Manager at Tesla. Contact recruiter Lisa Brown at [email protected]",
"expected": {
"company_name": "Tesla",
"role": "Product Manager",
"application_link": "", # genuinely no link in the text
"recruiter_name": "Lisa Brown",
"recruiter_email": "[email protected]"
}
},
{
# NEW - no recruiter info mentioned at all
"raw_input": "Data Analyst position open at Airbnb. Apply at airbnb.com/careers/data-analyst.",
"expected": {
"company_name": "Airbnb",
"role": "Data Analyst",
"application_link": "airbnb.com/careers/data-analyst",
"recruiter_name": "",
"recruiter_email": ""
}
},
{
# NEW - messy, casual, forwarded-email style
"raw_input": "hey saw this and thought of you - Senior SWE role at Stripe, looks pretty cool. link: stripe.com/jobs/senior-swe. reach out to their recruiter Priya if interested, [email protected]",
"expected": {
"company_name": "Stripe",
"role": "Senior SWE",
"application_link": "stripe.com/jobs/senior-swe",
"recruiter_name": "Priya", # only first name given - tests partial-info handling
"recruiter_email": "[email protected]"
}
},
{
# NEW - only company + role, nothing else at all
"raw_input": "We're hiring a Cloud Infrastructure Engineer at Datadog.",
"expected": {
"company_name": "Datadog",
"role": "Cloud Infrastructure Engineer",
"application_link": "",
"recruiter_name": "",
"recruiter_email": ""
}
}
]