commit 13924f89851447da939aca37835f76c5ed9739d6 Author: zzyang Date: Wed Oct 21 11:30:14 2026 +0000 Add LLM research survey site (Next.js pages router + SQLite) - Next.js/React/TypeScript app: overview, paper explorer with FTS5 search, paper detail, global taxonomy tree with per-conference tag breakdown - Python ingestion (ICLR/ICML 2026 via paperlists, ACL Anthology 2026) into data/papers.db, plus keyword-scored taxonomy (scripts/taxonomy.py) Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Bhs9LU8eMixk6g1kb1d3j7 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8fd9174 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +node_modules +.next +next-env.d.ts +*.tsbuildinfo +data/raw +__pycache__ +*.pyc diff --git a/README.md b/README.md new file mode 100644 index 0000000..6ed1b54 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# LLM Research Survey 2026 + +Next.js (pages router) + React + TypeScript site for browsing 2026 NLP/ML conference papers, backed by SQLite (FTS5 search) and a keyword-scored topic taxonomy. + +## Run +```bash +npm install +npm run dev # http://localhost:3000 (uses the bundled data/papers.db) +``` + +## Rebuild the database +```bash +npm run data:fetch # ICLR/ICML lists + ACL Anthology XML -> data/raw +npm run data:build # python3 scripts/ingest.py -> data/papers.db +``` +Sources: ICLR 2026 and ICML 2026 via papercopilot/paperlists (OpenReview); ACL 2026 (+Findings), EACL, LREC, CoNLL, SIGDIAL, TACL, CL via acl-org/acl-anthology. +Not yet loaded: EMNLP, AACL, COLM, NeurIPS, AAAI 2026 (add a loader in scripts/ingest.py). + +## Pages +/ overview · /papers search + filters + taxonomy sidebar · /papers/[id] · /taxonomy tree · /conferences/[slug] + +## Taxonomy +Defined in scripts/taxonomy.py (13 branches, ~48 leaves); edit patterns and re-run data:build. +Heuristic: title x3, keywords x2, abstract x1. ML-venue papers with no language-model signal go to "Other ML". diff --git a/components/Layout.tsx b/components/Layout.tsx new file mode 100644 index 0000000..d8bf682 --- /dev/null +++ b/components/Layout.tsx @@ -0,0 +1,31 @@ +import Head from 'next/head'; +import Link from 'next/link'; +import { useRouter } from 'next/router'; +import { ReactNode } from 'react'; + +const LINKS = [ + { href: '/', label: 'Overview' }, + { href: '/papers', label: 'Papers' }, + { href: '/taxonomy', label: 'Taxonomy' }, +]; + +export default function Layout({ title, children }: { title?: string; children: ReactNode }) { + const { pathname } = useRouter(); + return ( + <> + + {title ? `${title} · LLM Survey 2026` : 'LLM Research Survey 2026'} + + + +
{children}
+ + ); +} diff --git a/components/PaperItem.tsx b/components/PaperItem.tsx new file mode 100644 index 0000000..34c7dce --- /dev/null +++ b/components/PaperItem.tsx @@ -0,0 +1,24 @@ +import Link from 'next/link'; +import { Paper } from '../lib/types'; + +export default function PaperItem({ p }: { p: Paper & { topics: string[] } }) { + return ( +
+

+ {p.title} +

+
+ {p.conf_short} 2026 + {p.track && {p.track}} + {p.award && p.award !== 'Poster' && {p.award}} + {p.authors && {p.authors.length > 140 ? p.authors.slice(0, 140) + '…' : p.authors}} +
+
+ {p.topics.map((t) => ( + {t} + ))} +
+ {p.abstract &&

{p.abstract}{p.abstract.length >= 420 ? '…' : ''}

} +
+ ); +} diff --git a/components/TaxonomyTree.tsx b/components/TaxonomyTree.tsx new file mode 100644 index 0000000..a7e282f --- /dev/null +++ b/components/TaxonomyTree.tsx @@ -0,0 +1,63 @@ +import Link from 'next/link'; +import { TaxNode } from '../lib/types'; + +interface Props { + nodes: TaxNode[]; + selected?: string; + /** build the href for a node */ + href: (id: string) => string; + openAll?: boolean; + /** node id -> conference slug -> count; renders conference tag chips */ + breakdown?: Record>; + chipHref?: (nodeId: string, conf: string) => string; + confLabel?: Record; +} + +function Chips({ id, p }: { id: string; p: Props }) { + const b = p.breakdown?.[id]; + if (!b || !p.chipHref) return null; + return ( + + {Object.entries(b).sort((x, y) => y[1] - x[1]).map(([conf, n]) => ( + {p.confLabel?.[conf] ?? conf} {n} + ))} + + ); +} + +export default function TaxonomyTree(props: Props) { + const { nodes, selected = '', href, openAll = false } = props; + return ( +
    + {nodes.map((n) => { + const link = ( + + {n.label} + + ); + if (!n.children.length) { + return ( +
  • + {link} + {n.count.toLocaleString()} + +
  • + ); + } + const open = openAll || selected === n.id || selected.startsWith(n.id + '/'); + return ( +
  • +
    + + {link} + {n.count.toLocaleString()} + + + +
    +
  • + ); + })} +
+ ); +} diff --git a/lib/db.ts b/lib/db.ts new file mode 100644 index 0000000..1b41422 --- /dev/null +++ b/lib/db.ts @@ -0,0 +1,13 @@ +import Database from 'better-sqlite3'; +import path from 'path'; + +let _db: Database.Database | null = null; + +/** Read-only handle on data/papers.db (built by scripts/ingest.py). */ +export function db(): Database.Database { + if (!_db) { + const file = process.env.PAPERS_DB ?? path.join(process.cwd(), 'data', 'papers.db'); + _db = new Database(file, { readonly: true, fileMustExist: true }); + } + return _db; +} diff --git a/lib/params.ts b/lib/params.ts new file mode 100644 index 0000000..36a2003 --- /dev/null +++ b/lib/params.ts @@ -0,0 +1,30 @@ +import { PaperQuery } from './types'; + +type Q = Record; +const one = (v: string | string[] | undefined) => (Array.isArray(v) ? v[0] : v) ?? ''; + +export function parsePaperQuery(query: Q): PaperQuery { + const sort = one(query.sort); + return { + q: one(query.q).trim().slice(0, 200), + conf: one(query.conf), + node: one(query.node), + track: one(query.track), + llm: one(query.llm) === '1', + sort: sort === 'title' || sort === 'rank' ? sort : 'conf', + page: Math.max(1, parseInt(one(query.page), 10) || 1), + }; +} + +export function toSearch(q: Partial): string { + const sp = new URLSearchParams(); + if (q.q) sp.set('q', q.q); + if (q.conf) sp.set('conf', q.conf); + if (q.node) sp.set('node', q.node); + if (q.track) sp.set('track', q.track); + if (q.llm) sp.set('llm', '1'); + if (q.sort && q.sort !== 'conf') sp.set('sort', q.sort); + if (q.page && q.page > 1) sp.set('page', String(q.page)); + const s = sp.toString(); + return s ? '?' + s : ''; +} diff --git a/lib/queries.ts b/lib/queries.ts new file mode 100644 index 0000000..ce81341 --- /dev/null +++ b/lib/queries.ts @@ -0,0 +1,132 @@ +import { db } from './db'; +import { Conference, PAGE_SIZE, Paper, PaperQuery, TaxNode } from './types'; + +export function getConferences(): Conference[] { + return db() + .prepare( + `SELECT c.*, (SELECT COUNT(*) FROM papers p WHERE p.conf = c.slug) AS paper_count + FROM conferences c ORDER BY COALESCE(c.start_date, '9999'), c.short` + ) + .all() as Conference[]; +} + +export function getConference(slug: string): Conference | null { + return (getConferences().find((c) => c.slug === slug) ?? null) as Conference | null; +} + +/** Turn free text into a safe FTS5 prefix query: each token quoted, last one prefix-matched. */ +function ftsQuery(q: string): string | null { + const toks = q.match(/[\p{L}\p{N}][\p{L}\p{N}\-]*/gu); + if (!toks) return null; + return toks.map((t, i) => `"${t.replace(/"/g, '')}"${i === toks.length - 1 ? '*' : ''}`).join(' '); +} + +interface Where { sql: string; params: unknown[]; fts: string | null } + +function buildWhere(q: Partial): Where { + const parts: string[] = []; + const params: unknown[] = []; + const fts = q.q ? ftsQuery(q.q) : null; + if (fts) { parts.push('p.id IN (SELECT rowid FROM papers_fts WHERE papers_fts MATCH ?)'); params.push(fts); } + if (q.conf) { parts.push('p.conf = ?'); params.push(q.conf); } + if (q.track) { parts.push('p.track = ?'); params.push(q.track); } + if (q.llm) parts.push('p.is_llm = 1'); + if (q.node) { + parts.push('p.id IN (SELECT paper_id FROM paper_taxonomy WHERE node_id = ? OR node_id LIKE ?)'); + params.push(q.node, q.node + '/%'); + } + return { sql: parts.length ? 'WHERE ' + parts.join(' AND ') : '', params, fts }; +} + +export function searchPapers(q: PaperQuery): { papers: (Paper & { topics: string[] })[]; total: number } { + const w = buildWhere(q); + const total = (db().prepare(`SELECT COUNT(*) AS n FROM papers p ${w.sql}`).get(...w.params) as { n: number }).n; + const ranked = q.sort === 'rank' && !!w.fts; + const order = q.sort === 'title' ? 'p.title COLLATE NOCASE' : ranked ? 'f.r' : 'p.conf, p.id'; + const join = ranked + ? 'JOIN (SELECT rowid, bm25(papers_fts) AS r FROM papers_fts WHERE papers_fts MATCH ?) f ON f.rowid = p.id' + : ''; + const sql = `SELECT p.*, c.short AS conf_short FROM papers p JOIN conferences c ON c.slug = p.conf ${join} ${w.sql} ORDER BY ${order} LIMIT ? OFFSET ?`; + const params = ranked ? [w.fts, ...w.params] : w.params; + const papers = db().prepare(sql).all(...params, PAGE_SIZE, (q.page - 1) * PAGE_SIZE) as Paper[]; + const topicStmt = db().prepare( + `SELECT t.label FROM paper_taxonomy pt JOIN taxonomy t ON t.id = pt.node_id WHERE pt.paper_id = ? ORDER BY pt.is_primary DESC, pt.score DESC` + ); + return { + total, + papers: papers.map((p) => ({ + ...p, + abstract: p.abstract ? p.abstract.slice(0, 420) : null, + topics: (topicStmt.all(p.id) as { label: string }[]).map((r) => r.label), + })), + }; +} + +export function getPaper(id: number): (Paper & { topics: { id: string; label: string }[] }) | null { + const p = db().prepare(`SELECT p.*, c.short AS conf_short FROM papers p JOIN conferences c ON c.slug = p.conf WHERE p.id = ?`).get(id) as Paper | undefined; + if (!p) return null; + const topics = db() + .prepare(`SELECT t.id, t.label FROM paper_taxonomy pt JOIN taxonomy t ON t.id = pt.node_id WHERE pt.paper_id = ? ORDER BY pt.is_primary DESC`) + .all(id) as { id: string; label: string }[]; + return { ...p, topics }; +} + +export function getTracks(conf: string): string[] { + const sql = conf + ? `SELECT DISTINCT track FROM papers WHERE conf = ? ORDER BY track` + : `SELECT DISTINCT track FROM papers ORDER BY track`; + const rows = (conf ? db().prepare(sql).all(conf) : db().prepare(sql).all()) as { track: string }[]; + return rows.map((r) => r.track).filter(Boolean); +} + +/** Global taxonomy tree (spans all conferences) with distinct-paper counts per node. */ +export function getTaxonomyTree(opts: { llm?: boolean } = {}): TaxNode[] { + const nodes = db().prepare('SELECT id, parent, label, depth FROM taxonomy ORDER BY sort').all() as Omit[]; + const where = opts.llm ? 'WHERE p.is_llm = 1' : ''; + const leafRows = db() + .prepare(`SELECT pt.node_id AS id, COUNT(DISTINCT pt.paper_id) AS n FROM paper_taxonomy pt JOIN papers p ON p.id = pt.paper_id ${where} GROUP BY pt.node_id`) + .all() as { id: string; n: number }[]; + const topRows = db() + .prepare(`SELECT t.parent AS id, COUNT(DISTINCT pt.paper_id) AS n FROM paper_taxonomy pt JOIN taxonomy t ON t.id = pt.node_id JOIN papers p ON p.id = pt.paper_id ${where ? where + ' AND' : 'WHERE'} t.parent IS NOT NULL GROUP BY t.parent`) + .all() as { id: string; n: number }[]; + const counts = new Map([...leafRows, ...topRows].map((r) => [r.id, r.n])); + const byId = new Map(); + nodes.forEach((n) => byId.set(n.id, { ...n, count: counts.get(n.id) ?? 0, children: [] })); + const roots: TaxNode[] = []; + byId.forEach((n) => (n.parent ? byId.get(n.parent)!.children.push(n) : roots.push(n))); + return roots; +} + +/** node id -> { conference slug -> paper count }, for leaves and their parents. */ +export function getNodeConfBreakdown(opts: { llm?: boolean } = {}): Record> { + const where = opts.llm ? 'WHERE p.is_llm = 1' : ''; + const leaf = db() + .prepare(`SELECT pt.node_id AS id, p.conf AS conf, COUNT(DISTINCT pt.paper_id) AS n FROM paper_taxonomy pt JOIN papers p ON p.id = pt.paper_id ${where} GROUP BY pt.node_id, p.conf`) + .all() as { id: string; conf: string; n: number }[]; + const top = db() + .prepare(`SELECT t.parent AS id, p.conf AS conf, COUNT(DISTINCT pt.paper_id) AS n FROM paper_taxonomy pt JOIN taxonomy t ON t.id = pt.node_id JOIN papers p ON p.id = pt.paper_id ${where ? where + ' AND' : 'WHERE'} t.parent IS NOT NULL GROUP BY t.parent, p.conf`) + .all() as { id: string; conf: string; n: number }[]; + const out: Record> = {}; + for (const r of [...leaf, ...top]) (out[r.id] ??= {})[r.conf] = r.n; + return out; +} + +/** Conference-tag counts for the current query, ignoring the conference filter itself. */ +export function getConfFacets(q: PaperQuery): Record { + const w = buildWhere({ ...q, conf: '' }); + const rows = db().prepare(`SELECT p.conf AS conf, COUNT(*) AS n FROM papers p ${w.sql} GROUP BY p.conf`).all(...w.params) as { conf: string; n: number }[]; + return Object.fromEntries(rows.map((r) => [r.conf, r.n])); +} + +export function getTaxonomyLabel(id: string): string | null { + const r = db().prepare('SELECT label FROM taxonomy WHERE id = ?').get(id) as { label: string } | undefined; + return r?.label ?? null; +} + +export function getStats() { + const d = db(); + return { + papers: (d.prepare('SELECT COUNT(*) AS n FROM papers').get() as { n: number }).n, + llm: (d.prepare('SELECT COUNT(*) AS n FROM papers WHERE is_llm = 1').get() as { n: number }).n, + }; +} diff --git a/lib/types.ts b/lib/types.ts new file mode 100644 index 0000000..0ea61d0 --- /dev/null +++ b/lib/types.ts @@ -0,0 +1,51 @@ +export interface Conference { + slug: string; + name: string; + short: string; + year: number; + kind: 'NLP' | 'ML'; + start_date: string | null; + end_date: string | null; + location: string | null; + url: string | null; + papers_source: string | null; + paper_count: number; +} + +export interface Paper { + id: number; + conf: string; + conf_short: string; + track: string | null; + award: string | null; + ext_id: string; + title: string; + abstract: string | null; + authors: string | null; + keywords: string | null; + tldr: string | null; + url: string | null; + pdf_url: string | null; + primary_area: string | null; + is_llm: number; +} + +export interface TaxNode { + id: string; + parent: string | null; + label: string; + depth: number; + count: number; // distinct papers under this node (respecting filters) + children: TaxNode[]; +} + +export interface PaperQuery { + q: string; + conf: string; + node: string; + track: string; + llm: boolean; + sort: 'conf' | 'title' | 'rank'; + page: number; +} +export const PAGE_SIZE = 30; diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..fb111e9 --- /dev/null +++ b/next.config.js @@ -0,0 +1,5 @@ +/** @type {import('next').NextConfig} */ +module.exports = { + reactStrictMode: true, + experimental: { serverComponentsExternalPackages: ['better-sqlite3'] }, +}; diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..e24ff76 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,959 @@ +{ + "name": "llm-general-survey-2026", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "llm-general-survey-2026", + "version": "0.1.0", + "dependencies": { + "better-sqlite3": "^11.5.0", + "next": "^14.2.15", + "react": "^18.3.1", + "react-dom": "^18.3.1" + }, + "devDependencies": { + "@types/better-sqlite3": "^7.6.11", + "@types/node": "^22.7.0", + "@types/react": "^18.3.11", + "@types/react-dom": "^18.3.0", + "typescript": "^5.6.2" + } + }, + "node_modules/@next/env": { + "version": "14.2.35", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.35.tgz", + "integrity": "sha512-DuhvCtj4t9Gwrx80dmz2F4t/zKQ4ktN8WrMwOuVzkJfBilwAwGr6v16M5eI8yCuZ63H9TTuEU09Iu2HqkzFPVQ==", + "license": "MIT" + }, + "node_modules/@next/swc-darwin-arm64": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.33.tgz", + "integrity": "sha512-HqYnb6pxlsshoSTubdXKu15g3iivcbsMXg4bYpjL2iS/V6aQot+iyF4BUc2qA/J/n55YtvE4PHMKWBKGCF/+wA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-darwin-x64": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.33.tgz", + "integrity": "sha512-8HGBeAE5rX3jzKvF593XTTFg3gxeU4f+UWnswa6JPhzaR6+zblO5+fjltJWIZc4aUalqTclvN2QtTC37LxvZAA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-gnu": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.33.tgz", + "integrity": "sha512-JXMBka6lNNmqbkvcTtaX8Gu5by9547bukHQvPoLe9VRBx1gHwzf5tdt4AaezW85HAB3pikcvyqBToRTDA4DeLw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-musl": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.33.tgz", + "integrity": "sha512-Bm+QulsAItD/x6Ih8wGIMfRJy4G73tu1HJsrccPW6AfqdZd0Sfm5Imhgkgq2+kly065rYMnCOxTBvmvFY1BKfg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-gnu": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.33.tgz", + "integrity": "sha512-FnFn+ZBgsVMbGDsTqo8zsnRzydvsGV8vfiWwUo1LD8FTmPTdV+otGSWKc4LJec0oSexFnCYVO4hX8P8qQKaSlg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-musl": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.33.tgz", + "integrity": "sha512-345tsIWMzoXaQndUTDv1qypDRiebFxGYx9pYkhwY4hBRaOLt8UGfiWKr9FSSHs25dFIf8ZqIFaPdy5MljdoawA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-arm64-msvc": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.33.tgz", + "integrity": "sha512-nscpt0G6UCTkrT2ppnJnFsYbPDQwmum4GNXYTeoTIdsmMydSKFz9Iny2jpaRupTb+Wl298+Rh82WKzt9LCcqSQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-ia32-msvc": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.33.tgz", + "integrity": "sha512-pc9LpGNKhJ0dXQhZ5QMmYxtARwwmWLpeocFmVG5Z0DzWq5Uf0izcI8tLc+qOpqxO1PWqZ5A7J1blrUIKrIFc7Q==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-x64-msvc": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.33.tgz", + "integrity": "sha512-nOjfZMy8B94MdisuzZo9/57xuFVLHJaDj5e/xrduJp9CV2/HrfxTRH2fbyLe+K9QT41WBLUd4iXX3R7jBp0EUg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@swc/counter": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", + "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==", + "license": "Apache-2.0" + }, + "node_modules/@swc/helpers": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.5.tgz", + "integrity": "sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==", + "license": "Apache-2.0", + "dependencies": { + "@swc/counter": "^0.1.3", + "tslib": "^2.4.0" + } + }, + "node_modules/@types/better-sqlite3": { + "version": "7.6.13", + "resolved": "https://registry.npmjs.org/@types/better-sqlite3/-/better-sqlite3-7.6.13.tgz", + "integrity": "sha512-NMv9ASNARoKksWtsq/SHakpYAYnhBrQgGD8zkLYk/jaK8jUGn08CfEdTRgYhMypUQAfzSP8W6gNLe0q19/t4VA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/node": { + "version": "22.20.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.5.tgz", + "integrity": "sha512-U2+DNr+wSjpsTS/wZGYHq7GcwfuSmKiKvoPvK22zwTlRhU91yOniN4qRR5KhIjvif7ysw/dz/hKmfDH0Ris4aA==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.21.0" + } + }, + "node_modules/@types/prop-types": { + "version": "15.7.15", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz", + "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/react": { + "version": "18.3.31", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.31.tgz", + "integrity": "sha512-vfEqpXTvwT91yhmwdfouStN2hSKwTvyRs8qpLfADyrq/kxDw0hZM7Wk9Ug1FELj8hIby+S/+kQCSRFF32nv2Qw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/prop-types": "*", + "csstype": "^3.2.2" + } + }, + "node_modules/@types/react-dom": { + "version": "18.3.7", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz", + "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^18.0.0" + } + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/better-sqlite3": { + "version": "11.10.0", + "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-11.10.0.tgz", + "integrity": "sha512-EwhOpyXiOEL/lKzHz9AW1msWFNzGc/z+LzeB3/jnFJpxu+th2yqvzsSWas1v9jgs9+xiXJcD5A8CJxAG2TaghQ==", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "bindings": "^1.5.0", + "prebuild-install": "^7.1.1" + } + }, + "node_modules/bindings": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "license": "MIT", + "dependencies": { + "file-uri-to-path": "1.0.0" + } + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/busboy": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", + "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001818", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001818.tgz", + "integrity": "sha512-XJbgo4adscw7R4MZU4/qVFkoMyPaNUAWmdNY4o/k9x7fFwmv4frIlndI9lWuaxviW9ObiZel9LuncnQPn6hQ5A==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "license": "ISC" + }, + "node_modules/client-only": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz", + "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==", + "license": "MIT" + }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/decompress-response": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", + "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", + "license": "MIT", + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", + "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/expand-template": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", + "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", + "license": "(MIT OR WTFPL)", + "engines": { + "node": ">=6" + } + }, + "node_modules/file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", + "license": "MIT" + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "license": "MIT" + }, + "node_modules/github-from-package": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", + "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", + "license": "MIT" + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "license": "ISC" + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "license": "ISC" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/mimic-response": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", + "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/napi-build-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz", + "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==", + "license": "MIT" + }, + "node_modules/next": { + "version": "14.2.35", + "resolved": "https://registry.npmjs.org/next/-/next-14.2.35.tgz", + "integrity": "sha512-KhYd2Hjt/O1/1aZVX3dCwGXM1QmOV4eNM2UTacK5gipDdPN/oHHK/4oVGy7X8GMfPMsUTUEmGlsy0EY1YGAkig==", + "license": "MIT", + "dependencies": { + "@next/env": "14.2.35", + "@swc/helpers": "0.5.5", + "busboy": "1.6.0", + "caniuse-lite": "^1.0.30001579", + "graceful-fs": "^4.2.11", + "postcss": "8.4.31", + "styled-jsx": "5.1.1" + }, + "bin": { + "next": "dist/bin/next" + }, + "engines": { + "node": ">=18.17.0" + }, + "optionalDependencies": { + "@next/swc-darwin-arm64": "14.2.33", + "@next/swc-darwin-x64": "14.2.33", + "@next/swc-linux-arm64-gnu": "14.2.33", + "@next/swc-linux-arm64-musl": "14.2.33", + "@next/swc-linux-x64-gnu": "14.2.33", + "@next/swc-linux-x64-musl": "14.2.33", + "@next/swc-win32-arm64-msvc": "14.2.33", + "@next/swc-win32-ia32-msvc": "14.2.33", + "@next/swc-win32-x64-msvc": "14.2.33" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.1.0", + "@playwright/test": "^1.41.2", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "sass": "^1.3.0" + }, + "peerDependenciesMeta": { + "@opentelemetry/api": { + "optional": true + }, + "@playwright/test": { + "optional": true + }, + "sass": { + "optional": true + } + } + }, + "node_modules/node-abi": { + "version": "3.99.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.99.0.tgz", + "integrity": "sha512-lLdwkeg2XUVPTHqWjPltTxH81zbQNbUWC+AEb9ni50KjxkUzAAx1HGtMT21sbntzfUGfIphhcklvs3imJeqDXw==", + "license": "MIT", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" + }, + "node_modules/postcss": { + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.6", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/prebuild-install": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz", + "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==", + "deprecated": "No longer maintained. Please contact the author of the relevant native addon; alternatives are available.", + "license": "MIT", + "dependencies": { + "detect-libc": "^2.0.0", + "expand-template": "^2.0.3", + "github-from-package": "0.0.0", + "minimist": "^1.2.3", + "mkdirp-classic": "^0.5.3", + "napi-build-utils": "^2.0.0", + "node-abi": "^3.3.0", + "pump": "^3.0.0", + "rc": "^1.2.7", + "simple-get": "^4.0.0", + "tar-fs": "^2.0.0", + "tunnel-agent": "^0.6.0" + }, + "bin": { + "prebuild-install": "bin.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/pump": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz", + "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==", + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/react": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" + }, + "peerDependencies": { + "react": "^18.3.1" + } + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/scheduler": { + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/simple-concat": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", + "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/simple-get": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", + "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "decompress-response": "^6.0.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/streamsearch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", + "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/styled-jsx": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz", + "integrity": "sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==", + "license": "MIT", + "dependencies": { + "client-only": "0.0.1" + }, + "engines": { + "node": ">= 12.0.0" + }, + "peerDependencies": { + "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "babel-plugin-macros": { + "optional": true + } + } + }, + "node_modules/tar-fs": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.5.tgz", + "integrity": "sha512-OboTd8mmMhZDNPV+UjQcK9yKAatXu2aJ+r1w4im1Otd4M4fl2hwvdoXUxIYHFTHWK/3y3FarBP70v3vwmGlOxw==", + "license": "MIT", + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" + } + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..09a7178 --- /dev/null +++ b/package.json @@ -0,0 +1,26 @@ +{ + "name": "llm-general-survey-2026", + "version": "0.1.0", + "private": true, + "scripts": { + "data:fetch": "bash scripts/fetch_data.sh", + "data:build": "python3 scripts/ingest.py", + "dev": "next dev", + "build": "next build", + "start": "next start", + "typecheck": "tsc --noEmit" + }, + "dependencies": { + "better-sqlite3": "^11.5.0", + "next": "^14.2.15", + "react": "^18.3.1", + "react-dom": "^18.3.1" + }, + "devDependencies": { + "@types/better-sqlite3": "^7.6.11", + "@types/node": "^22.7.0", + "@types/react": "^18.3.11", + "@types/react-dom": "^18.3.0", + "typescript": "^5.6.2" + } +} diff --git a/pages/_app.tsx b/pages/_app.tsx new file mode 100644 index 0000000..814fd45 --- /dev/null +++ b/pages/_app.tsx @@ -0,0 +1,6 @@ +import type { AppProps } from 'next/app'; +import '../styles/globals.css'; + +export default function App({ Component, pageProps }: AppProps) { + return ; +} diff --git a/pages/conferences/[slug].tsx b/pages/conferences/[slug].tsx new file mode 100644 index 0000000..eb6c197 --- /dev/null +++ b/pages/conferences/[slug].tsx @@ -0,0 +1,41 @@ +import type { GetServerSideProps } from 'next'; +import Link from 'next/link'; +import Layout from '../../components/Layout'; +import { getConference, getNodeConfBreakdown, getTaxonomyTree, getTracks } from '../../lib/queries'; +import { Conference } from '../../lib/types'; + +interface Props { conf: Conference; tops: { id: string; label: string; n: number }[]; tracks: string[] } + +export const getServerSideProps: GetServerSideProps = async ({ params }) => { + const conf = getConference(String(params?.slug)); + if (!conf) return { notFound: true }; + const bd = getNodeConfBreakdown(); + const tops = getTaxonomyTree().map((t) => ({ id: t.id, label: t.label, n: bd[t.id]?.[conf.slug] ?? 0 })).filter((t) => t.n > 0); + return { props: { conf, tops, tracks: getTracks(conf.slug) } }; +}; + +export default function ConferencePage({ conf, tops, tracks }: Props) { + return ( + +

{conf.name}

+

+ {conf.location ?? ''} {conf.start_date ? `· ${conf.start_date}${conf.end_date ? ' → ' + conf.end_date : ''}` : ''} + {conf.url && <> · website ↗} +

+

+ {conf.paper_count.toLocaleString()} accepted papers (source: {conf.papers_source}). Tracks:{' '} + {tracks.map((t) => {t})} +

+

Browse all papers

+

This venue across the global taxonomy

+
+ {tops.map((t) => ( +

+ {t.label} {t.n.toLocaleString()} +

+ ))} + See the full tree with all venues → +
+
+ ); +} diff --git a/pages/index.tsx b/pages/index.tsx new file mode 100644 index 0000000..19fdf31 --- /dev/null +++ b/pages/index.tsx @@ -0,0 +1,76 @@ +import type { GetServerSideProps } from 'next'; +import Link from 'next/link'; +import Layout from '../components/Layout'; +import { getConferences, getStats, getTaxonomyTree } from '../lib/queries'; +import { Conference, TaxNode } from '../lib/types'; + +interface Props { + conferences: Conference[]; + stats: { papers: number; llm: number }; + topics: TaxNode[]; + today: string; +} + +export const getServerSideProps: GetServerSideProps = async () => ({ + props: { + conferences: getConferences(), + stats: getStats(), + topics: getTaxonomyTree({ llm: true }).filter((t) => t.id !== 'other'), + today: new Date().toISOString().slice(0, 10), + }, +}); + +const fmt = (c: Conference) => + c.start_date ? `${c.start_date}${c.end_date ? ' → ' + c.end_date.slice(5) : ''}` : '—'; + +function status(c: Conference, today: string) { + if (!c.start_date) return c.location === 'Journal' ? 'journal' : 'past'; + const end = c.end_date ?? c.start_date; + return today < c.start_date ? 'upcoming' : today <= end ? 'ongoing' : 'past'; +} + +export default function Home({ conferences, stats, topics, today }: Props) { + const max = Math.max(...topics.map((t) => t.count), 1); + return ( + +

LLM Research Survey 2026

+

Accepted papers from 2026 NLP and ML venues, classified into a topic taxonomy.

+
+
{stats.papers.toLocaleString()}
accepted papers indexed
+
{stats.llm.toLocaleString()}
LLM / language-model related
+
{conferences.filter((c) => c.paper_count > 0).length}/{conferences.length}
venues with paper lists available
+
+ +

Conferences

+ + + + {conferences.map((c) => ( + + + + + + + + + ))} + +
VenueTypeDatesLocationStatusPapers
+ {c.paper_count > 0 ? {c.short} : {c.short}} +
{c.name}
+
{c.kind}{fmt(c)}{c.location ?? '—'}{status(c, today)}{c.paper_count > 0 ? {c.paper_count.toLocaleString()} : not yet available}
+ +

LLM topics (LLM-related papers)

+
+ {topics.map((t) => ( +
+ {t.label} {t.count.toLocaleString()} +
+
+ ))} + Explore the full taxonomy tree → +
+ + ); +} diff --git a/pages/papers/[id].tsx b/pages/papers/[id].tsx new file mode 100644 index 0000000..e66bfe4 --- /dev/null +++ b/pages/papers/[id].tsx @@ -0,0 +1,36 @@ +import type { GetServerSideProps } from 'next'; +import Link from 'next/link'; +import Layout from '../../components/Layout'; +import { getPaper } from '../../lib/queries'; +import { Paper } from '../../lib/types'; + +type Props = { paper: Paper & { topics: { id: string; label: string }[] } }; + +export const getServerSideProps: GetServerSideProps = async ({ params }) => { + const paper = getPaper(Number(params?.id)); + return paper ? { props: { paper } } : { notFound: true }; +}; + +export default function PaperPage({ paper: p }: Props) { + return ( + +

← {p.conf_short} 2026 papers

+

{p.title}

+

{p.authors}

+

+ {p.conf_short} 2026 + {p.track && {p.track}} + {p.award && p.award !== 'Poster' && {p.award}} + {p.topics.map((t) => {t.label})} +

+ {p.tldr &&

TL;DR: {p.tldr}

} +
{p.abstract || 'No abstract available.'}
+ {p.keywords &&

Keywords: {p.keywords}

} + {p.primary_area &&

Primary area: {p.primary_area}

} +

+ {p.url && Source page ↗} + {p.pdf_url && <> · PDF ↗} +

+
+ ); +} diff --git a/pages/papers/index.tsx b/pages/papers/index.tsx new file mode 100644 index 0000000..8a91113 --- /dev/null +++ b/pages/papers/index.tsx @@ -0,0 +1,90 @@ +import type { GetServerSideProps } from 'next'; +import Link from 'next/link'; +import Layout from '../../components/Layout'; +import PaperItem from '../../components/PaperItem'; +import TaxonomyTree from '../../components/TaxonomyTree'; +import { parsePaperQuery, toSearch } from '../../lib/params'; +import { getConfFacets, getConferences, getTaxonomyLabel, getTaxonomyTree, getTracks, searchPapers } from '../../lib/queries'; +import { Conference, PAGE_SIZE, Paper, PaperQuery, TaxNode } from '../../lib/types'; + +interface Props { + query: PaperQuery; + papers: (Paper & { topics: string[] })[]; + total: number; + conferences: Conference[]; + tracks: string[]; + tree: TaxNode[]; + facets: Record; + nodeLabel: string | null; +} + +export const getServerSideProps: GetServerSideProps = async ({ query: raw }) => { + const query = parsePaperQuery(raw); + const { papers, total } = searchPapers(query); + return { + props: { + query, + papers, + total, + conferences: getConferences().filter((c) => c.paper_count > 0), + tracks: getTracks(query.conf), + tree: getTaxonomyTree({ llm: query.llm }), + facets: getConfFacets(query), + nodeLabel: query.node ? getTaxonomyLabel(query.node) : null, + }, + }; +}; + +export default function Papers({ query, papers, total, conferences, tracks, tree, facets, nodeLabel }: Props) { + const pages = Math.max(1, Math.ceil(total / PAGE_SIZE)); + const link = (patch: Partial) => `/papers${toSearch({ ...query, page: 1, ...patch })}`; + return ( + +

Papers

+

+ {total.toLocaleString()} accepted papers{nodeLabel ? <> in {nodeLabel} : null} + {query.node && <> · clear topic} +

+
+ + {query.conf && } + + + + {query.node && } + +
+ +
+ Conference tag: + All {Object.values(facets).reduce((a, b) => a + b, 0).toLocaleString()} + {conferences.filter((c) => facets[c.slug]).map((c) => ( + {c.short} {facets[c.slug].toLocaleString()} + ))} +
+ +
+ +
+ {papers.map((p) => )} + {!papers.length &&

No papers match these filters.

} +
+ ← Prev + Page {query.page} / {pages} + = pages ? 'dis' : ''}`} href={link({ page: query.page + 1 })}>Next → +
+
+
+
+ ); +} diff --git a/pages/taxonomy.tsx b/pages/taxonomy.tsx new file mode 100644 index 0000000..91e2810 --- /dev/null +++ b/pages/taxonomy.tsx @@ -0,0 +1,50 @@ +import type { GetServerSideProps } from 'next'; +import Link from 'next/link'; +import Layout from '../components/Layout'; +import TaxonomyTree from '../components/TaxonomyTree'; +import { getConferences, getNodeConfBreakdown, getTaxonomyTree } from '../lib/queries'; +import { TaxNode } from '../lib/types'; + +interface Props { + tree: TaxNode[]; + llm: boolean; + breakdown: Record>; + confLabel: Record; +} + +export const getServerSideProps: GetServerSideProps = async ({ query }) => { + const llm = query.llm === '1'; + return { + props: { + tree: getTaxonomyTree({ llm }), + llm, + breakdown: getNodeConfBreakdown({ llm }), + confLabel: Object.fromEntries(getConferences().map((c) => [c.slug, c.short])), + }, + }; +}; + +export default function Taxonomy({ tree, llm, breakdown, confLabel }: Props) { + const q = llm ? '&llm=1' : ''; + return ( + +

Taxonomy tree

+

+ One topic tree across all conferences. Each paper keeps its conference as a tag: the chips next to a topic show how many of its papers come from each venue, and clicking one lists them. +

+
+ {llm ? 'Include non-LLM papers' : 'LLM-related only'} +
+
+ `/papers?node=${id}${q}`} + chipHref={(id, conf) => `/papers?node=${id}&conf=${conf}${q}`} + /> +
+
+ ); +} diff --git a/scripts/fetch_data.sh b/scripts/fetch_data.sh new file mode 100755 index 0000000..bde1391 --- /dev/null +++ b/scripts/fetch_data.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +# Download raw accepted-paper data into data/raw (git-ignored). +# - papercopilot/paperlists -> ICLR 2026 (git-lfs file via media host) and ICML 2026 +# - acl-org/acl-anthology -> 2026 volumes (ACL, Findings, EACL, LREC, CoNLL, SIGDIAL, TACL, CL) +set -euo pipefail +cd "$(dirname "$0")/.." +RAW=data/raw +mkdir -p "$RAW" +BASE=https://raw.githubusercontent.com/papercopilot/paperlists/main +curl -fsSL -o "$RAW/icml2026.json" "$BASE/icml/icml2026.json" +curl -fsSL -o "$RAW/iclr2026.json" https://media.githubusercontent.com/media/papercopilot/paperlists/main/iclr/iclr2026.json +if [ ! -d "$RAW/acl-anthology" ]; then + git clone --depth 1 --filter=blob:none --sparse https://github.com/acl-org/acl-anthology.git "$RAW/acl-anthology" + git -C "$RAW/acl-anthology" sparse-checkout set data/xml +fi +echo "done: $(ls $RAW)" diff --git a/scripts/ingest.py b/scripts/ingest.py new file mode 100644 index 0000000..44a6713 --- /dev/null +++ b/scripts/ingest.py @@ -0,0 +1,156 @@ +#!/usr/bin/env python3 +"""Build data/papers.db (SQLite + FTS5) from raw accepted-paper lists. + +usage: python3 scripts/ingest.py [--raw data/raw] [--out data/papers.db] +""" +import argparse, json, os, re, sqlite3, sys, xml.etree.ElementTree as ET +sys.path.insert(0, os.path.dirname(__file__)) +from taxonomy import TREE + +CONFERENCES = [ + # slug, name, short, year, kind, start, end, location, url, papers_source + ("aaai2026", "AAAI Conference on Artificial Intelligence", "AAAI", 2026, "ML", "2026-01-20", "2026-01-27", "Singapore", "https://aaai.org/conference/aaai/aaai-26/", None), + ("eacl2026", "EACL 2026 (19th Conf. of the European Chapter of the ACL)", "EACL", 2026, "NLP", "2026-03-24", "2026-03-29", "Rabat, Morocco", "https://2026.eacl.org/", "ACL Anthology"), + ("iclr2026", "ICLR 2026 (14th Intl. Conf. on Learning Representations)", "ICLR", 2026, "ML", "2026-04-23", "2026-04-27", "Rio de Janeiro, Brazil", "https://iclr.cc/Conferences/2026", "OpenReview via papercopilot/paperlists"), + ("lrec2026", "LREC 2026 (15th Language Resources and Evaluation Conf.)", "LREC", 2026, "NLP", "2026-05-11", "2026-05-16", "Palma, Mallorca, Spain", "https://lrec2026.info/", "ACL Anthology"), + ("acl2026", "ACL 2026 (64th Annual Meeting of the ACL)", "ACL", 2026, "NLP", "2026-07-02", "2026-07-07", "San Diego, USA", "https://2026.aclweb.org/", "ACL Anthology"), + ("icml2026", "ICML 2026 (43rd Intl. Conf. on Machine Learning)", "ICML", 2026, "ML", "2026-07-06", "2026-07-12", "Seoul, South Korea", "https://icml.cc/", "OpenReview via papercopilot/paperlists"), + ("conll2026", "CoNLL 2026 (30th Conf. on Computational Natural Language Learning)", "CoNLL", 2026, "NLP", None, None, None, "https://www.conll.org/", "ACL Anthology"), + ("sigdial2026", "SIGDIAL 2026 (27th Meeting of the SIG on Discourse and Dialogue)", "SIGDIAL", 2026, "NLP", None, None, None, "https://www.sigdial.org/", "ACL Anthology"), + ("tacl2026", "TACL 2026 (Transactions of the ACL)", "TACL", 2026, "NLP", None, None, "Journal", "https://transacl.org/", "ACL Anthology"), + ("cl2026", "Computational Linguistics (Vol. 52)", "CL", 2026, "NLP", None, None, "Journal", "https://direct.mit.edu/coli", "ACL Anthology"), + ("colm2026", "COLM 2026 (Conference on Language Modeling)", "COLM", 2026, "ML", "2026-10-06", "2026-10-09", "San Francisco, USA", "https://colm.cc/", None), + ("inlg2026", "INLG 2026 (19th Intl. Natural Language Generation Conf.)", "INLG", 2026, "NLP", "2026-10-17", "2026-10-21", "Utrecht, Netherlands", None, None), + ("emnlp2026", "EMNLP 2026", "EMNLP", 2026, "NLP", "2026-10-24", "2026-10-29", "Budapest, Hungary", "https://2026.emnlp.org/", None), + ("aacl2026", "AACL-IJCNLP 2026", "AACL", 2026, "NLP", "2026-11-06", None, "Hengqin, Zhuhai, China", None, None), + ("neurips2026", "NeurIPS 2026", "NeurIPS", 2026, "ML", "2026-12-06", "2026-12-12", "Sydney, Australia", "https://neurips.cc/", None), + ("paclic2026", "PACLIC 40", "PACLIC", 2026, "NLP", "2026-12-10", "2026-12-12", "Taipei, Taiwan", None, None), +] + +SCHEMA = """ +PRAGMA journal_mode=OFF; +CREATE TABLE conferences(slug TEXT PRIMARY KEY, name TEXT, short TEXT, year INT, kind TEXT, start_date TEXT, end_date TEXT, location TEXT, url TEXT, papers_source TEXT); +CREATE TABLE papers(id INTEGER PRIMARY KEY, conf TEXT NOT NULL REFERENCES conferences(slug), track TEXT, award TEXT, ext_id TEXT, title TEXT NOT NULL, abstract TEXT, authors TEXT, keywords TEXT, tldr TEXT, url TEXT, pdf_url TEXT, primary_area TEXT, is_llm INT DEFAULT 0, UNIQUE(conf, ext_id)); +CREATE TABLE taxonomy(id TEXT PRIMARY KEY, parent TEXT, label TEXT, depth INT, sort INT); +CREATE TABLE paper_taxonomy(paper_id INT NOT NULL REFERENCES papers(id), node_id TEXT NOT NULL REFERENCES taxonomy(id), score REAL, is_primary INT, PRIMARY KEY(paper_id, node_id)); +CREATE INDEX idx_papers_conf ON papers(conf); +CREATE INDEX idx_pt_node ON paper_taxonomy(node_id); +""" + +LLM_RE = re.compile(r"\b(llms?|large language models?|language models?|lms|gpt-?\d*|chatgpt|foundation models?|instruction[- ]tun\w*|in-context|mllms?|vlms?|rlhf|dpo|grpo|llama|qwen|deepseek|gemini|claude|pre-?trained (language )?models?|transformers?|chain[- ]of[- ]thought|prompting|agentic|llm-based|bert|t5)\b", re.I) + +# compile leaf patterns +LEAVES = [] +for top_id, top_label, kids in TREE: + for lid, label, pats in kids: + LEAVES.append((lid, [re.compile(p, re.I) for p in pats])) + +def classify(title, keywords, abstract): + scores = {} + for lid, pats in LEAVES: + s = 0.0 + for p in pats: + if p.search(title): s += 3 + if keywords and p.search(keywords): s += 2 + if abstract: + n = len(p.findall(abstract)) + if n: s += min(n, 2) + if s: scores[lid] = s + return sorted(scores.items(), key=lambda kv: -kv[1]) + +def txt(el): + return re.sub(r"\s+", " ", "".join(el.itertext())).strip() if el is not None else "" + +def load_openreview(path, conf, accepted): + with open(path) as f: + data = json.load(f) + for p in data: + st = p.get("status", "") + if not any(st.startswith(a) or a in st for a in accepted): continue + award = "Oral" if "Oral" in st else ("Spotlight" if "Spotlight" in st else "Poster") + fid = p.get("id") + yield dict(conf=conf, track=p.get("track") or "main", award=award, ext_id=fid, title=p["title"].strip(), + abstract=(p.get("abstract") or "").strip(), authors=(p.get("author") or "").replace(";", ", "), + keywords=(p.get("keywords") or "").replace(";", ", "), tldr=p.get("tldr") or "", + url=f"https://openreview.net/forum?id={fid}", pdf_url=f"https://openreview.net/pdf?id={fid}", + primary_area=(p.get("primary_area") or "").replace("->", " > ")) + +ANTH = [ # (file, conf, {volume: track} or None for all volumes) + ("2026.acl.xml", "acl2026", {"long": "Long", "short": "Short", "demo": "Demo", "srw": "Student Research", "industry": "Industry"}), + ("2026.findings.xml", "acl2026", {"acl": "Findings"}), + ("2026.findings.xml", "eacl2026", {"eacl": "Findings"}), + ("2026.eacl.xml", "eacl2026", {"long": "Long", "short": "Short", "demo": "Demo", "srw": "Student Research", "industry": "Industry"}), + ("2026.lrec.xml", "lrec2026", {"1": "Main"}), + ("2026.conll.xml", "conll2026", {"main": "Main"}), + ("2026.sigdial.xml", "sigdial2026", {"1": "Main"}), + ("2026.tacl.xml", "tacl2026", {"1": "Journal"}), + ("2026.cl.xml", "cl2026", {"1": "Journal", "2": "Journal"}), +] + +def load_anthology(xmldir): + seen = set() + for fname, conf, vols in ANTH: + root = ET.parse(os.path.join(xmldir, fname)).getroot() + cid = root.get("id") + for v in root.findall("volume"): + vid = v.get("id") + if vid not in vols: continue + for p in v.findall("paper"): + aid = f"{cid}-{vid}.{p.get('id')}" + if (conf, aid) in seen: continue + seen.add((conf, aid)) + authors = ", ".join(f"{txt(a.find('first'))} {txt(a.find('last'))}".strip() for a in p.findall("author")) + yield dict(conf=conf, track=vols[vid], award=None, ext_id=aid, title=txt(p.find("title")), + abstract=txt(p.find("abstract")), authors=authors, keywords="", tldr="", + url=f"https://aclanthology.org/{aid}/", pdf_url=f"https://aclanthology.org/{aid}.pdf", primary_area="") + +def main(): + ap = argparse.ArgumentParser() + ap.add_argument("--raw", default="data/raw"); ap.add_argument("--out", default="data/papers.db") + a = ap.parse_args() + if os.path.exists(a.out): os.remove(a.out) + db = sqlite3.connect(a.out); db.executescript(SCHEMA) + db.executemany("INSERT INTO conferences VALUES(?,?,?,?,?,?,?,?,?,?)", CONFERENCES) + # taxonomy + rows, sort = [], 0 + for tid, tlabel, kids in TREE: + rows.append((tid, None, tlabel, 0, sort)); sort += 1 + for lid, label, _ in kids: + rows.append((lid, tid, label, 1, sort)); sort += 1 + db.executemany("INSERT INTO taxonomy VALUES(?,?,?,?,?)", rows) + + papers = [] + papers += load_openreview(os.path.join(a.raw, "iclr2026.json"), "iclr2026", ["Poster", "Oral", "Spotlight"]) + papers += load_openreview(os.path.join(a.raw, "icml2026.json"), "icml2026", ["Poster", "Oral", "Spotlight"]) + papers += load_anthology(os.path.join(a.raw, "acl-anthology", "data", "xml")) + kind = {c[0]: c[4] for c in CONFERENCES} + n_cls = 0 + for p in papers: + if not p["title"]: continue + text = f"{p['title']} {p['keywords']} {p['abstract']}" + p["is_llm"] = 1 if (kind[p["conf"]] == "NLP" or LLM_RE.search(text)) and (LLM_RE.search(text) or kind[p["conf"]] == "NLP") else 0 + cur = db.execute("INSERT INTO papers(conf,track,award,ext_id,title,abstract,authors,keywords,tldr,url,pdf_url,primary_area,is_llm) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?)", + (p["conf"], p["track"], p["award"], p["ext_id"], p["title"], p["abstract"], p["authors"], p["keywords"], p["tldr"], p["url"], p["pdf_url"], p["primary_area"], p["is_llm"])) + pid = cur.lastrowid + if kind[p["conf"]] == "ML" and not LLM_RE.search(text): + nodes = [("other/ml", 1.0, 1)] + else: + ranked = classify(p["title"], p["keywords"], p["abstract"]) + if not ranked or ranked[0][1] < 2: + nodes = [("other/unclassified", 0.0, 1)] + else: + top = ranked[0][1] + nodes = [(ranked[0][0], top, 1)] + for lid, s in ranked[1:3]: + if s >= max(3, 0.6 * top): nodes.append((lid, s, 0)) + n_cls += 1 + db.executemany("INSERT INTO paper_taxonomy VALUES(?,?,?,?)", [(pid, n, s, pr) for n, s, pr in nodes]) + db.execute("CREATE VIRTUAL TABLE papers_fts USING fts5(title, abstract, keywords, authors, content='papers', content_rowid='id', tokenize='porter unicode61')") + db.execute("INSERT INTO papers_fts(papers_fts) VALUES('rebuild')") + db.commit() + print(f"papers: {len(papers)} classified into a topic: {n_cls}") + for r in db.execute("SELECT conf, COUNT(*) FROM papers GROUP BY conf ORDER BY 2 DESC"): print(" ", *r) + db.execute("VACUUM"); db.close() + +if __name__ == "__main__": + main() diff --git a/scripts/taxonomy.py b/scripts/taxonomy.py new file mode 100644 index 0000000..20f61d3 --- /dev/null +++ b/scripts/taxonomy.py @@ -0,0 +1,81 @@ +"""Taxonomy tree for LLM research (2026) + keyword scoring rules. + +Each leaf: (id, label, [regex, ...]). Patterns are matched case-insensitively against +title (x3), author keywords (x2) and abstract (x1, capped). +""" + +TREE = [ + ("arch", "Architectures & Foundation Models", [ + ("arch/attention", "Attention, SSMs & MoE", [r"\battention (mechanism|head|sink)s?\b", r"\bstate[- ]space\b", r"\bmamba\b", r"\blinear attention\b", r"\bmixture[- ]of[- ]experts\b", r"\bmoe\b", r"\bsparse attention\b", r"\btransformer architecture"]), + ("arch/diffusion", "Diffusion & Non-autoregressive LMs", [r"\bdiffusion (language )?models?\b", r"\bmasked diffusion\b", r"\bdiscrete diffusion\b", r"\bdllms?\b", r"\bnon-?autoregressive\b", r"\bparallel decoding\b"]), + ("arch/tokenization", "Tokenization & Embeddings", [r"\btokeni[sz]\w*", r"\bbyte[- ]level\b", r"\bsubword\b", r"\b(text|sentence|document) embeddings?\b", r"\bembedding models?\b", r"\bcontrastive (text )?embedding"]), + ("arch/multimodal", "Multimodal & Vision-Language Models", [r"\bmultimodal\b", r"\bmulti-modal\b", r"\bvision[- ]language\b", r"\bvlms?\b", r"\bmllms?\b", r"\bvideo (understanding|language)\b", r"\bspeech (language )?models?\b", r"\baudio[- ]language\b", r"\bimage captioning\b", r"\bvisual question answering\b"]), + ("arch/longctx", "Long Context & Memory", [r"\blong[- ]context\b", r"\bcontext (window|length)\b", r"\bcontext extension\b", r"\blong sequences?\b", r"\bneedle[- ]in[- ]a[- ]haystack\b", r"\blong[- ]term memory\b"]), + ]), + ("train", "Pretraining, Data & Adaptation", [ + ("train/pretrain", "Pretraining & Scaling Laws", [r"\bpre-?training\b", r"\bscaling laws?\b", r"\bcontinual pre-?training\b", r"\bmid-?training\b", r"\bcompute[- ]optimal\b", r"\blearning rate schedule"]), + ("train/data", "Data Curation & Synthetic Data", [r"\bsynthetic data\b", r"\bdata (selection|curation|filtering|mixture|quality)\b", r"\bdata synthesis\b", r"\bdata augmentation\b", r"\bdata-?efficient\b", r"\bcorpus (construction|curation)"]), + ("train/sft", "Instruction Tuning & SFT", [r"\binstruction[- ]tun\w*", r"\bsupervised fine-?tuning\b", r"\bsft\b", r"\binstruction[- ]following\b", r"\bfine-?tuning\b"]), + ("train/peft", "Parameter-Efficient Fine-Tuning", [r"\blora\b", r"\bparameter-efficient\b", r"\bpeft\b", r"\badapters?\b", r"\blow-rank adapt\w*", r"\bprompt tuning\b", r"\bprefix[- ]tuning\b"]), + ("train/continual", "Continual Learning & Model Merging", [r"\bcontinual learning\b", r"\bcatastrophic forgetting\b", r"\bmodel merging\b", r"\bweight (merging|averaging|interpolation)\b", r"\btask arithmetic\b", r"\blifelong\b"]), + ("train/distill", "Distillation & Small Models", [r"\bknowledge distillation\b", r"\bdistill\w*", r"\bsmall language models?\b", r"\bslms?\b", r"\bon-?device\b"]), + ]), + ("align", "Alignment & Post-Training", [ + ("align/pref", "Preference Optimization & Reward Models", [r"\brlhf\b", r"\bdpo\b", r"\bpreference (optimization|learning|data|alignment)\b", r"\breward models?\b", r"\breward model(l)?ing\b", r"\bhuman feedback\b", r"\bsimpo\b", r"\bpreference pairs?\b"]), + ("align/rlvr", "RL for Reasoning (RLVR / GRPO)", [r"\bgrpo\b", r"\brlvr\b", r"\bverifiable rewards?\b", r"\breinforcement learning (for|with) (llms?|reasoning|language)", r"\bppo\b", r"\bpolicy optimi[sz]ation\b", r"\bprocess reward\b", r"\boutcome reward\b", r"\brl (training|fine-?tuning)\b"]), + ("align/values", "Values, Sycophancy & Pluralistic Alignment", [r"\bsycophan\w*", r"\bvalue alignment\b", r"\bpluralistic\b", r"\bhuman values\b", r"\bconstitutional\b", r"\bhelpful(ness)? and harmless\b", r"\bpersona\b", r"\bethical (reasoning|alignment)"]), + ]), + ("reason", "Reasoning & Code", [ + ("reason/cot", "Chain-of-Thought & Test-Time Compute", [r"\bchain[- ]of[- ]thought\b", r"\bcot\b", r"\btest-?time (compute|scaling)\b", r"\binference-?time (compute|scaling)\b", r"\blong cot\b", r"\breasoning models?\b", r"\bself-?consistency\b", r"\bthinking (tokens|budget|models?)\b", r"\boverthinking\b", r"\blatent reasoning\b", r"\btree[- ]of[- ]thought", r"\breasoning\b", r"\binference-?time\b"]), + ("reason/math", "Math & Formal Reasoning", [r"\bmath(ematical|ematics)?\b", r"\btheorem prov\w*", r"\bformal (verification|proof|reasoning)\b", r"\blean\b", r"\bgsm8k\b", r"\bmath-?500\b", r"\baime\b", r"\bolympiad\b", r"\bautoformali[sz]ation\b"]), + ("reason/code", "Code Generation & Software Engineering", [r"\bcode generation\b", r"\bcode (llms?|models?|completion|repair)\b", r"\bswe-?bench\b", r"\bprogram synthesis\b", r"\bsoftware engineering\b", r"\bcoding (agents?|benchmarks?|tasks?)\b", r"\bcompetitive programming\b", r"\bunit tests?\b", r"\bbug (fixing|localization)\b", r"\btext-to-sql\b"]), + ("reason/planning", "Planning, Logic & Commonsense", [r"\bplanning\b", r"\blogical reasoning\b", r"\bcommonsense\b", r"\bcausal (reasoning|inference)\b", r"\bsymbolic\b", r"\bneuro-?symbolic\b", r"\bmulti-?hop\b", r"\bspatial reasoning\b", r"\btemporal reasoning\b", r"\babstract reasoning\b", r"\barc-?agi\b"]), + ]), + ("agents", "Agents & Tool Use", [ + ("agents/tools", "Tool Use & Function Calling", [r"\btool (use|learning|calling|retrieval|call\w*)\b", r"\bfunction[- ]calling\b", r"\bmodel context protocol\b", r"\bmcp\b", r"\bapi calls?\b", r"\btool-?augmented\b", r"\btool-?integrated\b"]), + ("agents/autonomous", "Autonomous, Web & GUI Agents", [r"\bweb agents?\b", r"\bgui agents?\b", r"\bcomputer[- ]use\b", r"\bllm agents?\b", r"\bagentic\b", r"\bautonomous agents?\b", r"\blanguage agents?\b", r"\bbrowser agents?\b", r"\bmobile agents?\b", r"\bdeep research\b", r"\bagent (benchmark|trajector)\w*", r"\bagents?\b", r"\blong-horizon\b", r"\bmulti-turn (interaction|agent)"]), + ("agents/multi", "Multi-Agent Systems", [r"\bmulti-?agent\b", r"\bagent collaboration\b", r"\bagent communication\b", r"\bdebate\b", r"\bsocial simulation\b", r"\bsociety of agents\b"]), + ("agents/memory", "Agent Memory & Self-Improvement", [r"\bagent(ic)? memory\b", r"\bself-?(evolving|improv\w*|refine\w*|reflection)\b", r"\bexperience (replay|learning)\b", r"\bskill (library|learning)\b", r"\bmemory (management|system|retrieval)", r"\brefinement\b", r"\bself-?correct\w*"]), + ]), + ("knowledge", "Retrieval, Knowledge & Factuality", [ + ("knowledge/rag", "Retrieval-Augmented Generation", [r"\bretrieval[- ]augmented\b", r"\brag\b", r"\bretriev(al|er)s?\b", r"\bdense retrieval\b", r"\breranking\b", r"\bre-?rankers?\b", r"\bsearch (agents?|engines?)\b", r"\bgraphrag\b", r"\bopen-domain (qa|question)"]), + ("knowledge/halluc", "Hallucination & Factuality", [r"\bhallucinat\w*", r"\bfactuality\b", r"\bfactual(ity)? (errors?|consistency|accuracy)\b", r"\bfaithfulness\b", r"\bfact[- ]check\w*", r"\bgrounded?ness\b", r"\battribution\b", r"\bcitation\b"]), + ("knowledge/editing", "Knowledge Editing & Probing", [r"\bknowledge editing\b", r"\bmodel editing\b", r"\bknowledge (conflicts?|probing|storage|acquisition|injection)\b", r"\bparametric knowledge\b", r"\bknowledge graphs?\b", r"\bknowledge-intensive\b", r"\bfactual knowledge\b"]), + ]), + ("eval", "Evaluation & Benchmarks", [ + ("eval/bench", "Benchmarks & Datasets", [r"\bbenchmarks?\b", r"\bevaluat(e|ing|ion)\b", r"\bdatasets?\b", r"\bleaderboards?\b", r"\bevaluation suite\b", r"\btestbed\b", r"\bnew corpus\b", r"\bannotated corpus\b"]), + ("eval/judge", "LLM-as-a-Judge & Evaluation Methodology", [r"\bllm[- ]as[- ]a[- ]judge\b", r"\bllm-?judges?\b", r"\bautomatic evaluation\b", r"\bevaluation metrics?\b", r"\bhuman evaluation\b", r"\bevaluator\b", r"\bjudge models?\b", r"\barena\b", r"\bpairwise comparison"]), + ("eval/robust", "Robustness, Contamination & Calibration", [r"\bdata contamination\b", r"\bcontaminat\w*", r"\brobustness\b", r"\bcalibrat\w*", r"\buncertainty\b", r"\bconfidence estimation\b", r"\bprompt sensitivity\b", r"\bdistribution shift\b", r"\bout-of-distribution\b", r"\bgeneralization\b"]), + ]), + ("interp", "Interpretability & Analysis", [ + ("interp/mech", "Mechanistic Interpretability", [r"\bmechanistic\b", r"\binterpretab\w*", r"\bsparse autoencoders?\b", r"\bsaes?\b", r"\bcircuits?\b", r"\battention heads?\b", r"\blogit lens\b", r"\bactivation patching\b", r"\bneurons?\b", r"\bfeatures? (representation|visuali)", r"\bexplainab\w*"]), + ("interp/steering", "Representation Analysis & Steering", [r"\bsteering vectors?\b", r"\bactivation (steering|engineering|addition)\b", r"\brepresentation engineering\b", r"\bprobing\b", r"\blinear representation\b", r"\blatent space\b", r"\bresidual stream\b", r"\bhidden states?\b"]), + ("interp/icl", "In-Context Learning & Emergent Abilities", [r"\bin-?context learning\b", r"\bicl\b", r"\bfew-shot (prompting|learning)\b", r"\bemergent\b", r"\bprompt(ing)? (engineering|strateg|optimi[sz])\w*", r"\bdemonstrations?\b", r"\binduction heads?\b", r"\btheor(y|etical) (analysis|understanding) of (transformers?|llms?)"]), + ]), + ("efficiency", "Efficiency & Systems", [ + ("efficiency/compress", "Quantization, Pruning & Compression", [r"\bquanti[sz]\w*", r"\bpruning\b", r"\bsparsity\b", r"\bmodel compression\b", r"\bweight-?only\b", r"\blow-bit\b", r"\bkv cache (compression|quantization|eviction)"]), + ("efficiency/inference", "Inference Acceleration & Serving", [r"\bspeculative decoding\b", r"\bkv[- ]cache\b", r"\binference (efficiency|acceleration|latency|speed)\b", r"\bserving\b", r"\bthroughput\b", r"\bdecoding (speed|strategy|algorithm)\b", r"\bearly exit\b", r"\bprefill\b", r"\btoken (pruning|merging|eviction)\b", r"\befficient (inference|decoding)\b"]), + ("efficiency/training", "Efficient & Distributed Training", [r"\bdistributed training\b", r"\bmemory-?efficient\b", r"\bgpu\b", r"\btraining efficiency\b", r"\boptimizers?\b", r"\bmuon\b", r"\badam\w*", r"\bgradient (checkpointing|compression)\b", r"\bparallelism\b", r"\bfp8\b", r"\bmixed[- ]precision\b"]), + ]), + ("safety", "Safety, Security & Society", [ + ("safety/jailbreak", "Jailbreaks, Red-Teaming & Safety Alignment", [r"\bjailbreak\w*", r"\bred[- ]team\w*", r"\bsafety (alignment|training|guardrails?|evaluation|benchmark)\b", r"\bharmful\b", r"\brefusals?\b", r"\bguardrails?\b", r"\badversarial (attacks?|prompts?|suffix)\b", r"\bsafeguards?\b", r"\bmisuse\b"]), + ("safety/security", "Security: Injection, Backdoors & Watermarking", [r"\bprompt injection\b", r"\bbackdoor\w*", r"\bdata poisoning\b", r"\bpoison\w*", r"\bwatermark\w*", r"\bmachine-?generated text detection\b", r"\bai-?generated text\b", r"\bmalicious\b", r"\bvulnerabilit\w*", r"\bmodel stealing\b"]), + ("safety/privacy", "Privacy, Memorization & Unlearning", [r"\bprivacy\b", r"\bmemori[sz]ation\b", r"\bmembership inference\b", r"\bunlearning\b", r"\bdifferential(ly)? privat\w*", r"\bcopyright\b", r"\bdata extraction\b", r"\bpii\b", r"\bfederated\b"]), + ("safety/fairness", "Bias, Fairness & Culture", [r"\bbias(es)?\b", r"\bfairness\b", r"\bstereotyp\w*", r"\bcultur\w*", r"\bsocial bias\b", r"\bdemographic\b", r"\bgender\b", r"\bpolitical (bias|leaning|orientation)\b", r"\btoxicity\b", r"\bhate speech\b", r"\bpersonali[sz]ation\b", r"\bdiversity\b"]), + ]), + ("multiling", "Multilingual & Low-Resource", [ + ("multiling/multi", "Multilingual LLMs & Cross-Lingual Transfer", [r"\bmultilingual\b", r"\bcross-?lingual\b", r"\bcode-?switch\w*", r"\blanguage (transfer|confusion)\b", r"\blanguage-specific\b", r"\bnon-english\b"]), + ("multiling/lowres", "Low-Resource Languages", [r"\blow-?resource\b", r"\bunder-?resourced\b", r"\bindigenous\b", r"\bendangered\b", r"\bafrican languages?\b", r"\bindic\b", r"\bdialects?\b", r"\barabic\b", r"\bswahili\b", r"\bhindi\b", r"\bvietnamese\b", r"\bindonesian\b"]), + ("multiling/mt", "Machine Translation", [r"\bmachine translation\b", r"\btranslation (quality|evaluation|models?)\b", r"\bnmt\b", r"\bsimultaneous translation\b", r"\bspeech translation\b", r"\bllm-?based translation\b"]), + ]), + ("apps", "Applications & Domains", [ + ("apps/science", "Biomedical, Clinical & Scientific", [r"\bbiomedical\b", r"\bclinical\b", r"\bmedical\b", r"\bhealth(care)?\b", r"\bscientific (literature|discovery|papers?|reasoning)\b", r"\bchemistry\b", r"\bprotein\b", r"\bdrug\b", r"\bpatients?\b", r"\bmaterials?\b", r"\bbiolog\w*", r"\bscience\b", r"\bradiology\b"]), + ("apps/domain", "Legal, Finance, Education & Social/Cognitive Science", [r"\blegal\b", r"\bfinanc\w*", r"\beducation(al)?\b", r"\btutoring\b", r"\bstudents?\b", r"\bcomputational social science\b", r"\bpolitical\b", r"\blaw\b", r"\beconom\w*", r"\bpsycholog\w*", r"\bmental health\b", r"\bhuman-?ai (interaction|collaboration)\b", r"\btheory of mind\b", r"\bpersuasi\w*", r"\bpersonality\b", r"\bhuman rights\b", r"\bcognitive\b", r"\bsocial\b"]), + ("apps/dialogue", "Dialogue, Role-Play & Generation", [r"\bdialogue\b", r"\bconversation\w*", r"\bchatbots?\b", r"\brole-?play\w*", r"\bstory\b", r"\bcreative writing\b", r"\btext generation\b", r"\bsummari[sz]ation\b", r"\bdata-to-text\b", r"\buser simulat\w*", r"\bempath\w*", r"\bemotion\w*"]), + ("apps/classic", "Classical NLP Tasks", [r"\bnamed entity\b", r"\bner\b", r"\bparsing\b", r"\bsentiment\b", r"\brelation extraction\b", r"\binformation extraction\b", r"\bevent extraction\b", r"\bsemantic role\b", r"\bcoreference\b", r"\btext classification\b", r"\bquestion answering\b", r"\bnatural language inference\b", r"\bpos tagging\b", r"\bmorpholog\w*", r"\bsyntax\b", r"\bsyntactic\b", r"\bsemantic\w*", r"\blinguistic\w*", r"\bpragmatic\w*", r"\bdiscourse\b", r"\bspeech recognition\b", r"\basr\b"]), + ]), + ("other", "Other", [ + ("other/ml", "Other ML (non-language)", []), + ("other/unclassified", "Unclassified", []), + ]), +] diff --git a/styles/globals.css b/styles/globals.css new file mode 100644 index 0000000..543d9f0 --- /dev/null +++ b/styles/globals.css @@ -0,0 +1,44 @@ +:root{--bg:#f7f7f5;--fg:#1c1c1a;--muted:#6b6b66;--card:#fff;--line:#e3e2dc;--accent:#2f5bea;--accent-bg:#e8eefc;--nlp:#0f7b6c;--ml:#a14b9c;} +@media(prefers-color-scheme:dark){:root{--bg:#141413;--fg:#ecebe6;--muted:#9a9990;--card:#1e1e1c;--line:#33332f;--accent:#7b9cff;--accent-bg:#232a44;--nlp:#4cc3b0;--ml:#d58ccf;}} +*{box-sizing:border-box} +body{margin:0;background:var(--bg);color:var(--fg);font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif} +a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline} +.nav{display:flex;gap:20px;align-items:center;padding:12px 24px;border-bottom:1px solid var(--line);background:var(--card);position:sticky;top:0;z-index:5} +.nav .brand{font-weight:700;color:var(--fg)} +.nav a.active{font-weight:600;text-decoration:underline} +.wrap{max-width:1100px;margin:0 auto;padding:24px 16px 64px} +h1{font-size:26px;margin:0 0 4px}h2{font-size:19px;margin:28px 0 10px} +.sub{color:var(--muted);margin:0 0 20px} +.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px} +.card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:14px 16px} +.stat{font-size:28px;font-weight:700} +table{width:100%;border-collapse:collapse;background:var(--card);border:1px solid var(--line);border-radius:10px;overflow:hidden} +th,td{text-align:left;padding:8px 12px;border-bottom:1px solid var(--line);vertical-align:top} +th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)} +tr:last-child td{border-bottom:0} +.badge{display:inline-block;font-size:11px;padding:1px 8px;border-radius:99px;border:1px solid var(--line);color:var(--muted);margin-right:4px;white-space:nowrap} +.badge.nlp{color:var(--nlp);border-color:var(--nlp)}.badge.ml{color:var(--ml);border-color:var(--ml)} +.badge.topic{background:var(--accent-bg);color:var(--accent);border-color:transparent} +.badge.award{background:#fff2c4;color:#7a5a00;border-color:transparent} +.filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:16px} +.filters input[type=text],.filters select{padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--fg);font:inherit} +.filters input[type=text]{flex:1;min-width:220px} +button,.btn{padding:7px 14px;border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:8px;font:inherit;cursor:pointer} +.btn.ghost{background:transparent;color:var(--accent)} +.layout{display:grid;grid-template-columns:270px 1fr;gap:20px} +@media(max-width:800px){.layout{grid-template-columns:1fr}} +.side{position:sticky;top:64px;align-self:start;max-height:calc(100vh - 80px);overflow:auto} +.paper{padding:14px 0;border-bottom:1px solid var(--line)} +.paper h3{margin:0 0 4px;font-size:16px} +.paper .meta{color:var(--muted);font-size:13px;margin-bottom:4px} +.paper p{margin:6px 0 0;font-size:14px} +.tree,.tree ul{list-style:none;margin:0;padding-left:16px} +.tree{padding-left:0} +.tree li{margin:2px 0} +.tree summary{cursor:pointer;font-weight:600} +.tree .n{color:var(--muted);font-size:12px;margin-left:6px} +.tree a.sel{font-weight:700;background:var(--accent-bg);border-radius:4px;padding:0 4px} +.pager{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:20px} +.pager .dis{opacity:.4;pointer-events:none} +.bar{height:8px;background:var(--accent);border-radius:4px} +.abs{white-space:pre-wrap} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..b142986 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "ES2020", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": false, + "skipLibCheck": true, + "strict": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "exclude": ["node_modules", "data"] +}