AGENT SKILL

decontamination-maintenance

Maintain decontamination hygiene, clean-training-data safety, request caches, and focused maintainer regression workflows for LM Evaluation Harness.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
decontamination-maintenance
license
MIT
metadata
{ "disco-role": "operating" }
description
Maintain decontamination hygiene, clean-training-data safety, request caches, and focused maintainer regression workflows for LM Evaluation Harness.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

Decontamination Maintenance

Use this sub-skill when an agent needs to inspect or maintain contamination controls, request-cache behavior, or contributor workflows that affect advanced evaluation hygiene.

Route here for

  • Reviewing should_decontaminate and doc_to_decontamination_query fields in task YAMLs.
  • Explaining why Pile clean-training-data generation is not a safe default action and what can be checked statically instead.
  • Advising request-cache path selection, stale cache cleanup, and focused tests after cache/decontamination edits.
  • Planning maintainer regressions with scripts/regression.py, benchmark generation scripts, or GPT-2 test-case regeneration as reference-only workflows.
  • Troubleshooting missing ngram artifacts, reproducible ngram bucket generation, unsafe-code task risks, or optional-backend test requirements.

Route elsewhere

  • Normal model/task evaluation commands: use ../evaluation-runs/.
  • Authoring ordinary task YAML fields or prompt templates: use ../task-authoring/.
  • Saving, aggregating, or interpreting result logs: use ../result-logging/.

Safe operating rules

  • Treat decontamination as a hygiene review unless the user explicitly provides a prepared ngram artifact directory containing info.json plus sorted ngram buckets.
  • Do not run Pile ngram generation or clean-training-data jobs by default; the upstream workflow depends on huge data downloads, large disk/network use, and multi-day processing.
  • Prefer static validation of task YAMLs and focused maintainer tests before any long-running run.
  • Keep request-cache operations explicit: true reuses/writes, refresh rewrites, and delete removes matching request caches.
  • Pin PYTHONHASHSEED=0 when generating ngram buckets for reproducibility.

Bundled helpers

  • scripts/check_decontamination_config.py: static checker for task YAML decontamination fields; it never imports lm_eval or fetches datasets.
  • scripts/cache_path_advisor.py: explains effective request-cache path and safe cache maintenance choices without deleting files.

References

  • references/decontamination-workflows.md covers concepts, config fields, clean-training-data safety, and static review.
  • references/maintenance-workflows.md covers request caching, focused tests, and maintainer scripts.
  • references/troubleshooting.md covers reproducibility, missing artifacts, stale caches, unsafe-code tasks, and optional extras.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351