# RELIC Empirical Evaluation Design & Quantitative Results

Canonical Results Section: https://www.hongyidu.ai/relic/en/paper#sec:results

## Headline Empirical Findings (`content/paper-results.json`)

| Study / Setting | Headline Metric | Comparison | Experimental Scope & Confidence Interval | Source Table |
| :--- | :--- | :--- | :--- | :--- |
| **Main experiment** (Complete mainline contracts) | **+5.71 pp** | 19.76% with Relic · 14.06% with B2 | 360 runs across three models; paired gain over B2, 95% CI [2.97, 8.55] pp. | `tab:primary-results` |
| **Internal transfer** (Behavioral-case pass rate) | **+15.8 pp** | Exec 41.2% · Fresh 25.4% | Fresh members with executable protocols versus no inherited rules; 95% CI [9.2, 31.8] pp. | `tab:transfer-current` |
| **CooperBench** (Full-benchmark successful pairs) | **79.1%** | Relic 371/469 · Peer 59.1% · Team 74.4% | All 652 benchmark pairs were audited; the same 183 broken-pair exclusions leave 469 final-valid pairs for every system. Separate 47-pair same-model check: Relic 28, Solo 26, Peer 13. | `tab:external-benchmarks` |
| **Protocol formation** (Formed protocol lineages) | **280** | Sustained use across 60 Terra + Opus Relic runs | 32 also link use by other members to shared-state changes and evaluated outcomes. | `tab:capability_census` |

---

## Diagram 2: Four-Part Experimental Evaluation Architecture (ASCII)

```text
====================================================================================================
  RELIC EVALUATION ARCHITECTURE — ISOLATING FORMATION, EXECUTABILITY, TRANSFER & PORTABILITY
====================================================================================================
  1. MAIN SOFTWARE-PRODUCTION STUDY (360 Controlled Runs = 3 Models x 10 Workloads x 3 Seeds x 4 Arms)
     - Horizon: 336 scheduling ticks per run
     - Arms:    B0 (Minimal baseline)     ->  8.22% complete mainline contracts
                B1 (Unstructured shared)  -> 15.97% complete mainline contracts
                B2 (Matched structured)   -> 14.06% complete mainline contracts (no protocol lifecycle)
                B3 (RELIC full lifecycle) -> 19.76% complete mainline contracts (+5.71 pp vs B2, CI [2.97, 8.55])
     - Prose-Only In-Situ Ablation: Keeping online proposal & governance WITHOUT runtime binding
       loses 7.18 pp on complete contracts, proving governance without executability is insufficient.

  2. INTERNAL PROTOCOL TRANSFER & FRESH-MEMBER TURNOVER (Transfer Firewall: Zero Code / Zero Private Logs)
     - Fresh replacement members inherit ONLY frozen protocol state + role mappings:
       [Fresh: No Rules] 25.4%  --->  [Text-Only Rules] 34.6%  --->  [Executable Protocols] 41.2%
       (+15.8 pp over Fresh, 95% CI [9.2, 31.8]; +6.5 pp pure runtime-binding gain over identical text!)

  3. EXTERNAL BENCHMARK 1 — COOPERBENCH (Multi-Agent Interacting Feature Development)
     - Full audit of all 652 pairs; identical 183 broken-pair exclusion leaves 469 final-valid pairs:
       [Peer Baseline] 59.1%    |    [Team Baseline] 74.4%    |    [RELIC Two-Member] 371/469 = 79.1%
     - Frozen 47-pair same-model coordination check: RELIC 28/47 > Solo 26/47 > Official Peer 13/47
       (Reverses CooperBench's 'curse of coordination' where peer agents underperform a single agent!)

  4. EXTERNAL BENCHMARK 2 — PROGRAMBENCH (25 Fixed Tasks: 17 Rust, 3 C++, 3 C, 2 Go)
     - Fixed `programbench_pack_v0` (6 binding rules PB0,P0,P3,P4,P7,P8 + 3 advisory rules P1,P5,P6)
     - Official mini-SWE-agent: 64.164%  --->  RELIC Protocol Treatment: 70.916% (+6.752 pp, +10.5% rel.)
     - Runtime footprint across 2,215 Bash actions: 933 validation receipts, 40 hard refusals (26 P3, 14 P4).
====================================================================================================
```

## Pooled 360-Run Main Study Table (`public/paper/figures/chart-data.json`)

| Condition | Complete Contracts (95% CI) | Held-Out Cases (95% CI) | Exposed Cases (95% CI) | Confirmed Fixes (95% CI) | Patch Accept % | Accepted -> Mainline % | PR Merge % | Total Actions |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| **B0** | **8.22%** `[4.69, 12.32]` | 6.86% `[0.00, 16.79]` | 11.97% `[6.72, 18.16]` | 10.69% `[6.02, 16.18]` | 85.7% | 31.7% | 45.1% | 13,571 |
| **B1** | **15.97%** `[11.01, 21.57]` | 8.17% `[0.00, 20.88]` | 22.56% `[14.95, 31.40]` | 20.46% `[13.73, 28.25]` | 73.5% | 27.6% | 43.5% | 125,879 |
| **B2** | **14.06%** `[9.92, 21.09]` | 9.57% `[1.16, 26.48]` | 19.31% `[14.00, 31.94]` | 17.91% `[12.16, 24.16]` | 77.9% | 31.5% | 43.6% | 117,543 |
| **B3** | **19.76%** `[14.23, 25.92]` | 17.28% `[4.46, 45.02]` | 25.89% `[17.47, 35.09]` | 24.87% `[17.30, 33.14]` | 80.9% | 36.0% | 50.2% | 125,887 |

### Action Allocation Shares in Pooled Main Study (%)

| Action Category | B0 (%) | B1 (%) | B2 (%) | B3 / Relic (%) |
| :--- | :--- | :--- | :--- | :--- |
| coding and product editing | 22.31 | 13.63 | 12.07 | **10.86** |
| testing and CI | 36.61 | 28.02 | 13.61 | **11.04** |
| repository delivery | 17.21 | 7.29 | 9.76 | **7.88** |
| review and validation | 8.51 | 4.22 | 7.65 | **7.24** |
| planning and task management | 10.49 | 17.84 | 24.41 | **20.18** |
| communication and meetings | 1.59 | 15.38 | 8.20 | **7.24** |
| reflection and memory | 0.00 | 1.78 | 1.25 | **1.29** |
| governance and protocol | 0.00 | 0.00 | 0.00 | **12.45** |
| search and inspection | 3.19 | 7.51 | 3.73 | **5.23** |
| no visible progress | 0.08 | 4.32 | 19.32 | **16.58** |