Skip to content

Commit 1b5fc2a

Browse files
committed
feat: dynamic interview rounds, auto-shortlist thresholds, careers page with Google Jobs SEO
1 parent e09d340 commit 1b5fc2a

4 files changed

Lines changed: 1177 additions & 124 deletions

File tree

backend/simpatico-ats.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3553,8 +3553,11 @@ Return ONLY valid JSON in format: {"match_score": 85, "reason": "Brief 1-sentenc
35533553
// Configurable rejection threshold — jobs can set auto_reject_threshold (default: 40)
35543554
const rejectThreshold = job?.auto_reject_threshold ?? 40;
35553555

3556+
// Configurable shortlist threshold — jobs can set auto_shortlist_threshold (default: 70)
3557+
const shortlistThreshold = job?.auto_shortlist_threshold ?? 70;
3558+
35563559
if (autoEnabled && match_score !== null) {
3557-
if (match_score >= 70) {
3560+
if (match_score >= shortlistThreshold) {
35583561
// HIGH SCORE → Auto-shortlist to interview stage
35593562
status = "interview";
35603563
autoInterview = true;
@@ -3616,7 +3619,7 @@ Return ONLY valid JSON in format: {"match_score": 85, "reason": "Brief 1-sentenc
36163619
token_type: "single",
36173620
interview_type: "ai_voice",
36183621
interview_role: job.title,
3619-
interview_level: "auto",
3622+
interview_level: "Screening Call",
36203623
status: "pending",
36213624
company_id: ctx.tenantId,
36223625
question_count: 5,

0 commit comments

Comments
 (0)