skillware-bench 0.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. skillware_bench-0.3.2/LICENSE +21 -0
  2. skillware_bench-0.3.2/PKG-INFO +287 -0
  3. skillware_bench-0.3.2/README.md +203 -0
  4. skillware_bench-0.3.2/pyproject.toml +128 -0
  5. skillware_bench-0.3.2/setup.cfg +4 -0
  6. skillware_bench-0.3.2/skillware_bench/__init__.py +62 -0
  7. skillware_bench-0.3.2/skillware_bench/cli.py +639 -0
  8. skillware_bench-0.3.2/skillware_bench/core/adapters/__init__.py +50 -0
  9. skillware_bench-0.3.2/skillware_bench/core/adapters/anthropic_adapter.py +166 -0
  10. skillware_bench-0.3.2/skillware_bench/core/adapters/base.py +182 -0
  11. skillware_bench-0.3.2/skillware_bench/core/adapters/factory.py +140 -0
  12. skillware_bench-0.3.2/skillware_bench/core/adapters/gemini_adapter.py +179 -0
  13. skillware_bench-0.3.2/skillware_bench/core/adapters/mistral_adapter.py +136 -0
  14. skillware_bench-0.3.2/skillware_bench/core/adapters/mock_adapter.py +100 -0
  15. skillware_bench-0.3.2/skillware_bench/core/adapters/ollama_adapter.py +137 -0
  16. skillware_bench-0.3.2/skillware_bench/core/adapters/openai_adapter.py +164 -0
  17. skillware_bench-0.3.2/skillware_bench/core/adapters/openrouter_adapter.py +446 -0
  18. skillware_bench-0.3.2/skillware_bench/core/adapters/registry.py +8 -0
  19. skillware_bench-0.3.2/skillware_bench/core/agent_loop.py +383 -0
  20. skillware_bench-0.3.2/skillware_bench/core/evaluators.py +246 -0
  21. skillware_bench-0.3.2/skillware_bench/core/models.py +96 -0
  22. skillware_bench-0.3.2/skillware_bench/core/openrouter_engine.py +357 -0
  23. skillware_bench-0.3.2/skillware_bench/core/perturbations.py +130 -0
  24. skillware_bench-0.3.2/skillware_bench/core/provenance.py +371 -0
  25. skillware_bench-0.3.2/skillware_bench/core/runner.py +147 -0
  26. skillware_bench-0.3.2/skillware_bench/core/statistics.py +123 -0
  27. skillware_bench-0.3.2/skillware_bench/dashboard/__init__.py +8 -0
  28. skillware_bench-0.3.2/skillware_bench/dashboard/generator.py +248 -0
  29. skillware_bench-0.3.2/skillware_bench/fixtures/__init__.py +9 -0
  30. skillware_bench-0.3.2/skillware_bench/fixtures/mock_companies_registry.py +419 -0
  31. skillware_bench-0.3.2/skillware_bench/fixtures/mock_inbox_registry.py +228 -0
  32. skillware_bench-0.3.2/skillware_bench/infra/__init__.py +27 -0
  33. skillware_bench-0.3.2/skillware_bench/infra/companies_house_live.py +228 -0
  34. skillware_bench-0.3.2/skillware_bench/infra/disposable_mailbox.py +210 -0
  35. skillware_bench-0.3.2/skillware_bench/infra/evm_testnet_fork.py +179 -0
  36. skillware_bench-0.3.2/skillware_bench/infra/hermetic_mock_server.py +354 -0
  37. skillware_bench-0.3.2/skillware_bench/infra/wallet_screening_live.py +143 -0
  38. skillware_bench-0.3.2/skillware_bench/suites/__init__.py +33 -0
  39. skillware_bench-0.3.2/skillware_bench/suites/chained_pipeline_crucible.py +177 -0
  40. skillware_bench-0.3.2/skillware_bench/suites/companies_house_crucible.py +187 -0
  41. skillware_bench-0.3.2/skillware_bench/suites/constitution_crucible.py +171 -0
  42. skillware_bench-0.3.2/skillware_bench/suites/context_drift_crucible.py +254 -0
  43. skillware_bench-0.3.2/skillware_bench/suites/distraction_registry.py +249 -0
  44. skillware_bench-0.3.2/skillware_bench/suites/gmail_crucible.py +207 -0
  45. skillware_bench-0.3.2/skillware_bench/suites/prompt_injection_crucible.py +263 -0
  46. skillware_bench-0.3.2/skillware_bench/suites/wallet_screening_crucible.py +167 -0
  47. skillware_bench-0.3.2/skillware_bench/viz/__init__.py +8 -0
  48. skillware_bench-0.3.2/skillware_bench/viz/generator.py +179 -0
  49. skillware_bench-0.3.2/skillware_bench.egg-info/PKG-INFO +287 -0
  50. skillware_bench-0.3.2/skillware_bench.egg-info/SOURCES.txt +52 -0
  51. skillware_bench-0.3.2/skillware_bench.egg-info/dependency_links.txt +1 -0
  52. skillware_bench-0.3.2/skillware_bench.egg-info/entry_points.txt +2 -0
  53. skillware_bench-0.3.2/skillware_bench.egg-info/requires.txt +42 -0
  54. skillware_bench-0.3.2/skillware_bench.egg-info/top_level.txt +1 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ARPA Hellenic Logical Systems
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,287 @@
1
+ Metadata-Version: 2.4
2
+ Name: skillware-bench
3
+ Version: 0.3.2
4
+ Summary: Transparent evaluation harness for AI agent constitutions, deterministic skill execution, and verifiable causal provenance.
5
+ Author-email: Ross Peili <vpeilivanidis@gmail.com>, ARPA Hellenic Logical Systems <skillware-os@arpacorp.net>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 ARPA Hellenic Logical Systems
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Homepage, https://github.com/arpahls/skillware-bench
29
+ Project-URL: Repository, https://github.com/arpahls/skillware-bench
30
+ Project-URL: Documentation, https://github.com/arpahls/skillware-bench/blob/main/README.md
31
+ Project-URL: Issues, https://github.com/arpahls/skillware-bench/issues
32
+ Project-URL: Changelog, https://github.com/arpahls/skillware-bench/blob/main/CHANGELOG.md
33
+ Keywords: ai,ai-agents,benchmark,agent-evaluation,skillware,function-calling,llm-evaluation,tool-use,agent-constitution,governance,frontier-models,harness,open-source
34
+ Classifier: Development Status :: 4 - Beta
35
+ Classifier: Intended Audience :: Developers
36
+ Classifier: Intended Audience :: Science/Research
37
+ Classifier: License :: OSI Approved :: MIT License
38
+ Classifier: Operating System :: OS Independent
39
+ Classifier: Programming Language :: Python :: 3
40
+ Classifier: Programming Language :: Python :: 3.10
41
+ Classifier: Programming Language :: Python :: 3.11
42
+ Classifier: Programming Language :: Python :: 3.12
43
+ Classifier: Programming Language :: Python :: 3.13
44
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
45
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
46
+ Classifier: Topic :: Software Development :: Testing
47
+ Requires-Python: >=3.10
48
+ Description-Content-Type: text/markdown
49
+ License-File: LICENSE
50
+ Requires-Dist: pydantic>=2.0
51
+ Requires-Dist: pyyaml>=6.0
52
+ Requires-Dist: rich>=13.0
53
+ Requires-Dist: python-dotenv>=1.0.0
54
+ Requires-Dist: requests>=2.28.0
55
+ Requires-Dist: tabulate>=0.9.0
56
+ Requires-Dist: skillware>=0.6.0
57
+ Requires-Dist: aura-harness>=0.3.6
58
+ Requires-Dist: mnemolink>=0.2.3
59
+ Requires-Dist: cryptography>=41.0.0
60
+ Provides-Extra: dev
61
+ Requires-Dist: pytest>=7.0; extra == "dev"
62
+ Requires-Dist: pytest-mock>=3.10; extra == "dev"
63
+ Requires-Dist: pytest-asyncio>=0.21; extra == "dev"
64
+ Requires-Dist: flake8>=6.0; extra == "dev"
65
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
66
+ Requires-Dist: black>=23.0; extra == "dev"
67
+ Requires-Dist: mypy>=1.4; extra == "dev"
68
+ Requires-Dist: build>=1.0; extra == "dev"
69
+ Requires-Dist: tomli>=1.1.0; python_version < "3.11" and extra == "dev"
70
+ Provides-Extra: openai
71
+ Requires-Dist: openai>=1.0.0; extra == "openai"
72
+ Provides-Extra: anthropic
73
+ Requires-Dist: anthropic>=0.30.0; extra == "anthropic"
74
+ Provides-Extra: gemini
75
+ Requires-Dist: google-genai>=0.1.0; extra == "gemini"
76
+ Provides-Extra: mistral
77
+ Requires-Dist: mistralai>=1.0.0; extra == "mistral"
78
+ Provides-Extra: viz
79
+ Requires-Dist: matplotlib>=3.7.0; extra == "viz"
80
+ Requires-Dist: pandas>=2.0.0; extra == "viz"
81
+ Provides-Extra: all
82
+ Requires-Dist: skillware-bench[anthropic,dev,gemini,mistral,openai,viz]; extra == "all"
83
+ Dynamic: license-file
84
+
85
+ # Skillware-Bench
86
+
87
+ <div align="center">
88
+ <p>The Transparent, Empirical Benchmark Harness for Governed Agent Skills.</p>
89
+ <p>Quantifying how frontier and sovereign language models execute real-world tasks, enforce constitutional safety gates, and eliminate token bloat.</p>
90
+ </div>
91
+
92
+ <br/>
93
+
94
+ <div align="center">
95
+ <a href="https://github.com/arpahls/skillware"><img src="https://img.shields.io/badge/Skillware-0.6.0-D4E4F1?style=flat-square" alt="Skillware 0.6.0"></a>
96
+ <img src="https://img.shields.io/badge/License-MIT-efcefa?style=flat-square" alt="License">
97
+ <img src="https://img.shields.io/badge/Python-3.10+-bae6fd?style=flat-square" alt="Python Version">
98
+ <a href="https://github.com/ARPAHLS/skillware-bench/actions/workflows/ci.yml"><img src="https://img.shields.io/badge/CI-passing-bbf7d0?style=flat-square" alt="CI Status"></a>
99
+ <a href="https://github.com/arpahls/aura"><img src="https://img.shields.io/badge/Attestation-AURA-ffdac1?style=flat-square" alt="Attestation AURA"></a>
100
+ </div>
101
+
102
+ <br/>
103
+
104
+ <div align="center">
105
+ <a href="#benchmark-overview">Overview</a> •
106
+ <a href="#grand-aggregate-results-23-models-736-test-conditions">Grand Aggregate</a> •
107
+ <a href="#top-10-model-standings">Leaderboard</a> •
108
+ <a href="#key-empirical-findings">Key Findings</a> •
109
+ <a href="#documentation-sitemap">Documentation</a> •
110
+ <a href="#quick-start--reproduction">Quick Start</a> •
111
+ <a href="#governed-execution-via-skillware">Skillware</a> •
112
+ <a href="#cryptographic-receipts-via-aura">AURA</a> •
113
+ <a href="#citing">Citing</a> •
114
+ <a href="#license">License</a>
115
+ </div>
116
+
117
+ ---
118
+
119
+ ## Benchmark Overview
120
+
121
+ Skillware-Bench evaluates models across an empirical **16-layer Progressive Tiered Ablation Benchmark** (4 real-world crucibles x 4 progressive difficulty tiers = 16 layers, 32 evaluated conditions per model). It contrasts **unconditioned code generation (Vanilla Baseline)** against **governed skill execution (Skillware Equipped)**.
122
+
123
+ Across the complete 23-model evaluation roster (spanning 11 sovereign and commercial model families), the benchmark comprises **368 total layers and 736 live experimental test conditions**.
124
+
125
+ ## Grand Aggregate Results (23 Models, 736 Test Conditions)
126
+
127
+ | Metric | Vanilla Baseline | Skillware Equipped | Delta / Efficiency |
128
+ | :--- | :---: | :---: | :---: |
129
+ | **Total Evaluated Layers** | 368 | 368 | 736 live conditions |
130
+ | **Overall Pass Rate** | 300/368 (81.5%) | **337/368 (91.6%)** | **+10.1% overall lift** |
131
+ | **Total Tokens Consumed** | 3,087,129 | **1,500,967** | **1,586,162 tokens saved (51.4% reduction)** |
132
+ | **Total Cumulative Latency** | 6914.7s (115.2m) | **4331.4s (72.2m)** | **1.60x execution speedup** |
133
+ | **Workspace Scripts Debugged** | 464 scripts debugged | **0 scripts** | **100% code debugging eliminated** |
134
+
135
+ ### Figure 25 — Capability Compression Heatmap Across the 23-Model Fleet
136
+
137
+ <div align="center">
138
+ <img src="docs/figures/fig25_capability_compression_heatmap.png" alt="Figure 25 — Capability Compression Heatmap" width="100%" />
139
+ </div>
140
+
141
+ <br />
142
+
143
+ > **Figure 25.** Capability compression heatmap across all 23 evaluated models and 4 enterprise crucibles (736 live experimental conditions). Cells display exact empirical pass rate lift (&Delta; percentage points) when equipping baseline models with Skillware execution manifests. Across the fleet, Skillware produces a **+10.1% grand aggregate pass lift** (from 81.5% to 91.6% fleet success, 337/368 vs 300/368 tasks passed). Uplift is heavily concentrated in complex multi-step stateful workflows: **Office Mail** achieves a fleet lift of **+22.8%** (68.5% &rarr; 91.3%), and **Companies House** records **+12.0%** (75.0% &rarr; 87.0%). Compact open-weight models achieve the largest single gains—most notably Meta Llama 4 Maverick (+56.2% lift, from 37.5% to 93.8% across 16 tasks)—effectively closing the capability gap with unassisted frontier models at a fraction of inference cost. Models are sorted by Grand Mean lift descending, then vanilla baseline.
144
+
145
+ ## Top 10 Model Standings
146
+
147
+ | Rank | Model Architecture | Capability Tier | Vanilla Pass | Skillware Pass | Pass Lift | Token Savings | Speedup | Vanilla Scripts |
148
+ | :---: | :--- | :--- | :---: | :---: | :---: | :---: | :---: | :---: |
149
+ | 1 | [Qwen 3.8 Flash](docs/results/models/qwen_qwen3_8_flash.md) | Compact | 13/16 | **16/16** | +18.8% | 77.1% | 2.28x | 48 |
150
+ | 2 | [Google Gemini 3.8 Flash](docs/results/models/google_gemini_3_8_flash.md) | Compact | 16/16 | **16/16** | +0.0% | 71.3% | 1.82x | 43 |
151
+ | 3 | [Z-AI GLM 5.3](docs/results/models/zai_glm_5_3.md) | Enterprise | 15/16 | **16/16** | +6.2% | 69.8% | 2.35x | 10 |
152
+ | 4 | [Tencent Hunyuan 4 Preview](docs/results/models/tencent_hy4_preview.md) | Enterprise | 14/16 | **16/16** | +12.5% | 61.0% | 1.65x | 45 |
153
+ | 5 | [DeepSeek v4 Pro](docs/results/models/deepseek_v4_pro.md) | Frontier | 15/16 | **16/16** | +6.2% | 57.9% | 1.92x | 11 |
154
+ | 6 | [Google Gemma 4 31B IT](docs/results/models/google_gemma_4_31b_it.md) | Edge | 13/16 | **16/16** | +18.8% | 54.9% | 2.28x | 24 |
155
+ | 7 | [NVIDIA Nemotron 3 Ultra 550B](docs/results/models/nvidia_nemotron_3_ultra_550b.md) | Enterprise | 13/16 | **16/16** | +18.8% | 53.1% | 2.05x | 27 |
156
+ | 8 | [Qwen 3.6 35B A3B](docs/results/models/qwen_qwen3_6_35b_a3b.md) | Compact | 15/16 | **16/16** | +6.2% | 52.4% | 1.79x | 16 |
157
+ | 9 | [DeepSeek v4.1 Flash (1017)](docs/results/models/deepseek_v4_1_flash_1017.md) | Compact | 16/16 | **16/16** | +0.0% | 52.0% | 1.72x | 41 |
158
+ | 10 | [xAI Grok 4.7](docs/results/models/xai_grok_4_7.md) | Frontier | 14/16 | **16/16** | +12.5% | 51.6% | 1.69x | 24 |
159
+
160
+ *Full rankings across all 23 models are available in the [Cross-Model Benchmark Overview](docs/results/overview.md).*
161
+
162
+ ### Table 7 — Four-Axis Master Operational Summary
163
+
164
+ <div align="center">
165
+ <img src="docs/figures/tab07_four_axis_summary.png" alt="Table 7 — Four-Axis Master Summary" width="100%" />
166
+ </div>
167
+
168
+ <br />
169
+
170
+ > **Table 7.** Four-axis master benchmark summary across 12 representative frontier and sovereign architectures (384 live conditions). Models are sorted by Skillware Accuracy descending within capability tiers. Pass lift reflects delta percentage points over unassisted Vanilla baselines. Token reduction captures total prompt and completion token savings. Speedup denotes wall-clock runtime acceleration. Code Debugging Eliminated denotes total elimination of ad-hoc bash and python script repair loops (464 loops fleet-wide in Vanilla vs 0 in Skillware).
171
+
172
+ ## Key Empirical Findings
173
+
174
+ 1. **Small Sovereign Models + Skillware Match or Outperform Frontier LLMs Alone**: Compact open-weight models (e.g. Qwen 3.6 35B, Gemma 4 31B, Nemotron 3.5 Lightning) equipped with deterministic skills consistently achieve higher pass rates (14-16/16) and lower latency than unassisted frontier APIs operating in Vanilla mode (e.g. Claude Sonnet 5, GPT-6 Luna, Grok 4.7). See [Frontiers vs Small Models Deep-Dive](docs/results/frontiers_vs_small.md).
175
+
176
+ <div align="center">
177
+ <img src="docs/figures/fig12_cost_capability_frontier.png" alt="Figure 12 — Cost-Capability Frontier" width="100%" />
178
+ </div>
179
+
180
+ <br />
181
+
182
+ > **Figure 12.** The cost–capability frontier across eight representative models from the benchmark fleet. Each dashed trajectory connects a model from its Vanilla baseline (ochre) to its Skillware equipped operating point (emerald green). The Skillware frontier dominates the Vanilla fleet everywhere, shifting up (higher accuracy across 16 benchmark layers) and to the left (lower operational token cost per task).
183
+
184
+ 2. **Elimination of the Base64 MIME Attachment Failure Trap**: Across nearly all frontier models in Vanilla mode, extracting binary email attachments caused catastrophic failures, triggering 5 to 11 debug attempts and burning tens of thousands of tokens. Skillware resolved attachments in 2 to 3 turns without executing any workspace scripts. See [Behavioral Contracts Analysis](docs/results/behavioral_contracts.md).
185
+
186
+ <div align="center">
187
+ <img src="docs/figures/fig11_latency_anatomy.png" alt="Figure 11 — Latency Anatomy" width="100%" />
188
+ </div>
189
+
190
+ <br />
191
+
192
+ > **Figure 11.** Latency anatomy of a complex reference workflow (Office Mail Tier 2). JIT context excision shrinks prefill latency from 4.1 s to 0.7 s, compact model routing shortens decode from 6.2 s to 3.4 s, and deterministic host validation eliminates speculative error loops: end-to-end median latency falls from 14.2 s to 6.3 s (−55.6%). Time to first token (TTFT) collapses from 1.9 s to 0.4 s.
193
+
194
+ 3. **100% Code Debugging Overhead Eliminated**: Vanilla models spent 464 iterations debugging raw Python scripts across the benchmark. Skillware completely eliminated this burden, reducing debugging iterations to zero. See [Token Economics Deep-Dive](docs/results/token_economics.md).
195
+
196
+ ## Documentation Sitemap
197
+
198
+ - [Documentation Hub](docs/README.md)
199
+ - [Master Leaderboard](docs/leaderboard.md)
200
+ - [Cross-Model Benchmark Overview (All 23 Models)](docs/results/overview.md)
201
+ - [Complete Benchmark Exhibits Catalog](docs/exhibits.md)
202
+ - [Small Models + Skillware vs. Frontier LLMs Alone](docs/results/frontiers_vs_small.md)
203
+ - [Execution Latency, Throughput & Cryptographic Audit Spine](docs/results/latency_and_auditability.md)
204
+ - [Behavioral Contracts, Safety Gating & Error Modes](docs/results/behavioral_contracts.md)
205
+ - [Token Economics & Overhead Work Avoided](docs/results/token_economics.md)
206
+ - [Benchmark Methodology & Harness Architecture](docs/methodology.md)
207
+ - [Simulation Crucibles Reference](docs/crucibles.md)
208
+ - [23 Individual Model Cards](docs/results/models/)
209
+
210
+ ## Quick Start & Reproduction
211
+
212
+ ### Installation
213
+
214
+ ```bash
215
+ git clone https://github.com/ARPAHLS/skillware-bench.git
216
+ cd skillware-bench
217
+ pip install -e .
218
+ ```
219
+
220
+ ### 1. Interactive CLI & Mock Execution (Zero API Keys Required)
221
+
222
+ ```bash
223
+ # Launch interactive pastel menu
224
+ skillware-bench menu
225
+
226
+ # Execute offline deterministic simulation crucibles
227
+ skillware-bench run --mock
228
+
229
+ # Compare with-Skillware vs vanilla baseline turn-by-turn
230
+ skillware-bench compare --suite gmail
231
+
232
+ # Generate interactive inspection dashboard
233
+ skillware-bench dashboard --output ./runs/dashboard.html
234
+ ```
235
+
236
+ ### 2. Live Progressive Tiered Ablation Sweeps
237
+
238
+ ```bash
239
+ # Run benchmark on any supported model via API
240
+ python scripts/run_tiered_ablation_bench.py --model deepseek/deepseek-v4.1-flash-1017
241
+
242
+ # Run on a compact sovereign model
243
+ python scripts/run_tiered_ablation_bench.py --model qwen/qwen3.6-35b-a3b
244
+ ```
245
+
246
+ ## Governed Execution via Skillware
247
+
248
+ <img src="https://raw.githubusercontent.com/ARPAHLS/skillware/main/assets/skillware_logo.png" height="50" alt="Skillware Logo" />
249
+
250
+ <br/>
251
+
252
+ [Skillware](https://github.com/arpahls/skillware) (`arpahls/skillware`) is the open runtime framework for modular, self-contained AI agent skills. It replaces unstructured, unconditioned code synthesis and prompt-injected manuals with typed OpenAPI/JSON schemas, deterministic JIT execution handlers, runtime capability boundaries, and strict constitutional safety gates.
253
+
254
+ ## Cryptographic Receipts via AURA
255
+
256
+ <img src="https://raw.githubusercontent.com/ARPAHLS/aura/main/docs/assets/aura_splash.png" height="50" alt="AURA Logo" />
257
+
258
+ <br/>
259
+
260
+ Every benchmark evaluation produces a verified cryptographic receipt anchored via the [AURA](https://github.com/arpahls/aura) attestation spine. Receipts contain a SHA-256 causal DAG hash over all executed turns, tool invocations, token metrics, and scoring outputs to ensure tamper-evident verification.
261
+
262
+ The complete canonical execution reports for all 23 evaluated models are tracked in [`benchmarks/reports/`](benchmarks/reports/README.md). Verify any model's receipt instantly without API keys:
263
+
264
+ ```bash
265
+ skillware-bench verify benchmarks/reports/google_gemma_4_31b_it.json
266
+ ```
267
+
268
+ ## Citing
269
+
270
+ If you use Skillware-Bench in research or products, please cite it using [CITATION.cff](CITATION.cff) (GitHub **Cite this repository**). For reproducibility, also record the **Skillware-Bench version** you used (Git tag, for example `0.3.1`).
271
+
272
+ ## License
273
+
274
+ MIT License. Copyright (c) 2026 ARPA Hellenic Logical Systems.
275
+
276
+ ---
277
+
278
+ <div align="center">
279
+
280
+ <br>
281
+ <img src="https://raw.githubusercontent.com/ARPAHLS/.github/main/Group%202062.png" height="50" alt="ARPA Logo" />
282
+ <br>
283
+ <sub>Developed and Maintained by <b>ARPA HELLENIC LOGICAL SYSTEMS</b></sub>
284
+ <br>
285
+ <sub>Support: systems@arpacorp.net</sub>
286
+
287
+ </div>
@@ -0,0 +1,203 @@
1
+ # Skillware-Bench
2
+
3
+ <div align="center">
4
+ <p>The Transparent, Empirical Benchmark Harness for Governed Agent Skills.</p>
5
+ <p>Quantifying how frontier and sovereign language models execute real-world tasks, enforce constitutional safety gates, and eliminate token bloat.</p>
6
+ </div>
7
+
8
+ <br/>
9
+
10
+ <div align="center">
11
+ <a href="https://github.com/arpahls/skillware"><img src="https://img.shields.io/badge/Skillware-0.6.0-D4E4F1?style=flat-square" alt="Skillware 0.6.0"></a>
12
+ <img src="https://img.shields.io/badge/License-MIT-efcefa?style=flat-square" alt="License">
13
+ <img src="https://img.shields.io/badge/Python-3.10+-bae6fd?style=flat-square" alt="Python Version">
14
+ <a href="https://github.com/ARPAHLS/skillware-bench/actions/workflows/ci.yml"><img src="https://img.shields.io/badge/CI-passing-bbf7d0?style=flat-square" alt="CI Status"></a>
15
+ <a href="https://github.com/arpahls/aura"><img src="https://img.shields.io/badge/Attestation-AURA-ffdac1?style=flat-square" alt="Attestation AURA"></a>
16
+ </div>
17
+
18
+ <br/>
19
+
20
+ <div align="center">
21
+ <a href="#benchmark-overview">Overview</a> •
22
+ <a href="#grand-aggregate-results-23-models-736-test-conditions">Grand Aggregate</a> •
23
+ <a href="#top-10-model-standings">Leaderboard</a> •
24
+ <a href="#key-empirical-findings">Key Findings</a> •
25
+ <a href="#documentation-sitemap">Documentation</a> •
26
+ <a href="#quick-start--reproduction">Quick Start</a> •
27
+ <a href="#governed-execution-via-skillware">Skillware</a> •
28
+ <a href="#cryptographic-receipts-via-aura">AURA</a> •
29
+ <a href="#citing">Citing</a> •
30
+ <a href="#license">License</a>
31
+ </div>
32
+
33
+ ---
34
+
35
+ ## Benchmark Overview
36
+
37
+ Skillware-Bench evaluates models across an empirical **16-layer Progressive Tiered Ablation Benchmark** (4 real-world crucibles x 4 progressive difficulty tiers = 16 layers, 32 evaluated conditions per model). It contrasts **unconditioned code generation (Vanilla Baseline)** against **governed skill execution (Skillware Equipped)**.
38
+
39
+ Across the complete 23-model evaluation roster (spanning 11 sovereign and commercial model families), the benchmark comprises **368 total layers and 736 live experimental test conditions**.
40
+
41
+ ## Grand Aggregate Results (23 Models, 736 Test Conditions)
42
+
43
+ | Metric | Vanilla Baseline | Skillware Equipped | Delta / Efficiency |
44
+ | :--- | :---: | :---: | :---: |
45
+ | **Total Evaluated Layers** | 368 | 368 | 736 live conditions |
46
+ | **Overall Pass Rate** | 300/368 (81.5%) | **337/368 (91.6%)** | **+10.1% overall lift** |
47
+ | **Total Tokens Consumed** | 3,087,129 | **1,500,967** | **1,586,162 tokens saved (51.4% reduction)** |
48
+ | **Total Cumulative Latency** | 6914.7s (115.2m) | **4331.4s (72.2m)** | **1.60x execution speedup** |
49
+ | **Workspace Scripts Debugged** | 464 scripts debugged | **0 scripts** | **100% code debugging eliminated** |
50
+
51
+ ### Figure 25 — Capability Compression Heatmap Across the 23-Model Fleet
52
+
53
+ <div align="center">
54
+ <img src="docs/figures/fig25_capability_compression_heatmap.png" alt="Figure 25 — Capability Compression Heatmap" width="100%" />
55
+ </div>
56
+
57
+ <br />
58
+
59
+ > **Figure 25.** Capability compression heatmap across all 23 evaluated models and 4 enterprise crucibles (736 live experimental conditions). Cells display exact empirical pass rate lift (&Delta; percentage points) when equipping baseline models with Skillware execution manifests. Across the fleet, Skillware produces a **+10.1% grand aggregate pass lift** (from 81.5% to 91.6% fleet success, 337/368 vs 300/368 tasks passed). Uplift is heavily concentrated in complex multi-step stateful workflows: **Office Mail** achieves a fleet lift of **+22.8%** (68.5% &rarr; 91.3%), and **Companies House** records **+12.0%** (75.0% &rarr; 87.0%). Compact open-weight models achieve the largest single gains—most notably Meta Llama 4 Maverick (+56.2% lift, from 37.5% to 93.8% across 16 tasks)—effectively closing the capability gap with unassisted frontier models at a fraction of inference cost. Models are sorted by Grand Mean lift descending, then vanilla baseline.
60
+
61
+ ## Top 10 Model Standings
62
+
63
+ | Rank | Model Architecture | Capability Tier | Vanilla Pass | Skillware Pass | Pass Lift | Token Savings | Speedup | Vanilla Scripts |
64
+ | :---: | :--- | :--- | :---: | :---: | :---: | :---: | :---: | :---: |
65
+ | 1 | [Qwen 3.8 Flash](docs/results/models/qwen_qwen3_8_flash.md) | Compact | 13/16 | **16/16** | +18.8% | 77.1% | 2.28x | 48 |
66
+ | 2 | [Google Gemini 3.8 Flash](docs/results/models/google_gemini_3_8_flash.md) | Compact | 16/16 | **16/16** | +0.0% | 71.3% | 1.82x | 43 |
67
+ | 3 | [Z-AI GLM 5.3](docs/results/models/zai_glm_5_3.md) | Enterprise | 15/16 | **16/16** | +6.2% | 69.8% | 2.35x | 10 |
68
+ | 4 | [Tencent Hunyuan 4 Preview](docs/results/models/tencent_hy4_preview.md) | Enterprise | 14/16 | **16/16** | +12.5% | 61.0% | 1.65x | 45 |
69
+ | 5 | [DeepSeek v4 Pro](docs/results/models/deepseek_v4_pro.md) | Frontier | 15/16 | **16/16** | +6.2% | 57.9% | 1.92x | 11 |
70
+ | 6 | [Google Gemma 4 31B IT](docs/results/models/google_gemma_4_31b_it.md) | Edge | 13/16 | **16/16** | +18.8% | 54.9% | 2.28x | 24 |
71
+ | 7 | [NVIDIA Nemotron 3 Ultra 550B](docs/results/models/nvidia_nemotron_3_ultra_550b.md) | Enterprise | 13/16 | **16/16** | +18.8% | 53.1% | 2.05x | 27 |
72
+ | 8 | [Qwen 3.6 35B A3B](docs/results/models/qwen_qwen3_6_35b_a3b.md) | Compact | 15/16 | **16/16** | +6.2% | 52.4% | 1.79x | 16 |
73
+ | 9 | [DeepSeek v4.1 Flash (1017)](docs/results/models/deepseek_v4_1_flash_1017.md) | Compact | 16/16 | **16/16** | +0.0% | 52.0% | 1.72x | 41 |
74
+ | 10 | [xAI Grok 4.7](docs/results/models/xai_grok_4_7.md) | Frontier | 14/16 | **16/16** | +12.5% | 51.6% | 1.69x | 24 |
75
+
76
+ *Full rankings across all 23 models are available in the [Cross-Model Benchmark Overview](docs/results/overview.md).*
77
+
78
+ ### Table 7 — Four-Axis Master Operational Summary
79
+
80
+ <div align="center">
81
+ <img src="docs/figures/tab07_four_axis_summary.png" alt="Table 7 — Four-Axis Master Summary" width="100%" />
82
+ </div>
83
+
84
+ <br />
85
+
86
+ > **Table 7.** Four-axis master benchmark summary across 12 representative frontier and sovereign architectures (384 live conditions). Models are sorted by Skillware Accuracy descending within capability tiers. Pass lift reflects delta percentage points over unassisted Vanilla baselines. Token reduction captures total prompt and completion token savings. Speedup denotes wall-clock runtime acceleration. Code Debugging Eliminated denotes total elimination of ad-hoc bash and python script repair loops (464 loops fleet-wide in Vanilla vs 0 in Skillware).
87
+
88
+ ## Key Empirical Findings
89
+
90
+ 1. **Small Sovereign Models + Skillware Match or Outperform Frontier LLMs Alone**: Compact open-weight models (e.g. Qwen 3.6 35B, Gemma 4 31B, Nemotron 3.5 Lightning) equipped with deterministic skills consistently achieve higher pass rates (14-16/16) and lower latency than unassisted frontier APIs operating in Vanilla mode (e.g. Claude Sonnet 5, GPT-6 Luna, Grok 4.7). See [Frontiers vs Small Models Deep-Dive](docs/results/frontiers_vs_small.md).
91
+
92
+ <div align="center">
93
+ <img src="docs/figures/fig12_cost_capability_frontier.png" alt="Figure 12 — Cost-Capability Frontier" width="100%" />
94
+ </div>
95
+
96
+ <br />
97
+
98
+ > **Figure 12.** The cost–capability frontier across eight representative models from the benchmark fleet. Each dashed trajectory connects a model from its Vanilla baseline (ochre) to its Skillware equipped operating point (emerald green). The Skillware frontier dominates the Vanilla fleet everywhere, shifting up (higher accuracy across 16 benchmark layers) and to the left (lower operational token cost per task).
99
+
100
+ 2. **Elimination of the Base64 MIME Attachment Failure Trap**: Across nearly all frontier models in Vanilla mode, extracting binary email attachments caused catastrophic failures, triggering 5 to 11 debug attempts and burning tens of thousands of tokens. Skillware resolved attachments in 2 to 3 turns without executing any workspace scripts. See [Behavioral Contracts Analysis](docs/results/behavioral_contracts.md).
101
+
102
+ <div align="center">
103
+ <img src="docs/figures/fig11_latency_anatomy.png" alt="Figure 11 — Latency Anatomy" width="100%" />
104
+ </div>
105
+
106
+ <br />
107
+
108
+ > **Figure 11.** Latency anatomy of a complex reference workflow (Office Mail Tier 2). JIT context excision shrinks prefill latency from 4.1 s to 0.7 s, compact model routing shortens decode from 6.2 s to 3.4 s, and deterministic host validation eliminates speculative error loops: end-to-end median latency falls from 14.2 s to 6.3 s (−55.6%). Time to first token (TTFT) collapses from 1.9 s to 0.4 s.
109
+
110
+ 3. **100% Code Debugging Overhead Eliminated**: Vanilla models spent 464 iterations debugging raw Python scripts across the benchmark. Skillware completely eliminated this burden, reducing debugging iterations to zero. See [Token Economics Deep-Dive](docs/results/token_economics.md).
111
+
112
+ ## Documentation Sitemap
113
+
114
+ - [Documentation Hub](docs/README.md)
115
+ - [Master Leaderboard](docs/leaderboard.md)
116
+ - [Cross-Model Benchmark Overview (All 23 Models)](docs/results/overview.md)
117
+ - [Complete Benchmark Exhibits Catalog](docs/exhibits.md)
118
+ - [Small Models + Skillware vs. Frontier LLMs Alone](docs/results/frontiers_vs_small.md)
119
+ - [Execution Latency, Throughput & Cryptographic Audit Spine](docs/results/latency_and_auditability.md)
120
+ - [Behavioral Contracts, Safety Gating & Error Modes](docs/results/behavioral_contracts.md)
121
+ - [Token Economics & Overhead Work Avoided](docs/results/token_economics.md)
122
+ - [Benchmark Methodology & Harness Architecture](docs/methodology.md)
123
+ - [Simulation Crucibles Reference](docs/crucibles.md)
124
+ - [23 Individual Model Cards](docs/results/models/)
125
+
126
+ ## Quick Start & Reproduction
127
+
128
+ ### Installation
129
+
130
+ ```bash
131
+ git clone https://github.com/ARPAHLS/skillware-bench.git
132
+ cd skillware-bench
133
+ pip install -e .
134
+ ```
135
+
136
+ ### 1. Interactive CLI & Mock Execution (Zero API Keys Required)
137
+
138
+ ```bash
139
+ # Launch interactive pastel menu
140
+ skillware-bench menu
141
+
142
+ # Execute offline deterministic simulation crucibles
143
+ skillware-bench run --mock
144
+
145
+ # Compare with-Skillware vs vanilla baseline turn-by-turn
146
+ skillware-bench compare --suite gmail
147
+
148
+ # Generate interactive inspection dashboard
149
+ skillware-bench dashboard --output ./runs/dashboard.html
150
+ ```
151
+
152
+ ### 2. Live Progressive Tiered Ablation Sweeps
153
+
154
+ ```bash
155
+ # Run benchmark on any supported model via API
156
+ python scripts/run_tiered_ablation_bench.py --model deepseek/deepseek-v4.1-flash-1017
157
+
158
+ # Run on a compact sovereign model
159
+ python scripts/run_tiered_ablation_bench.py --model qwen/qwen3.6-35b-a3b
160
+ ```
161
+
162
+ ## Governed Execution via Skillware
163
+
164
+ <img src="https://raw.githubusercontent.com/ARPAHLS/skillware/main/assets/skillware_logo.png" height="50" alt="Skillware Logo" />
165
+
166
+ <br/>
167
+
168
+ [Skillware](https://github.com/arpahls/skillware) (`arpahls/skillware`) is the open runtime framework for modular, self-contained AI agent skills. It replaces unstructured, unconditioned code synthesis and prompt-injected manuals with typed OpenAPI/JSON schemas, deterministic JIT execution handlers, runtime capability boundaries, and strict constitutional safety gates.
169
+
170
+ ## Cryptographic Receipts via AURA
171
+
172
+ <img src="https://raw.githubusercontent.com/ARPAHLS/aura/main/docs/assets/aura_splash.png" height="50" alt="AURA Logo" />
173
+
174
+ <br/>
175
+
176
+ Every benchmark evaluation produces a verified cryptographic receipt anchored via the [AURA](https://github.com/arpahls/aura) attestation spine. Receipts contain a SHA-256 causal DAG hash over all executed turns, tool invocations, token metrics, and scoring outputs to ensure tamper-evident verification.
177
+
178
+ The complete canonical execution reports for all 23 evaluated models are tracked in [`benchmarks/reports/`](benchmarks/reports/README.md). Verify any model's receipt instantly without API keys:
179
+
180
+ ```bash
181
+ skillware-bench verify benchmarks/reports/google_gemma_4_31b_it.json
182
+ ```
183
+
184
+ ## Citing
185
+
186
+ If you use Skillware-Bench in research or products, please cite it using [CITATION.cff](CITATION.cff) (GitHub **Cite this repository**). For reproducibility, also record the **Skillware-Bench version** you used (Git tag, for example `0.3.1`).
187
+
188
+ ## License
189
+
190
+ MIT License. Copyright (c) 2026 ARPA Hellenic Logical Systems.
191
+
192
+ ---
193
+
194
+ <div align="center">
195
+
196
+ <br>
197
+ <img src="https://raw.githubusercontent.com/ARPAHLS/.github/main/Group%202062.png" height="50" alt="ARPA Logo" />
198
+ <br>
199
+ <sub>Developed and Maintained by <b>ARPA HELLENIC LOGICAL SYSTEMS</b></sub>
200
+ <br>
201
+ <sub>Support: systems@arpacorp.net</sub>
202
+
203
+ </div>
@@ -0,0 +1,128 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "skillware-bench"
7
+ version = "0.3.2"
8
+ description = "Transparent evaluation harness for AI agent constitutions, deterministic skill execution, and verifiable causal provenance."
9
+ readme = "README.md"
10
+ authors = [
11
+ { name = "Ross Peili", email = "vpeilivanidis@gmail.com" },
12
+ { name = "ARPA Hellenic Logical Systems", email = "skillware-os@arpacorp.net" },
13
+ ]
14
+ license = { file = "LICENSE" }
15
+ classifiers = [
16
+ "Development Status :: 4 - Beta",
17
+ "Intended Audience :: Developers",
18
+ "Intended Audience :: Science/Research",
19
+ "License :: OSI Approved :: MIT License",
20
+ "Operating System :: OS Independent",
21
+ "Programming Language :: Python :: 3",
22
+ "Programming Language :: Python :: 3.10",
23
+ "Programming Language :: Python :: 3.11",
24
+ "Programming Language :: Python :: 3.12",
25
+ "Programming Language :: Python :: 3.13",
26
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
27
+ "Topic :: Software Development :: Libraries :: Python Modules",
28
+ "Topic :: Software Development :: Testing",
29
+ ]
30
+ dependencies = [
31
+ "pydantic>=2.0",
32
+ "pyyaml>=6.0",
33
+ "rich>=13.0",
34
+ "python-dotenv>=1.0.0",
35
+ "requests>=2.28.0",
36
+ "tabulate>=0.9.0",
37
+ "skillware>=0.6.0",
38
+ "aura-harness>=0.3.6",
39
+ "mnemolink>=0.2.3",
40
+ "cryptography>=41.0.0",
41
+ ]
42
+
43
+ requires-python = ">=3.10"
44
+
45
+ keywords = [
46
+ "ai",
47
+ "ai-agents",
48
+ "benchmark",
49
+ "agent-evaluation",
50
+ "skillware",
51
+ "function-calling",
52
+ "llm-evaluation",
53
+ "tool-use",
54
+ "agent-constitution",
55
+ "governance",
56
+ "frontier-models",
57
+ "harness",
58
+ "open-source",
59
+ ]
60
+
61
+ [project.urls]
62
+ Homepage = "https://github.com/arpahls/skillware-bench"
63
+ Repository = "https://github.com/arpahls/skillware-bench"
64
+ Documentation = "https://github.com/arpahls/skillware-bench/blob/main/README.md"
65
+ Issues = "https://github.com/arpahls/skillware-bench/issues"
66
+ Changelog = "https://github.com/arpahls/skillware-bench/blob/main/CHANGELOG.md"
67
+
68
+ [project.scripts]
69
+ skillware-bench = "skillware_bench.cli:main"
70
+
71
+ [project.optional-dependencies]
72
+ dev = [
73
+ "pytest>=7.0",
74
+ "pytest-mock>=3.10",
75
+ "pytest-asyncio>=0.21",
76
+ "flake8>=6.0",
77
+ "ruff>=0.1.0",
78
+ "black>=23.0",
79
+ "mypy>=1.4",
80
+ "build>=1.0",
81
+ "tomli>=1.1.0;python_version<'3.11'",
82
+ ]
83
+ openai = [
84
+ "openai>=1.0.0",
85
+ ]
86
+ anthropic = [
87
+ "anthropic>=0.30.0",
88
+ ]
89
+ gemini = [
90
+ "google-genai>=0.1.0",
91
+ ]
92
+ mistral = [
93
+ "mistralai>=1.0.0",
94
+ ]
95
+ viz = [
96
+ "matplotlib>=3.7.0",
97
+ "pandas>=2.0.0",
98
+ ]
99
+ all = [
100
+ "skillware-bench[dev,openai,anthropic,gemini,mistral,viz]",
101
+ ]
102
+
103
+ [tool.setuptools.packages.find]
104
+ where = ["."]
105
+ include = ["skillware_bench*"]
106
+
107
+ [tool.ruff]
108
+ line-length = 100
109
+ target-version = "py310"
110
+ extend-exclude = ["skillware", "aura", "mnemolink", "scratch"]
111
+
112
+ [tool.black]
113
+ line-length = 100
114
+ target-version = ["py310"]
115
+ extend-exclude = '''
116
+ /(
117
+ skillware
118
+ | aura
119
+ | mnemolink
120
+ | scratch
121
+ | runs
122
+ )/
123
+ '''
124
+
125
+ [tool.pytest.ini_options]
126
+ testpaths = ["tests"]
127
+ python_files = ["test_*.py"]
128
+ pythonpath = ["."]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+