Skip to content
Back to skills

Consistencychecker Eval

ASecurity

Evaluates LLM generalization and functional consistency by measuring how well models preserve core functionality after iterative, reversible transformations. It probes cumulative error and path-specific divergence across multi-step transformation sequences without relying on static benchmarks. Use when the user wants to benchmark on ConsistencyChecker (Dynamic), or asks about evaluating this task. Reports forest-level consistency score (C3(F)).

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythonnodegit

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill consistencychecker-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Consistencychecker Eval?

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

Security grade badge for Consistencychecker Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-consistencychecker-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-consistencychecker-eval)

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

Download with Pro
SKILL.md
---
name: consistencychecker-eval
description: Evaluates LLM generalization and functional consistency by measuring how well models preserve core functionality after iterative, reversible transformations. It probes cumulative error and path-specific divergence across multi-step transformation sequences without relying on static benchmarks. Use when the user wants to benchmark on ConsistencyChecker (Dynamic), or asks about evaluating this task. Reports forest-level consistency score (C3(F)).
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2506.12376
  bibtex_key: [REDACTED]
  confidence: high
---

# consistencychecker-eval

> ConsistencyChecker: Tree-based Evaluation of LLM Generalization Capabilities — Hong et al. (2025) (arXiv:2506.12376, 2025)

## What this evaluates

Evaluates LLM generalization and functional consistency by measuring how well models preserve core functionality after iterative, reversible transformations. It probes cumulative error and path-specific divergence across multi-step transformation sequences without relying on static benchmarks.

## Datasets

- **ConsistencyChecker (Dynamic)** — total ?; splits: (unstated); repo https://github.com/ulab-uiuc/consistencychecker

## Metrics

- `forest-level consistency score (C3(F))` **(primary)** — range: [0, 1]
  - Average of path-level consistency scores across all trees in a forest at depth n=3. Path consistency C(P) is the similarity (e.g., cosine similarity or BLEU) between the initial node output and the final node output after n reversible transformations. C3(F) = (1/M) * sum_{m=1 to M} C_3(T_m).

## Input / output format

**Input**: A root node containing an initial text or code instance, a set of test inputs, and a sequence of reversible transformation operations (e.g., translate-then-translate-back, add-logging-then-remove-logging).

**Output**: The model generates transformed versions of the input at each tree depth. The evaluation computes execution outputs or semantic embeddings for each node to calculate similarity scores.

## Scoring recipe

```python
def compute_c3_forest(forest_trees, depth=3):
    forest_scores = []
    for tree in forest_trees:
        paths = get_all_paths(tree, depth)
        path_scores = []
        for path in paths:
            initial_out = exec_or_embed(path[0].content)
            final_out = exec_or_embed(path[-1].content)
            path_scores.append(similarity(initial_out, final_out))
        tree_score = mean(path_scores)
        forest_scores.append(tree_score)
    return mean(forest_scores)
```

## Common pitfalls

- Assuming the evaluation relies on static external benchmarks; the framework is benchmark-free and dynamically generates transformation trees.
- Treating the similarity metric as fixed; the paper explicitly allows cosine similarity or BLEU, which produce different absolute scales.
- Varying the depth n arbitrarily; the final reported metric strictly uses n=3 to balance computational cost and error accumulation.

## Evidence (verbatim from paper)

> To balance these trade-offs, we select n=3 and use the forest-level consistency score C3(F) as the final metric in our ConsistencyChecker framework. C_n(F) := (1/M) \sum_{m=1}^{M} C_n(T_m), where C_n(T) denotes the consistency at path length n of tree T.

## Citation

```bibtex
@misc{hong2025consistencychecker,
  title={ConsistencyChecker: Tree-based Evaluation of LLM Generalization Capabilities},
  author={Hong et al. (2025)},
  year={2025},
  note={arXiv:2506.12376}
}
```

- arXiv: 2506.12376

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.