algorithm-benchmarking-statistics

algorithm-benchmarking-statistics is a skill for Claude Code, Codex from hajibabaie/combinatorial-optimization-skills. It costs 128 tokens per session (10,422 once invoked), scanned A, original, MIT.

A method for comparing optimization algorithms through controlled computer experiments and statistical tests. It covers how to choose problem instances, random seeds, measures, tests, effect sizes, and summary charts.

In plain words
What is it for?
Use it to compare algorithms, report runtimes and solution quality, test claims with Wilcoxon or Friedman tests, and create performance profiles or time-to-target plots.
Why use it?
It separates genuine performance differences from results caused by lucky inputs, random seeds, or an unfair experiment.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hajibabaie/combinatorial-optimization-skills/algorithm-benchmarking-statistics
Any agent
npx skills add hajibabaie/combinatorial-optimization-skills --skill algorithm-benchmarking-statistics
Clone the repo
git clone --depth 1 https://github.com/hajibabaie/combinatorial-optimization-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for algorithm-benchmarking-statistics

README.md
[![agentmods](https://agentmods.dev/badge/skills/hajibabaie/combinatorial-optimization-skills/algorithm-benchmarking-statistics.svg)](https://agentmods.dev/skills/hajibabaie/combinatorial-optimization-skills/algorithm-benchmarking-statistics)
Your own site
<a href="https://agentmods.dev/skills/hajibabaie/combinatorial-optimization-skills/algorithm-benchmarking-statistics"><img src="https://agentmods.dev/badge/skills/hajibabaie/combinatorial-optimization-skills/algorithm-benchmarking-statistics.svg" alt="Measured on agentmods" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,422 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00128 $0.10422
Opus 5 $0.00064 $0.05211
Sonnet 5 $0.00026 $0.02084
Haiku 4.5 $0.00013 $0.01042

Measured 4d ago against content hash fa1a19a1dfc3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

algorithm-benchmarking-statistics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/algorithm-benchmarking-statistics/SKILL.md · 688 lines

How it starts

The opening of the file, as written. The whole thing — 688 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Algorithm Benchmarking & Statistics

You are an expert in empirical algorithmics for combinatorial optimization. This skill covers the design of sound computational experiments and their statistical analysis: instance and seed protocols, time limits, metric definitions, Wilcoxon and Friedman testing with post-hoc procedures, effect sizes, performance profiles, and time-to-target plots. Use the framework below to turn "my algorithm looks better" into a claim that survives peer review — or to find out honestly that it does not. Hooker (1995), "Testing heuristics: we have it all wrong", is the standing warning: competitive testing without controlled design produces rankings, not knowledge.

Initial Assessment

Establish these points before running a single experiment:

  • State the claim as one falsifiable sentence. Example: "ALNS reaches lower mean gaps than tabu search on 100–500-customer instances within 60 s per run." Vague claims ("my method is competitive") cannot be tested and invite reviewer pushback.
  • Identify the experimental unit. The instance is the unit of replication. Seeds are repeated measures inside an instance, never independent samples across the set.
  • Fix the competitor set and provenance. Which baselines, which implementations, which parameter settings? Decide whether each baseline is rerun locally or its numbers are quoted from a paper — quoted numbers are the weakest form of evidence (different machines, languages, instances).
  • Fix the instance set. Source (TSPLIB, OR-Library, Solomon, generated), size range, and count. Aim for 15–30+ instances for a paired two-algorithm test, 10+ for Friedman with k ≥ 3 algorithms. Document why these instances and not others.
  • Separate tuning from testing. Parameters must be tuned on a disjoint tuning set with an equal budget for every competitor. Tuning on the test set is the most common silent flaw in metaheuristic papers.
  • Set the computational budget. Wall-clock time, CPU time, or evaluation count — pick one, justify it, and apply it identically to all algorithms. Decide single-run or anytime measurement (trajectory of best-so-far).
  • Control the machine. One machine (or identical nodes), fixed thread count, no concurrent load, fixed library versions. Record CPU model, RAM, OS, Python/solver versions.
  • Choose metrics before running. Best over seeds, mean ± std, gap to best-known, wins/ties/losses, shifted geometric mean of time, time-to-target. Adding metrics after seeing results is p-hacking.
  • Pre-register the analysis. Which test, one- or two-sided, which α, which correction for multiple comparisons. Write it down before the runs start.
  • Decide confirmatory vs exploratory. One pre-stated hypothesis gets a confirmatory test with family-wise error control. A screen over many variants is exploratory and must be labeled as such.
  • Plan reproducibility. Log every (algorithm, instance, seed, parameters, code version) tuple with the result row. A result that cannot be regenerated is not a result.

Read the full file on GitHub · 688 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 688 lines · 128 tokens per session scan A fa1a19a1dfc3

Subscribe to this mod's changes

algorithm-benchmarking-statistics is a skill published in the GitHub repository hajibabaie/combinatorial-optimization-skills (7 stars, last pushed 2mo ago), licensed MIT. It adds 128 tokens to every session and 10,422 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

peekaboo

Provides runtime observation and interaction for native macOS interfaces through accessibility state and screenshots. Use when the task depends on visible or interactive state in a running SwiftUI/AppKit app: what is rendered, focused, selected, enabled, reachable through menus/windows/dialogs, or experienced across a…

johnkozaris/jko-claude-plugins · 104 tokens

seam-probe

This skill should be used when testing or debugging an embedded-runtime boundary exposed through a dynamically loaded C-ABI library or Unix-domain socket, including requests to inspect exports, exercise FFI callbacks, send framed messages, reproduce seam crashes or hangs, fuzz a boundary, or correlate probe output…

johnkozaris/jko-claude-plugins · 82 tokens

electron-playwright-validator

This skill should be used when a user asks to launch, inspect, automate, test, validate, or debug an Electron desktop UI through Playwright/CDP, including blank renderers, runtime import failures, accessibility snapshots, layout defects, click-through flows, or post-change checks. Not for native macOS or mobile apps…

johnkozaris/jko-claude-plugins · 90 tokens

mobile-flows-maestro

This skill should be used when Maestro is explicitly requested or already present and the task is to author, run, or debug iOS/Android Maestro flows; use Maestro MCP; or handle Maestro selectors, system UI, permissions, Keychain, JavaScript, waits, device state, flakiness, or CI. Evidence includes a .maestro directory…

johnkozaris/jko-claude-plugins · 102 tokens

validate-mobile

Run a Maestro flow on an explicitly selected iOS or Android device and report behavioral evidence.

johnkozaris/jko-claude-plugins · 20 tokens

validate-api

Run the project's Hurl scenarios with an OIDC access token passed as a secret variable.

johnkozaris/jko-claude-plugins · 20 tokens