Symptom
Select "Skill Gap" or "Career Path" from the strategy dropdown and run recommendations. The strategyUsed field in the response always says "popularity", no matter what you choose.
Expected: The selected strategy should be used for scoring.
Context
The frontend sends a POST body to the backend. The shared type RecommendRequest defines the field name. The backend route handler destructures from the body using that type, and passes it to StrategyFactory.create(), which falls back to "popularity" when the value is undefined.
Hints
TypeScript
TypeScript ready
Test Output
▶
Click "Run Tests" to execute your code