import Link from 'next/link'; import Layout from './Layout'; import { ScoreBars, ScoreScatter, TimelineBars } from './SvgCharts'; import { typeSlug } from '../lib/slug'; import type { getWorkType } from '../lib/worktypes'; type Data = NonNullable>>; const sc = (d: string) => (d.length > 140 ? d.slice(0, 138) + '…' : d); export default function LegacyTypeView({ data, page, llm, slug }: { data: Data; page: number; llm: boolean; slug: string }) { const { type, area, role, members, timeline, benchmarks, results, siblings, sameRole, note, workflows, total, pageSize } = data; const pages = Math.max(1, Math.ceil(total / pageSize)); const href = (p: number, src = llm) => `/work-types/${slug}?${[src ? 'src=llm' : '', p > 1 ? `page=${p}` : ''].filter(Boolean).join('&')}`; const withScores = results.length > 0; return (

← All types of work

{role.label}

in {area.label} · {type.n_papers.toLocaleString()} papers ({type.n_llm_labeled} labelled in detail)

1. Time order

Papers placed by venue date; the table below lists them in the same order. Exact submission dates need arXiv access.

2. How it is classified, and why different papers are the same type

Definition. {role.descr}

Holds fixed: {role.fixes || '—'}   Varies: {role.varies || '—'}

{note?.why_same &&

What these papers share: {note.why_same}

} {note?.narrative &&

{note.narrative}

}

How this type differs from neighbours in the same area

{siblings.map((s) => ( ))}
Role (same area)FixesVariesPapers
{s.id === type.id ? s.label : {s.label}}{s.fixes || '—'}{s.varies || '—'}{s.n_papers}
{sameRole.length > 0 && (

Same role in other areas:{' '} {sameRole.map((s) => {s.label.slice(0, 40)} {s.n_papers})}

)}

3. Benchmarks usually used, and what they are used to show

{benchmarks.length ? ( {benchmarks.map((b) => ( ))}
BenchmarkPapersIntroduced hereUsed to show
{b.name}{b.n}{b.n_new || ''}{b.purposes ?? '—'}
) :

No benchmark named in these papers’ abstracts yet.

} {note?.bench_summary &&

{note.bench_summary}

}

4. Workflow

{note && note.workflow.length > 0 && (
    {note.workflow.map((s, i) =>
  1. {s}
  2. )}
)} {workflows.length > 0 ? workflows.map((w) => (

{w.title.slice(0, 60)}: {w.steps.join(' → ')}

)) : Workflows are extracted for papers that were read in detail.}

5. Scores

{withScores ? ( <> ({ date: r.date, score: r.score, series: r.setting ?? 'reported', label: `${r.system ?? '?'} on ${r.bench}`, unit: r.unit }))} />

Best reported score per system

({ label: `${r.system ?? '?'} · ${r.bench}`, score: r.score, series: r.setting ?? 'reported' }))} /> ) : (

No numeric scores are stated in the abstracts of this type’s papers. Scores sit in result tables, which need the full text (arXiv / OpenReview / ACL Anthology). The chart renders automatically once results are loaded.

)}

Papers in time order

All labels Detailed (LLM-read) only
{members.map((m) => ( ))}
DatePaperWhat it varies / holds fixedWhy this type
{m.date.slice(0, 7)}
{m.conf_short}{m.track ? ` · ${m.track}` : ''}
{m.title}{m.source === 'rule' && rule}{m.summary &&
{sc(m.summary)}
}
{m.varies.length ? <>varies: {m.varies.join('; ')} : '—'}{m.fixes.length ? <>
fixes: {m.fixes.join('; ')} : null}
{m.why || '—'}
← Prev Page {page} / {pages} = pages ? 'dis' : ''}`} href={href(page + 1)}>Next →
); }