Fix: simulation now passes chunk_text — worker cards show full profiles
The simulation was only storing name/doc_id/score but dropping chunk_text. Worker cards showed 'New — data builds with placements' for every worker. Now includes the full profile text so cards render skills (blue), certs (green), archetype (purple), and reliability/ availability meters. Verified via Playwright: cards now show DeShawn Cook with 6S|Excel|SAP skills, First Aid/CPR cert, flexible archetype, 72% reliability. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
875cfadc3d
commit
2279d9f51d
@ -967,6 +967,7 @@ async function runWeekSimulation() {
|
|||||||
doc_id: s.doc_id,
|
doc_id: s.doc_id,
|
||||||
name: s.chunk_text?.split("—")[0]?.trim() || s.doc_id,
|
name: s.chunk_text?.split("—")[0]?.trim() || s.doc_id,
|
||||||
score: s.score,
|
score: s.score,
|
||||||
|
chunk_text: s.chunk_text || "",
|
||||||
}));
|
}));
|
||||||
filled = matches.length;
|
filled = matches.length;
|
||||||
} catch {}
|
} catch {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user