feat: implement YAML-based configuration, .env support, and customizable prompt templates for AI analysis

This commit is contained in:
2026-08-22 10:17:38 -07:00
parent 7ec91f384f
commit 0de312edbd
30 changed files with 895 additions and 211 deletions
+13
View File
@@ -0,0 +1,13 @@
# Hireme System Configuration
server:
port: "8080"
log_level: "info"
ai_trigger:
# Minimum keyword fit score from filters.yaml required to trigger deep LLM analysis (e.g. 25.0)
analysis_threshold: 25.0
prompts:
system_prompt_path: "data/config/prompts/system_prompt.txt"
user_prompt_path: "data/config/prompts/user_prompt.txt"
+96 -24
View File
@@ -1,31 +1,103 @@
# Hard exclusion keywords (immediate rejection)
hard_keywords:
# Sponsorship / Clearance blockers
- "no sponsorship"
- "without sponsorship"
- "us citizen only"
- "u.s. citizen only"
- "active security clearance"
- "top secret/sci"
- "polygraph"
# Non-target employment types
- "unpaid"
- "volunteer"
- "internship"
- "co-op"
# Unrelated roles
- "sales representative"
- "account executive"
- "recruiter"
- "marketing manager"
# Minimum score threshold to qualify for deep LLM analysis
analysis_threshold: 25.0
# Scored keywords with weights
scoring_weights:
- keyword: golang
weight: 3.0
- keyword: go
weight: 2.0
- keyword: python
weight: 2.0
- keyword: kubernetes
weight: 3.0
- keyword: k8s
weight: 3.0
- keyword: docker
weight: 2.0
- keyword: aws
weight: 1.0
- keyword: gcp
weight: 1.0
- keyword: distributed systems
weight: 4.0
- keyword: backend
weight: 3.0
- keyword: ai
weight: -5.0
- keyword: machine learning
weight: -5.0
# Tier 1: Core Systems, Cloud & AI Infrastructure (High Priority)
- keyword: "kubernetes"
weight: 15.0
- keyword: "k8s"
weight: 15.0
- keyword: "golang"
weight: 15.0
- keyword: "go"
weight: 12.0
- keyword: "distributed systems"
weight: 15.0
- keyword: "ai runtime"
weight: 15.0
- keyword: "deep learning system"
weight: 15.0
- keyword: "machine learning infrastructure"
weight: 15.0
- keyword: "gke"
weight: 12.0
- keyword: "container runtime"
weight: 12.0
- keyword: "containerd"
weight: 10.0
- keyword: "c++"
weight: 10.0
- keyword: "linux kernel"
weight: 12.0
- keyword: "operating system"
weight: 10.0
# Tier 2: Cloud, Backend, Systems Programming (Medium Priority)
- keyword: "docker"
weight: 8.0
- keyword: "grpc"
weight: 8.0
- keyword: "protobuf"
weight: 6.0
- keyword: "microservices"
weight: 8.0
- keyword: "python"
weight: 6.0
- keyword: "cloud infrastructure"
weight: 10.0
- keyword: "virtualization"
weight: 8.0
- keyword: "hypervisor"
weight: 8.0
- keyword: "arm"
weight: 6.0
- keyword: "performance optimization"
weight: 8.0
- keyword: "low latency"
weight: 8.0
# Tier 3: Seniority & Qualifications
- keyword: "phd"
weight: 8.0
- keyword: "staff software engineer"
weight: 10.0
- keyword: "senior software engineer"
weight: 8.0
- keyword: "principal engineer"
weight: 10.0
- keyword: "tech lead"
weight: 6.0
# Tier 4: Negative/Irrelevant Focus Penalties
- keyword: "react native"
weight: -8.0
- keyword: "wordpress"
weight: -15.0
- keyword: "php"
weight: -10.0
- keyword: "salesforce"
weight: -10.0
- keyword: "frontend only"
weight: -10.0
+35
View File
@@ -0,0 +1,35 @@
You are an expert Silicon Valley technical recruiter and hiring manager evaluating job descriptions for a specific candidate.
CANDIDATE PROFILE:
- Name: Pengzhan Hao
- Current Role: Software Engineer at Google (Kirkland/Seattle, WA)
* GKE AI runtime: optimized AI workload startup latency, security & performance on Kubernetes.
* GKE Core Node: shipped first ARM VM to GKE, huge pages, nested virtualization.
- Education:
* Ph.D. in Computer Science (Binghamton University, 2017–2023) - Research in Edge Computing, Distributed Deep Learning Systems (EDDL), Operating Systems.
* M.S. in Computer Science (Binghamton University, GPA: 4.0).
* B.E. in Software Engineering (Beihang University).
- Technical Stack: Golang, C/C++, Python, Kubernetes (K8s), GKE, Containerd, Docker, Linux Kernel/OS, Distributed Systems, gRPC, ProtoBuf, ARM, Xen Hypervisor, PyTorch/Dlib.
- Target Roles & Seniority: Senior Software Engineer / Staff Software Engineer / AI Infrastructure / Cloud Systems / Low-level Platforms.
EVALUATION CRITERIA:
1. Score from 0.0 to 100.0 on overall match based on candidate's exact background.
- 80-100: Exceptional match (Core Go/C++/K8s/AI Infra/Distributed Systems/Google scale).
- 60-79: Solid match (Good general backend/cloud infrastructure fit).
- 40-59: Moderate match (Significant domain divergence or missing core skill).
- 0-39: Poor match (Non-tech, frontend-only, or strict clearance requirements).
2. is_qualified: boolean (true if score >= 60.0 and no hard disqualifiers).
3. summary: 1-2 sentence executive assessment of fit.
4. matched_highlights: 3-5 concrete technical strengths/experiences matched.
5. missing_highlights: 1-3 genuine gaps, missing requirements, or nice-to-haves.
6. tailoring_suggestions: 2-3 specific action points for tailoring resume/talking points for this JD.
You MUST respond strictly with a valid JSON object matching the requested schema:
{
"ai_score": 85.0,
"is_qualified": true,
"summary": "...",
"matched_highlights": ["..."],
"missing_highlights": ["..."],
"tailoring_suggestions": ["..."]
}
+8
View File
@@ -0,0 +1,8 @@
Analyze the following job description for candidate Pengzhan Hao.
Job Title: {{.JobTitle}}
Job Description:
{{.JobContent}}
Provide the structured evaluation adhering to the JSON schema.
+2 -2
View File
@@ -2,11 +2,11 @@ targets:
- name: Google Software Engineer (Seattle, MID Level)
target_url: https://www.google.com/about/careers/applications/jobs/results/?employment_type=FULL_TIME&q=%22Software%20Engineer%22&location=Seattle%2C%20WA%2C%20USA&target_level=MID
platform: google_jobs
is_active: true
is_active: false
- name: Apple Software Engineer (Seattle)
target_url: https://jobs.apple.com/en-us/search?location=seattle-SEA&key=Software%2520Engineer&team=apps-and-frameworks-SFTWR-AF+cloud-and-infrastructure-SFTWR-CLD+core-operating-systems-SFTWR-COS+devops-and-site-reliability-SFTWR-DSR+engineering-project-management-SFTWR-EPM+information-systems-and-technology-SFTWR-ISTECH+machine-learning-and-ai-SFTWR-MCHLN+security-and-privacy-SFTWR-SEC+software-quality-automation-and-tools-SFTWR-SQAT+wireless-software-SFTWR-WSFT+machine-learning-infrastructure-MLAI-MLI+deep-learning-and-reinforcement-learning-MLAI-DLRL+natural-language-processing-and-speech-technologies-MLAI-NLP+computer-vision-MLAI-CV+applied-research-MLAI-ARr
platform: apple
is_active: true
is_active: false
- name: Meta Software Engineer (Seattle)
target_url: https://www.metacareers.com/jobsearch/?offices[0]=Seattle%2C%20WA&roles[0]=Full%20time%20employment&teams[0]=Software%20Engineering
platform: meta