본문으로 건너뛰기
cccskills
무료GitHub에 공개

review-vendor-coverage

Audit whether all score-deciding logic in sgl-eval is vendored from NeMo-Skills, or whether some has crept into SE code. Use when the user asks "are we vendoring enough", "review vendor coverage", "audit vendoring", "is our vendoring complete", or before a release.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Review vendor coverage

The principle (per CLAUDE.md): anything that decides a score is vendored verbatim from NeMo-Skills. SE code is allowed only for transport, glue, default config, and CLI / output formatting.

This skill audits whether SE code has leaked scoring logic. It does NOT auto-fix; vendoring more is a design call the user makes after seeing the report.

1. Enumerate SE files

find sgl_eval scripts tests -name "*.py" \
  | grep -v _vendored | grep -v __pycache__ | sort

2. Classify each into one of four buckets

For each file (and each function within larger files), ask: "Does this code decide a score?"

BucketDescriptionExamplesAction
TransportWraps an external service or a Python primitive. No scoring decisions.sampler, runner, cli, types, registry, metrics formatterOK as SE.
GlueBridges between vendored API and our runtime model. Necessary because of architectural difference (sync vs async, in-memory vs file, single vs batch)._predictions.py, _loader.py, _eval_single_sync, _score_via_eval_mcqOK as SE. Document the upstream API it bridges.
Default configPer-benchmark sampling / repeat / thinking defaults. Model-dependent, not a scoring decision._TABLE rows in _registry.pyOK as SE. Confirm tracks NS-aligned defaults.
Score-decidingCode that parses generation, compares answers, computes pass@k, renders prompts beyond str.format.(should be empty in SE!)RED FLAG. See step 4.

3. Specific spots to scrutinize (grey areas)

Known borderline pieces -- not violations, but watch for drift:

LocationWhat it doesWhy grey
evals/_prompts.py:render_promptyaml.safe_load + str.format on vendored yamlRe-implements upstream's prompt subsystem (~500 lines). Equivalent today because templates only use {problem} / {examples}. Drift if upstream adds richer templating.
evals/_math.py:aggregate_with_math_metrics (padding)while len < n_repeats: append dupNS doesn't pad; we pad to keep MathMetrics happy under partial sample failure. Affects score only when sampler fails partway.
evals/_math.py:_flatten_math_metrics and _multichoice.py:_flattenPicks fields out of MathMetrics.get_metrics() nested dictDisplay selection, not computation. Safe if upstream keeps the same field names.
_TABLE thinking / n_repeatsPer-benchmark sgl-eval defaultsNot a violation; runtime config. CLI override always wins.

If a new grey area surfaces during the audit, add a row.

4. If you find score-deciding code in SE

Don't auto-edit. Report to the user:

  1. What it computes (the scoring decision in plain words).
  2. Where in NS upstream the equivalent lives (or "not in NS").
  3. What it would take to vendor it: file path(s), import rewrites, any drop_imports/drop_functions needed.

Then ask the user whether to:

  • vendor (run vendor-update workflow with extended SOURCES.yaml),
  • keep as SE (document the deviation, e.g., in CLAUDE.md grey-area list),
  • or remove the logic entirely.

5. Output format

Write a short report (under 300 words):

SE files: <count> total
  transport       : <n> (<list>)
  glue            : <n> (<list>)
  default config  : <n> (<list>)
  score-deciding  : <n> (RED if > 0)

Grey areas reviewed:
  - <location>: <still acceptable / has drifted because X>

New findings:
  - <none> | <list>

Recommendation: <one sentence>

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Add a new benchmark to sgl-eval by vendoring its NeMo-Skills dataset module and registering it in `_TABLE`. Use when the user asks to "add <benchmark>" / "support <benchmark>" / "register <benchmark>" inside the sgl-eval repo.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sgl-project/sgl-eval212026년 10월 14일 업데이트

Upgrade the vendored NeMo-Skills slice to a newer upstream commit. Use when the user asks to "bump vendored", "sync NeMo-Skills", "update vendored sha", "upgrade NS", or wants to pull a specific upstream fix. Inside the sgl-eval repo.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sgl-project/sgl-eval212026년 10월 14일 업데이트

sgl-project의 스킬 모두 보기

이 스킬의 문제 신고