Score hybrid/onsite jobs low when job search profile is remote-only

- Require workArrangementMatch in LLM schema; show badge in Fit Assessment
- Prompt: remote-only vs hybrid/N days in office is a hard cap (~35 score)
- Deterministic cap from JD keywords + isRemote/workFromHomeType when only Remote is selected
- hasNonEmptyProfile includes preferredWorkArrangement and preferredLocations so prefs reach the scorer

Made-with: Cursor
This commit is contained in:
2026-04-05 21:40:35 -04:00
parent 14a6da4bdf
commit 54adc66e73
3 changed files with 187 additions and 6 deletions
+2
View File
@@ -32,6 +32,8 @@ export interface UpdateSearchProfileInput {
export interface SuitabilityAnalysis {
roleTypeMatch: number;
/** How well location / remote vs hybrid / on-site matches preferences (0100). */
workArrangementMatch?: number;
strengths: string[];
gaps: string[];
suggestions: string[];