d6fc7c1dfa
- Work type = area x role (fixed vs varied), vocabulary in scripts/worktypes.json - LLM-read labels for 2,678 agent-related papers (data/labels), rule labels for the rest - Per-type synthesis notes (why-same, sub-variants, benchmarks, workflow) - Pages: /work-types matrix and detail (timeline, benchmarks, workflow, score charts), /benchmarks - build_worktypes.py adds work-type tables to data/papers.db Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bhs9LU8eMixk6g1kb1d3j7
4 lines
221 B
TypeScript
4 lines
221 B
TypeScript
// Client-safe helpers (no database imports).
|
|
export const typeSlug = (id: string) => id.replace(/\//g, '~').replace('|', '--');
|
|
export const typeIdFromSlug = (slug: string) => slug.replace('--', '|').replace(/~/g, '/');
|