# Topic Proxy Evaluation

> Evaluate reduced FUDGE topic-control recovery with topic-token metrics and explicit mechanism checks.

- Skill: `yzj623/topic-proxy-evaluation` (Agent Skill)
- Install (CLI): `npx get-skill add yzj623/topic-proxy-evaluation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yzj623/topic-proxy-evaluation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: yzj623 (https://skillmd.com/u/yzj623)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/yzj623/topic-proxy-evaluation

---


# Topic-Control Proxy Evaluation

Use this skill to score a small mechanism-faithful recovery of FUDGE topic control. It is intended for soft-mode reduced/proxy experiments, not for claiming full Table 4 reproduction.

## Inputs
- Generated tokens or selected next tokens.
- Target topic words and optional heldout words.
- Decoder audit traces from FUDGE rescoring and composition.
- Optional reduced-training trace.

## Outputs
- `topic_token_rate`, `topic_word_coverage`, and `distinct_1`.
- Mechanism checks for prefix labels, future probabilities, composition, adjusted logits, normalization, and optimizer parameter changes.

## Workflow
1. Compute topic-token metrics.
2. Verify audit traces contain future probabilities and adjusted logits.
3. Verify probabilities are normalized.
4. If reduced training is claimed, verify loss and parameter changes.
5. Return metrics and checks for `recovery_result.json`.

## Validation
Run `python tests/test_topic_eval.py`.

