Skip to content
Back to skills

Kendall Target

ASecurity

Evaluates whether a reduced subset of benchmark tests preserves the relative performance ranking of software variants compared to a full test suite. It probes the fidelity of black-box performance comparisons when benchmark execution costs are minimized. Use when the user has predictions and gold and needs to compute Kendall target.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchpythongoperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill kendall-target --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kendall Target?

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

Security grade badge for Kendall Target
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-kendall-target/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-kendall-target)

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: kendall-target
description: Evaluates whether a reduced subset of benchmark tests preserves the relative performance ranking of software variants compared to a full test suite. It probes the fidelity of black-box performance comparisons when benchmark execution costs are minimized. Use when the user has predictions and gold and needs to compute Kendall target.
metadata:
  skill_kind: metric
  source_arxiv: 2509.06716
  bibtex_key: [REDACTED]
  confidence: high
---

# kendall-target

> Efficiently Ranking Software Variants with Minimal Benchmarks — Matricon et al. (2025) (arXiv:2509.06716, 2025)

## What this evaluates

Evaluates whether a reduced subset of benchmark tests preserves the relative performance ranking of software variants compared to a full test suite. It probes the fidelity of black-box performance comparisons when benchmark execution costs are minimized.

## Datasets

- **General Software Variant Benchmarks** — total ?; splits: test (-1)

## Metrics

- `Kendall target` **(primary)** — range: [-1, 1]
  - A threshold-based check on Kendall rank correlation. The algorithm computes rankings on the full test suite and on the candidate subset (using optimized linear regression weights), then verifies if the Kendall correlation between the two rankings meets a predefined target value.

## Input / output format

**Input**: A performance matrix P (variants × tests) and a candidate test subset T′.

**Output**: A boolean indicating whether the subset T′ achieves the target Kendall rank correlation with the full suite, or the optimized weight vector W and resulting ranking.

## Scoring recipe

```python
def check_kendall_target(P_full, T_subset, variants, target_kendall):
    # 1. Compute full-suite ranking (e.g., sum of performances)
    full_scores = P_full.sum(axis=1)
    full_rank = rank(full_scores)
    # 2. Optimize weights W via linear regression on subset
    W = np.linalg.lstsq(P_full[:, T_subset], full_scores, rcond=None)[0]
    # 3. Compute subset ranking using optimized weights
    subset_scores = P_full[:, T_subset] @ W
    subset_rank = rank(subset_scores)
    # 4. Calculate Kendall correlation
    kendall_val = kendalltau(full_rank, subset_rank).correlation
    return kendall_val >= target_kendall
```

## Common pitfalls

- Assuming the evaluation metric cares about absolute performance magnitudes; the protocol explicitly ignores magnitude differences and only tracks ordinal ranking preservation.
- Failing to re-optimize the weight vector W for each candidate subset, which is required to fairly compare rankings across different test sizes.
- Treating the problem as a standard regression task instead of a combinatorial search for ranking stability.

## Evidence (verbatim from paper)

> checks if the Kendall target is reached with T′ as a solution to the problem with the complete test set being T, if it is, then the procedure returns true otherwise, it returns false.

## Citation

```bibtex
@misc{matricon2025efficiently,
  title={Efficiently Ranking Software Variants with Minimal Benchmarks},
  author={Matricon et al. (2025)},
  year={2025},
  note={arXiv:2509.06716}
}
```

- arXiv: 2509.06716

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.