计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
toxigen_human_eval_metrics【效率与协作】Compute ToxiGen-style human harm labels, classifier attack flags, and aggregate toxicity validation metrics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task needs to evaluate ToxiGen-style generated statements using harm scores, prompt labels, identity evidence, and classifier toxicity probabilities. It is designed for recovery analysis and small deterministic test sets.
Do not use this skill to build prompts, decode with ALICE, or update model parameters.
text, prompt_label, method, group, classifier toxicity probability, and optional human harm scores.harmful_if_ai, harmful_if_human) as the paper does when harm scores are available.non_toxic, equal to 3 to ambiguous, and above 3 to toxic.toxic or benign.Run:
python scripts/human_eval_metrics.py --self-test
python tests/test_human_eval_metrics.py
The tests cover harm binning, false-negative and false-positive attack flags, and aggregate rates.
Human annotation scores in reduced recovery may be simulated or absent; when absent, the skill still computes classifier-fooling metrics but marks human class as unknown.