saitejatirunagari Claude Opus 4.8 commited on
Commit
3cc1867
·
1 Parent(s): 39623f2

test: accept provider_family kwarg in regression stubs

Browse files

Cursor's provider abstraction added tailor_resume_v4(..., provider_family=...).
The regression stubs didn't accept it, so the call threw -> caught as
PROVIDER_ERROR -> READY demoted -> download blocked, failing verify_anticheat
test 1 and verify_90_pipeline. Product code was correct; only the test stubs
were stale. Add **kwargs to the stubs. All three suites pass again.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

scripts/verify_90_pipeline.py CHANGED
@@ -25,7 +25,7 @@ if os.path.exists("data/resume/_parsed.json"):
25
  os.remove("data/resume/_parsed.json")
26
 
27
 
28
- def stub(self, cfg, resume_dict, jd_text, job_title, company, assessment):
29
  o = dict(resume_dict)
30
  o["summary"] = (f"Strong-fit candidate for {job_title} at {company}: "
31
  + (resume_dict.get("summary") or "PM with 5+ years."))
 
25
  os.remove("data/resume/_parsed.json")
26
 
27
 
28
+ def stub(self, cfg, resume_dict, jd_text, job_title, company, assessment, **kwargs):
29
  o = dict(resume_dict)
30
  o["summary"] = (f"Strong-fit candidate for {job_title} at {company}: "
31
  + (resume_dict.get("summary") or "PM with 5+ years."))
scripts/verify_anticheat.py CHANGED
@@ -37,7 +37,7 @@ if os.path.exists("data/resume/_parsed.json"):
37
  os.remove("data/resume/_parsed.json")
38
 
39
 
40
- def stub(self, cfg, resume_dict, jd_text, job_title, company, assessment):
41
  o = dict(resume_dict)
42
  o["summary"] = (f"Strong-fit candidate for {job_title} at {company}: "
43
  + (resume_dict.get("summary") or "PM 5+ years."))
 
37
  os.remove("data/resume/_parsed.json")
38
 
39
 
40
+ def stub(self, cfg, resume_dict, jd_text, job_title, company, assessment, **kwargs):
41
  o = dict(resume_dict)
42
  o["summary"] = (f"Strong-fit candidate for {job_title} at {company}: "
43
  + (resume_dict.get("summary") or "PM 5+ years."))