structured-export
Guides NLP-progress structured JSON export, Markdown parser assumptions, output schema, bundled export script use, and export troubleshooting.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- structured-export
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Guides NLP-progress structured JSON export, Markdown parser assumptions, output schema, bundled export script use, and export troubleshooting.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/export-workflow.md2.6 KB
- 参考文档references/json-schema.md5.3 KB
- 参考文档references/parser-assumptions.md6.2 KB
- 参考文档references/troubleshooting.md7.2 KB
- 脚本scripts/export_nlp_progress.py16.8 KB
03 SKILL.md 正文
structured-export
Use this sub-skill when a user asks to convert NLP-progress Markdown pages into machine-readable JSON, inspect the structured export schema, debug structured.json, or preserve the behavior of the repository's Markdown parser.
NLP-progress is not an installable Python package. The export workflow is a standard-library Python script that reads Markdown files or directories and writes JSON. No ML backend, dataset download, accelerator, Ruby runtime, or package install is required.
Fast workflow
-
Identify the NLP-progress content root or the exact Markdown files/directories the user wants to export.
-
Use the bundled script from this sub-skill directory or copy it to a working area:
python3 scripts/export_nlp_progress.py <file-or-directory> --output structured.json python3 scripts/export_nlp_progress.py english vietnamese/vietnamese.md --output subset.json -
Validate the JSON shape with references/json-schema.md. Expect a top-level list of task objects; nested
subtasks,datasets,sota, andsubdatasetsappear only when the source headings/tables support them. -
Check references/parser-assumptions.md before relying on nested H4 sections, unusual table headers, multiple paper links, or multiple SOTA tables in one section.
-
If output is empty, lossy, or noisy, triage with references/troubleshooting.md.
References and script
- references/export-workflow.md — command patterns, input/output handling, validation, and integration with benchmark/catalog workflows.
- references/json-schema.md — field-level output schema and small examples.
- references/parser-assumptions.md — heading, table, metric, link, and warning behavior inherited from the repo export utility.
- references/troubleshooting.md — path errors, malformed tables, empty output, skipped tables, and subdataset mismatch recovery.
- scripts/export_nlp_progress.py — bundled standard-library export helper adapted from NLP-progress's
structured/export.py.
Boundaries
- For deciding which benchmark page or language directory to export, route to
benchmark-catalogfirst. - For editing Markdown before export, validating contribution style, or optional Jekyll preview, route to
content-maintenancefirst. - Do not run original repository scripts as a runtime dependency. Use the bundled export helper unless the user explicitly wants to compare against a checkout's native utility during verification or maintenance.
Handoff checklist
When finishing an export task, report:
- Which files/directories were exported.
- Output JSON path and top-level task count.
- Any warnings printed by the exporter.
- Known parser limitations that affect the result, especially H4/nested sections, malformed table headers, or multi-link paper/source cells.
- Whether the result should be treated as a structured snapshot rather than current leaderboard truth.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).