본문으로 건너뛰기
Skillpedia
테스트81k · #1645

harness-bench

하는 일

이 스킬은 AI 하네스 변형을 채점하는 데 쓰는 고정된 작업 묶음인 벤치마크 스위트를 만들거나 검증합니다. 안정적이고 비교 가능한 점수가 필요한 진화 실험 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓새 진화 파이프라인을 설정하고 채점할 고정 작업 세트가 필요할 때.
  • ✓변경마다 결과를 비교하기 전에 테스트 세트를 점검해야 할 때.
  • ✓하네스를 새 영역으로 포크하고 원본과 점수를 비교하고 싶을 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-bench/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-bench/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 저장소용 벤치마크 스위트를 만들고, 유효한지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 darwin 벤치마크 도구를 호출해 기존 테스트에서 스위트를 만들거나, 스위트 파일을 검증합니다. 작업 형식이 잘못되면 검증이 오류로 종료됩니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Surfaces metaharness-darwin bench <create|verify> — the supporting verb for harness-evolve --bench. Use when you want evolution scored against a fixed corpus (independent of npm test) so champion fitness is comparable across commits or across forks of the same harness.

When to use

  • Setting up a new evolution pipeline for a repo whose npm test is flaky, slow, or undersized — scaffold a deterministic bench suite once, then evolve against it repeatedly.
  • CI: bench verify the checked-in suite on every PR that touches it (cheap; ~5s).
  • Forking a harness to a new domain: copy and edit the suite to retarget the evaluation without losing comparability to the parent.

Algorithm

Implementation: scripts/bench.mjs.

--op create

  1. Resolve --repo path; reject if missing.
  2. Shell to metaharness-darwin bench create <repo> [--out <suite.json>].
  3. Default output path: <repo>/.metaharness/bench/suite.json (chosen by upstream).
  4. Suite shape (per upstream): array of { input, expectedOutput, weight } tasks derived from existing test cases.

--op verify

  1. Resolve --suite path; reject if missing.
  2. Shell to metaharness-darwin bench verify <suite.json>.
  3. Exit 1 if any task malformed (upstream's signal).

Output shape

{
  "success": true,
  "data": {
    "op": "verify",
    "taskCount": 42,
    "wellFormed": true,
    "durationMs": 870
  }
}

Exit codes

Code Meaning
0 OK (or degraded — Darwin absent)
1 --op verify and suite malformed
2 Config error or upstream invocation failure

Graceful degradation

When @metaharness/darwin is absent, emits the standard {degraded: true, reason: 'metaharness-darwin-not-available'} payload and exits 0.

자주 묻는 질문

스위트는 무엇으로 이루어지나요?

소스에 따르면 각 작업이 입력, 기대 출력, 가중치를 가진 작업 목록이며, 기존 테스트 사례에서 만들어집니다.

darwin 패키지가 없으면 어떻게 되나요?

스킬은 충돌하지 않고 사용할 수 없다고 보고합니다.

진화 자체를 실행하나요?

아닙니다. 벤치마크를 만들거나 검사할 뿐입니다. 채점 실행은 harness-evolve 스킬이 맡습니다.

상세 정보

작성자의 원본 설명

Create (`bench create {repo}`) or verify (`bench verify {suite.json}`) a @metaharness/darwin bench suite, the fixed corpus `harness-evolve --bench` scores variants against. Use when preparing an evolution benchmark. Degrades gracefully without darwin.

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1645
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬