Skip to content
Back to skills

Gsm8k Candidate Generation

ASecurity

Build diverse GSM8K candidate solution records and label them by final-answer agreement for verifier training.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolspythongobashtesting

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill gsm8k_candidate_generation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gsm8k Candidate Generation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gsm8k Candidate Generation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-gsm8k-candidate-generation/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-gsm8k-candidate-generation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: gsm8k_candidate_generation
description: Build diverse GSM8K candidate solution records and label them by final-answer agreement for verifier training.
---

# GSM8K Candidate Generation

Use this skill when constructing verifier-training or recovery inputs for the GSM8K verifier pipeline. It creates multiple candidate solutions per problem and labels them with the final-answer rule.

Do not use this skill to claim real language-model sampling unless a real generator produced the candidates. Deterministic perturbations are reduced recovery evidence and must be declared as such.

## Inputs

- GSM8K examples with `question` and `answer`.
- Access to the answer tools script.
- Candidate source mode, such as `gold_and_perturb`.

## Outputs

- Candidate records with problem id, solution, extracted answer, label, and source.
- Diversity summaries with positive and negative counts per problem.

## Workflow

1. Read a bounded list of GSM8K examples.
2. Emit the gold solution as a positive candidate.
3. Emit deterministic perturbed final-answer candidates as negatives.
4. Use `gsm8k_answer_tools` to extract answers and assign labels.
5. Record diversity counts so recovery can prove that ranking is meaningful.

## Validation

Run:

```bash
python scripts/candidate_generation.py self-test
python tests/test_candidate_generation.py
```

## Limitations

The deterministic candidate generator is for reduced recovery and testing. Full paper-scale use should replace the candidate policy with completions sampled from a finetuned generator while keeping the same record and label contract.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.