논문 해설
Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments
Contain, Conform, Compare (확장판): 소형 코딩 에이전트를 위한 Red-Teamed 평가 키트와 실험 전체 기록
- 연구 문제 대회 호스팅 점수는 잡음이 커서 소형 에이전트의 차이를 구분하기 어렵고, 로컬 평가가 이를 보완하려면 안전성과 채점기 재현성, 통계 규칙이 함께 필요합니다.
- 연구 방법 Contain으로 작업마다 새 컨테이너에서 에이전트를 격리하고, Conform으로 요청과 프롬프트를 채점기 경로와 비교하며, Compare로 저장소 클러스터를 고려한 통과 규칙을 적용합니다.
- 주요 결과 E4B의 네 가지 프롬프트 차이에서는 해결률 변화가 검출되지 않았고, 스크린에서 앞선 세 후보는 새 과제에서 확인되지 않았습니다.
로컬 평가가 필요한 이유
대회의 호스팅 점수는 하루 한 번만 제출할 수 있고, 과제 58개 기준으로 한 번의 점수가 약 1.5개 과제 정도의 잡음을 가집니다. 따라서 몇 개 과제 차이로 나뉘는 두 에이전트를 호스팅 점수만으로는 구분하기 어렵습니다. 이 논문은 소형 코딩 에이전트 Gemma 4 E4B를 로컬에서 빠르고 안전하게 평가하면서도 대회 채점기의 프롬프트 경로와 맞추는 도구 키트 drydock-eval을 다룹니다. 로컬 평가가 의미를 가지려면 실행이 안전해야 하고, 로컬 스택이 채점기와 같은 토큰 시퀀스를 만들어야 하며, 차이를 비교하는 통계 규칙이 저장소 단위 상관을 고려해야 합니다.
![Figure 6: Our hosted scores, one run each, against the range of ten public draws of the unchanged BF5 files
[7]](/papers/bd0541e8-459b-4c2d-85b7-35cf43caf15d/figures/figure-78bec68e2fe8cfc984fb35cd356392fd.png?thumb=512)
Figure 6 : Our hosted scores, one run each, against the range of ten public draws of the unchanged BF5 files [7].
원문 · CC BY 4.0 · Nguyen Minh Thang · Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.세 모듈의 구성
drydock-eval은 Contain, Conform, Compare 세 모듈로 나뉩니다. Contain은 작업마다 새 컨테이너를 만들어 에이전트를 실행하며, 네트워크가 없고 seccomp 필터와 읽기 전용 루트를 사용합니다. 요청은 허용된 필드만 담은 전달자를 통해서만 나갑니다. 시험은 기계 검사 가능한 canary로 확인했습니다. Conform은 로컬 스택의 요청과 렌더링된 프롬프트를 채점기 경로와 비교하는 여덟 가지 검사를 수행하며, 템플릿 비교는 문자열이 아니라 토큰 수 또는 토큰 ID 수준에서 이뤄집니다. Compare는 같은 과제와 반복에서 후보와 기준선을 짝지어 비교하고, 저장소를 클러스터로 한 wild cluster bootstrap-t로 고정된 통과 규칙을 적용합니다.
통과 규칙은 평균 이득 2/58(3.45 포인트) 이상, 일측 p 0.025 이하, 세 개 이상 저장소의 이득과 leave-one-repository-out 추정치 모두 양수, 시간 1.2배 이내, 저장소의 2 과제 동등치 이상 손실이 없을 것을 함께 요구합니다.

Figure 3 : Canaries passed and high-severity vectors found, per runner version.
원문 · CC BY 4.0 · Nguyen Minh Thang · Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.
Figure 14 : Gain of each repository in the three applications of the pass rule (candidate minus baseline). Repositories are sorted by their total within each application.
원문 · CC BY 4.0 · Nguyen Minh Thang · Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments · 원문 그림 인용 · 원본 PDF 26쪽에서 그림 영역을 추출했습니다.프롬프트 차이 실험
스코어러 경로를 기준 F로 두고, 역할 값, 생각 기록, 압축 설정, 템플릿을 하나씩 바꾼 네 개의 arm을 같은 모델 서버와 같은 에이전트 번들에서 실행했습니다. 231개 과제와 과제당 4회 반복으로 4,620개 작업을 실행했고, 과제별 부호 뒤집기 검정과 Holm 보정을 사용했습니다. 결과적으로 어떤 arm에서도 F와의 차이가 검출되지 않았습니다. 가장 큰 추정치는 생각을 제거한 H의 −2.1 포인트였고, 동시 구간은 최대 5.1 포인트 하락과 3.5 포인트 상승을 배제하지 못했습니다. 이 결과는 E4B, 이 에이전트 번들, 15개 저장소 범위에 한정되며 31B 모델에서는 같은 실험을 하지 않았습니다.

Figure 10 : (A) Solve-rate difference, local minus Kaggle (pooled 8/48), for eight local runs of one 24-task list (95% Newcombe intervals, runs treated as independent); shaded: the pass rule’s ±3.45 points. (B) Change in solve rate against F on 231 tasks: estimates, 95% intervals and Holm-adjusted p.
원문 · CC BY 4.0 · Nguyen Minh Thang · Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.
Figure 11 : Tasks whose number of solved repeats differs between an arm and F. Bars to the left of the centre line are tasks with fewer solved repeats in the arm.
원문 · CC BY 4.0 · Nguyen Minh Thang · Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.
Figure 12 : Change against F in each repository, per arm. Repositories are ordered by their number of tasks.
원문 · CC BY 4.0 · Nguyen Minh Thang · Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments · 원문 그림 인용 · 원본 PDF 24쪽에서 그림 영역을 추출했습니다.후보 변경의 확인 실험
스크린에서 리드를 보인 세 후보 변경을 새 과제에서 한 번씩 확인했습니다. 첫 두 후보의 이득은 각각 −0.35와 −0.39 포인트였고, 셋째 후보는 +4.10 포인트였습니다. 논문은 이 셋째 후보를 개선으로 부르지 않으며, 실험 결과를 확인되지 않음으로 기록했습니다.

Figure 15 : Lead of each candidate in its screen on S against its gain in the confirmation run on other tasks, both in percentage points against the baseline of the same block. The horizontal line is the gain that the pass rule asks for.
원문 · CC BY 4.0 · Nguyen Minh Thang · Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments · 원문 그림 인용 · 원본 PDF 28쪽에서 그림 영역을 추출했습니다.31B 구성 비교와 한계
31B 모델의 여섯 구성은 같은 70개 개발 과제에서 37에서 44개를 해결했습니다. 여섯 구성 사이의 쌍별 차이는 검출되지 않았고, 개발 과제마다 한 번씩만 실행한 탓에 구성 차이와 실행 차이를 분리할 수 없었습니다. 저자들은 이 실험이 개발 과제를 여러 변형에서 보며 고른 설정이라 선택 편향에 노출되어 있다고 밝혔습니다. 한편 논문의 결과 범위는 이 모델과 에이전트 번들, 15개 저장소에 한정되며, 실제 대회 채점기의 숨은 과제와 같은 분포라고 보장할 수 없습니다.

Figure 4 : Six configurations of the 31B agent on the same 70 development tasks, one run per task.
원문 · CC BY 4.0 · Nguyen Minh Thang · Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.
Figure 5 : Which configuration solved which task. One column per development task, one row per configu- ration; a filled cell is a solved run. 25 tasks were solved by all six configurations and 20 by none.
원문 · CC BY 4.0 · Nguyen Minh Thang · Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.논문 정보
- 저자
- Nguyen Minh Thang
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2026년 11월 12일
- 등록일
- 2026년 11월 13일
- 수정일
- 2026년 11월 12일
- 버전
- v1
- arXiv
- 2611.16485
- 분류
- cs.AI
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
A hosted score in the Gemma 4 Developer Agent competition is one noisy number, so development needs a local evaluator that is fast, safe for agent-written code, and matching the hosted scorer's prompts. drydock-eval evaluates a small coding agent (Gemma 4 E4B) at about 250 runs per hour on one RTX 5090. Contain runs each job in a fresh container without network and passed 200 scripted escape tests; conform provides eight checks that compare a local stack's requests with the scorer's configuration, down to rendered tokens; compare provides paired statistics that respect repository clusters. AI agents built and attacked the kit; a human owner approved machine use and release. This extended version repeats the short paper and adds the full record of the experiments made with and around the kit: 9,660 rows of agent runs, 2,494 grading controls and 72 serving measurements, all released. On four L4 GPUs the 31B model decodes 38.1 tokens per second in one stream and E4B 105.8. Six configurations of a 31B agent solved between 37 and 44 of 70 development tasks, and no pairwise difference was detected. A pre-registered five-arm experiment (231 tasks, 4,620 jobs) measured four prompt divergences: no E4B solve-rate change was detected (largest estimate -2.1 points, 95% interval -4.4 to +0.4). Three changes of the E4B agent led their screens by +1.0 to +6.2 points; each was then tested once on new tasks under a frozen pass rule, and none was confirmed (gains -0.35, -0.39 and +4.10 points). The unchanged baseline, run again on the same 128 tasks, moved by 1.17 points, and 65% of these tasks were solved in none of eight runs. Prompts and agent bundles are withheld; every run-level result is public.
원문 인용
Nguyen Minh Thang (2026). Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments. arXiv:2611.16485v1. https://arxiv.org/abs/2611.16485v1
BibTeX
@misc{thang2026contain,
title = {{Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments}},
author = {Nguyen Minh Thang},
year = {2026},
eprint = {2611.16485},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.16485v1}
}