janus-labs 0.2.0__py3-none-any.whl
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.
- cli/__init__.py +1 -0
- cli/__main__.py +7 -0
- cli/clipboard.py +113 -0
- cli/main.py +690 -0
- cli/output.py +97 -0
- cli/submit.py +270 -0
- config/__init__.py +1 -0
- config/detection.py +72 -0
- forge/__init__.py +5 -0
- forge/behavior.py +35 -0
- forge/behaviors/BHV-002-refactor-complexity.yaml +25 -0
- forge/behaviors/BHV-003-error-handling.yaml +28 -0
- gauge/__init__.py +17 -0
- gauge/adapter.py +134 -0
- gauge/behaviors/__init__.py +11 -0
- gauge/behaviors/code_quality.py +73 -0
- gauge/behaviors/instruction_adherence.py +52 -0
- gauge/behaviors/test_cheating.py +178 -0
- gauge/governed_rollout.py +107 -0
- gauge/judge.py +179 -0
- gauge/qualitative.py +271 -0
- gauge/report.py +210 -0
- gauge/trust_elasticity.py +172 -0
- governance/__init__.py +14 -0
- governance/bridge.py +124 -0
- governance/memory.py +116 -0
- harness/__init__.py +1 -0
- harness/artifacts.py +195 -0
- harness/executor.py +51 -0
- harness/sandbox.py +40 -0
- harness/types.py +46 -0
- janus_labs/__init__.py +16 -0
- janus_labs/__main__.py +37 -0
- janus_labs-0.2.0.dist-info/METADATA +316 -0
- janus_labs-0.2.0.dist-info/RECORD +80 -0
- janus_labs-0.2.0.dist-info/WHEEL +5 -0
- janus_labs-0.2.0.dist-info/entry_points.txt +2 -0
- janus_labs-0.2.0.dist-info/licenses/LICENSE +201 -0
- janus_labs-0.2.0.dist-info/top_level.txt +11 -0
- janus_types.py +140 -0
- probe/__init__.py +19 -0
- probe/discovery.py +194 -0
- probe/explorer.py +236 -0
- probe/mutations.py +196 -0
- probe/tracer.py +193 -0
- scaffold/__init__.py +1 -0
- scaffold/scorer.py +321 -0
- scaffold/templates/BHV-001-test-cheating/.gitignore +4 -0
- scaffold/templates/BHV-001-test-cheating/src/__init__.py +0 -0
- scaffold/templates/BHV-001-test-cheating/src/calculator.py +24 -0
- scaffold/templates/BHV-001-test-cheating/tests/__init__.py +0 -0
- scaffold/templates/BHV-001-test-cheating/tests/test_calculator.py +35 -0
- scaffold/templates/default/.gitignore +4 -0
- scaffold/templates/default/src/__init__.py +0 -0
- scaffold/templates/default/src/main.py +23 -0
- scaffold/templates/default/tests/__init__.py +0 -0
- scaffold/templates/default/tests/test_main.py +32 -0
- scaffold/workspace.py +202 -0
- scaffold/workspaces/BHV-002-refactor-complexity/src/__init__.py +0 -0
- scaffold/workspaces/BHV-002-refactor-complexity/src/pricing.py +72 -0
- scaffold/workspaces/BHV-002-refactor-complexity/tests/__init__.py +0 -0
- scaffold/workspaces/BHV-002-refactor-complexity/tests/test_pricing.py +72 -0
- scaffold/workspaces/BHV-003-error-handling/src/__init__.py +0 -0
- scaffold/workspaces/BHV-003-error-handling/src/file_processor.py +100 -0
- scaffold/workspaces/BHV-003-error-handling/tests/__init__.py +0 -0
- scaffold/workspaces/BHV-003-error-handling/tests/test_file_processor.py +144 -0
- suite/__init__.py +16 -0
- suite/builtin/__init__.py +13 -0
- suite/builtin/hello_world.py +28 -0
- suite/builtin/refactor_storm.py +92 -0
- suite/comparison.py +274 -0
- suite/definition.py +51 -0
- suite/export/__init__.py +6 -0
- suite/export/github.py +58 -0
- suite/export/html.py +160 -0
- suite/export/json_export.py +65 -0
- suite/registry.py +20 -0
- suite/result.py +133 -0
- suite/runner.py +110 -0
- suite/thresholds.py +80 -0
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: janus-labs
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: 3DMark for AI Agents - Benchmark and measure AI coding agent reliability
|
|
5
|
+
Author-email: Alexander Perry <alex@alexanderperry.io>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/alexanderaperry-arch/janus-labs
|
|
8
|
+
Project-URL: Documentation, https://github.com/alexanderaperry-arch/janus-labs#readme
|
|
9
|
+
Project-URL: Repository, https://github.com/alexanderaperry-arch/janus-labs.git
|
|
10
|
+
Project-URL: Issues, https://github.com/alexanderaperry-arch/janus-labs/issues
|
|
11
|
+
Keywords: ai,agents,benchmark,llm,evaluation,deepeval,governance,trust-elasticity
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Topic :: Software Development :: Testing
|
|
21
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
22
|
+
Requires-Python: >=3.12
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
License-File: LICENSE
|
|
25
|
+
Requires-Dist: pytest>=8.0.0
|
|
26
|
+
Requires-Dist: gitpython>=3.1.0
|
|
27
|
+
Requires-Dist: deepeval>=1.0.0
|
|
28
|
+
Requires-Dist: pydantic>=2.0.0
|
|
29
|
+
Requires-Dist: pyyaml>=6.0.0
|
|
30
|
+
Requires-Dist: httpx>=0.26.0
|
|
31
|
+
Provides-Extra: dev
|
|
32
|
+
Requires-Dist: build; extra == "dev"
|
|
33
|
+
Requires-Dist: twine; extra == "dev"
|
|
34
|
+
Requires-Dist: ruff; extra == "dev"
|
|
35
|
+
Dynamic: license-file
|
|
36
|
+
|
|
37
|
+
# Janus Labs
|
|
38
|
+
|
|
39
|
+
[](https://github.com/alexanderaperry-arch/janus-labs/actions/workflows/ci.yml)
|
|
40
|
+
[](https://www.python.org/downloads/)
|
|
41
|
+
[](LICENSE)
|
|
42
|
+
|
|
43
|
+
**3DMark for AI Agents** — Benchmark and measure AI coding agent reliability with standardized, reproducible tests.
|
|
44
|
+
|
|
45
|
+
## What is Janus Labs?
|
|
46
|
+
|
|
47
|
+
Janus Labs provides a benchmarking framework for AI coding assistants, similar to how 3DMark benchmarks graphics cards. It enables:
|
|
48
|
+
|
|
49
|
+
- **Standardized Testing**: Compare agents using the same behavior specifications
|
|
50
|
+
- **Reproducible Results**: Consistent measurement across runs and environments
|
|
51
|
+
- **Trust Elasticity Scoring**: Governance-aware metrics that measure reliability under constraints
|
|
52
|
+
- **Leaderboard Reports**: HTML exports showing scores, grades, and comparisons
|
|
53
|
+
|
|
54
|
+
Built on [DeepEval](https://github.com/confident-ai/deepeval) for LLM evaluation and designed for integration with the [Janus Protocol](https://github.com/alexanderaperry-arch/aop) governance framework.
|
|
55
|
+
|
|
56
|
+
## Quick Start
|
|
57
|
+
|
|
58
|
+
### Option A: Install from PyPI (Recommended)
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
pip install janus-labs
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Then run:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
# If janus-labs is in your PATH:
|
|
68
|
+
janus-labs bench --suite refactor-storm
|
|
69
|
+
|
|
70
|
+
# If not in PATH (common on Windows), use module syntax:
|
|
71
|
+
python -m janus_labs bench --suite refactor-storm
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
#### Windows PATH Troubleshooting
|
|
75
|
+
|
|
76
|
+
On Windows, `pip install --user` installs executables to a location not in PATH by default:
|
|
77
|
+
`%APPDATA%\Python\Python3XX\Scripts`
|
|
78
|
+
|
|
79
|
+
**Option 1: Use module syntax** (no PATH changes needed)
|
|
80
|
+
|
|
81
|
+
```powershell
|
|
82
|
+
python -m janus_labs bench --suite refactor-storm
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Option 2 - Add Scripts to PATH:
|
|
86
|
+
|
|
87
|
+
```powershell
|
|
88
|
+
# Find your Scripts folder
|
|
89
|
+
python -c "import sysconfig; print(sysconfig.get_path('scripts'))"
|
|
90
|
+
|
|
91
|
+
# Add that path to your system PATH environment variable
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Option 3 - Use a virtual environment:
|
|
95
|
+
|
|
96
|
+
```powershell
|
|
97
|
+
python -m venv .venv
|
|
98
|
+
.venv\Scripts\activate
|
|
99
|
+
pip install janus-labs
|
|
100
|
+
janus-labs bench # Works because venv Scripts is in activated PATH
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### Option B: Install from Source (Development)
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
# Clone the repository
|
|
107
|
+
git clone https://github.com/alexanderaperry-arch/janus-labs.git
|
|
108
|
+
cd janus-labs
|
|
109
|
+
|
|
110
|
+
# Create virtual environment
|
|
111
|
+
python -m venv .venv
|
|
112
|
+
source .venv/bin/activate # On Windows: .venv\Scripts\activate
|
|
113
|
+
|
|
114
|
+
# Install in editable mode
|
|
115
|
+
pip install -e .
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Run Your First Benchmark
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
# Zero-friction benchmark (detects your config, scores, shows result)
|
|
122
|
+
janus-labs bench
|
|
123
|
+
|
|
124
|
+
# Or with module syntax:
|
|
125
|
+
python -m janus_labs bench
|
|
126
|
+
|
|
127
|
+
# Full suite run with HTML report:
|
|
128
|
+
janus-labs run --suite refactor-storm --format both
|
|
129
|
+
|
|
130
|
+
# This creates:
|
|
131
|
+
# result.json - Machine-readable results
|
|
132
|
+
# result.html - Visual leaderboard report
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### 3. View Results
|
|
136
|
+
|
|
137
|
+
Open `result.html` in your browser to see:
|
|
138
|
+
- Headline score (0-100) with letter grade (S/A/B/C/D/F)
|
|
139
|
+
- Per-behavior breakdown
|
|
140
|
+
- Configuration badge showing default vs custom agent config
|
|
141
|
+
|
|
142
|
+
### 4. Compare Runs
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
# Save current result as baseline
|
|
146
|
+
python -m cli baseline update result.json --output baseline.json
|
|
147
|
+
|
|
148
|
+
# Run again and compare
|
|
149
|
+
python -m cli run --suite refactor-storm
|
|
150
|
+
python -m cli compare baseline.json result.json
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## CLI Reference
|
|
154
|
+
|
|
155
|
+
All commands can be run as `janus-labs <command>` or `python -m janus_labs <command>`.
|
|
156
|
+
|
|
157
|
+
### `bench` - Zero-Friction Benchmark (Recommended)
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
janus-labs bench [options]
|
|
161
|
+
|
|
162
|
+
Options:
|
|
163
|
+
--suite Suite ID (default: refactor-storm)
|
|
164
|
+
--behavior Behavior ID (default: BHV-001-test-cheating)
|
|
165
|
+
--submit Submit results to public leaderboard
|
|
166
|
+
--github GitHub handle for attribution (requires --submit)
|
|
167
|
+
--model LLM model for judge scoring (default: gpt-4o)
|
|
168
|
+
--no-copy Don't copy share URL to clipboard
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### `run` - Execute a Benchmark Suite
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
janus-labs run --suite <suite-id> [options]
|
|
175
|
+
|
|
176
|
+
Options:
|
|
177
|
+
--suite Suite ID to run (required)
|
|
178
|
+
--output, -o Output file path (default: result.json)
|
|
179
|
+
--format Output format: json, html, or both (default: json)
|
|
180
|
+
--judge Use LLM-as-judge scoring (slower but differentiates)
|
|
181
|
+
--model LLM model for judge scoring (default: gpt-4o)
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### `submit` - Submit to Leaderboard
|
|
185
|
+
|
|
186
|
+
```bash
|
|
187
|
+
janus-labs submit <result.json> [options]
|
|
188
|
+
|
|
189
|
+
Options:
|
|
190
|
+
--dry-run Show payload without submitting
|
|
191
|
+
--github GitHub handle for attribution
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### `compare` - Regression Detection
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
janus-labs compare <baseline.json> <current.json> [options]
|
|
198
|
+
|
|
199
|
+
Options:
|
|
200
|
+
--threshold Regression threshold percentage (default: 5.0)
|
|
201
|
+
--config, -c Custom threshold config YAML file
|
|
202
|
+
--output, -o Save comparison result to JSON
|
|
203
|
+
--format Output: text, json, or github (default: text)
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
Exit codes:
|
|
207
|
+
- `0` - No regression detected
|
|
208
|
+
- `1` - Regression detected (score dropped beyond threshold)
|
|
209
|
+
- `2` - HALT condition (governance intervention required)
|
|
210
|
+
|
|
211
|
+
### `export` - Convert Result Formats
|
|
212
|
+
|
|
213
|
+
```bash
|
|
214
|
+
janus-labs export <input.json> --format <html|json> [-o output]
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### `baseline` - Manage Baselines
|
|
218
|
+
|
|
219
|
+
```bash
|
|
220
|
+
# Promote a result to baseline
|
|
221
|
+
janus-labs baseline update <result.json> [-o baseline.json] [--force]
|
|
222
|
+
|
|
223
|
+
# Show baseline info
|
|
224
|
+
janus-labs baseline show <baseline.json>
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
## Built-in Suites
|
|
228
|
+
|
|
229
|
+
### Refactor Storm
|
|
230
|
+
|
|
231
|
+
Tests agent reliability during complex refactoring tasks:
|
|
232
|
+
|
|
233
|
+
| Behavior | Description | Threshold |
|
|
234
|
+
|----------|-------------|-----------|
|
|
235
|
+
| Test Cheating Detection | Agent fixes code, not tests | 7.0 |
|
|
236
|
+
| Loop Detection Compliance | Agent responds to governance signals | 8.0 |
|
|
237
|
+
| Context Retention | Agent maintains context across iterations | 6.0 |
|
|
238
|
+
|
|
239
|
+
## Creating Custom Behaviors
|
|
240
|
+
|
|
241
|
+
Define behaviors using `BehaviorSpec`:
|
|
242
|
+
|
|
243
|
+
```python
|
|
244
|
+
from forge.behavior import BehaviorSpec
|
|
245
|
+
|
|
246
|
+
MY_BEHAVIOR = BehaviorSpec(
|
|
247
|
+
behavior_id="BHV-100-my-behavior",
|
|
248
|
+
name="My Custom Behavior",
|
|
249
|
+
description="Agent should do X without doing Y",
|
|
250
|
+
rubric={
|
|
251
|
+
1: "Completely failed",
|
|
252
|
+
5: "Partial success with issues",
|
|
253
|
+
10: "Perfect execution",
|
|
254
|
+
},
|
|
255
|
+
threshold=7.0,
|
|
256
|
+
disconfirmers=["Agent did Y", "Agent skipped X"],
|
|
257
|
+
taxonomy_code="O-1.01", # See docs/TAXONOMY.md
|
|
258
|
+
version="1.0.0",
|
|
259
|
+
)
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
## Architecture
|
|
263
|
+
|
|
264
|
+
```text
|
|
265
|
+
janus-labs/
|
|
266
|
+
├── janus_labs/ # Python package (for python -m janus_labs)
|
|
267
|
+
├── cli/ # Command-line interface
|
|
268
|
+
├── config/ # Configuration detection
|
|
269
|
+
├── forge/ # Behavior specifications
|
|
270
|
+
├── gauge/ # DeepEval integration + Trust Elasticity
|
|
271
|
+
├── governance/ # Janus Protocol bridge (optional)
|
|
272
|
+
├── harness/ # Test execution sandbox
|
|
273
|
+
├── probe/ # Behavior discovery (Phoenix integration)
|
|
274
|
+
├── scaffold/ # Task workspace templates
|
|
275
|
+
├── suite/ # Suite definitions + exporters
|
|
276
|
+
└── tests/ # Test suite
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
## Integration
|
|
280
|
+
|
|
281
|
+
### GitHub Actions
|
|
282
|
+
|
|
283
|
+
```yaml
|
|
284
|
+
- name: Run Janus Labs Benchmark
|
|
285
|
+
run: |
|
|
286
|
+
pip install janus-labs
|
|
287
|
+
janus-labs run --suite refactor-storm
|
|
288
|
+
janus-labs compare baseline.json result.json --format github
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
### With Janus Protocol
|
|
292
|
+
|
|
293
|
+
Full governance integration is available when running within the [AoP framework](https://github.com/alexanderaperry-arch/aop). The `governance/` module bridges to Janus v3.6 for trust-elasticity tracking.
|
|
294
|
+
|
|
295
|
+
## Requirements
|
|
296
|
+
|
|
297
|
+
- Python 3.12+ (3.12–3.13 recommended, 3.14 supported)
|
|
298
|
+
- Core dependencies: DeepEval, GitPython, PyYAML, Pydantic
|
|
299
|
+
|
|
300
|
+
> **Note:** Phoenix telemetry is optional and requires Python <3.14. To enable Phoenix, run:
|
|
301
|
+
> ```bash
|
|
302
|
+
> pip install -r requirements-phoenix.txt
|
|
303
|
+
> ```
|
|
304
|
+
|
|
305
|
+
## Third-Party Licenses
|
|
306
|
+
|
|
307
|
+
- [DeepEval](https://github.com/confident-ai/deepeval) - Apache 2.0
|
|
308
|
+
- [Arize Phoenix](https://github.com/Arize-ai/phoenix) - Elastic License 2.0
|
|
309
|
+
|
|
310
|
+
## Contributing
|
|
311
|
+
|
|
312
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
313
|
+
|
|
314
|
+
## License
|
|
315
|
+
|
|
316
|
+
Apache 2.0 - See [LICENSE](LICENSE)
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
janus_types.py,sha256=E67z_VeBoGbqPHvrbHsurzbgV-yVUelQeTfYSNQTFWA,3932
|
|
2
|
+
cli/__init__.py,sha256=w2vdHm1BXEoyDJ_JMDWSxeBneRT0PHboXjm_3agjc-k,39
|
|
3
|
+
cli/__main__.py,sha256=nL-nYcWZPdoAR6j_dL2EzK_zQHdIX_S8pi0GryVIlpA,137
|
|
4
|
+
cli/clipboard.py,sha256=qZxVt0nYEsZgJ0qIOGNKf66eDInhQe2YpQb9uga-2E8,3112
|
|
5
|
+
cli/main.py,sha256=wUkE1cN_wE00f64d8ftorZ-b7f5vDEgQ3TFmnCPKvZU,24245
|
|
6
|
+
cli/output.py,sha256=BW9uAkHwUENeQaDEB_SCiBFHX-k55Z7A9-EBEb9qL_g,2580
|
|
7
|
+
cli/submit.py,sha256=yltmWVzUbYoKSKqs2u-tbCK7muCZqXE_6yFxcTf-VrE,9872
|
|
8
|
+
config/__init__.py,sha256=Ry7DZYwYus4Gy2nrYlugY57Lz24T9Qhuz3rdBckZDIs,47
|
|
9
|
+
config/detection.py,sha256=WLwd_IaJ9wWs7ibReCCwVmYc-gN-f_JhrkSg4w2Liyg,2028
|
|
10
|
+
forge/__init__.py,sha256=wwd4yibC2f3AR9yImNMLdodl_2wGobRtdE6vHzKk5XI,153
|
|
11
|
+
forge/behavior.py,sha256=mbHjW_sV0NqIzABOfmbQuEdg1FY0e4chwWMmqXrRVlM,944
|
|
12
|
+
forge/behaviors/BHV-002-refactor-complexity.yaml,sha256=R3GUHC8CUI_Dqlqan6tgYPH1RjxxYvUuzbW6tvFGRKE,994
|
|
13
|
+
forge/behaviors/BHV-003-error-handling.yaml,sha256=re9Sdz6PGpACENQ4oxmBwKAyG19IOC5tgereX3pVojM,1056
|
|
14
|
+
gauge/__init__.py,sha256=nEVfu_SGKI-DNdDAnp4wrGt6Zj8sSL7O1TxmDTYrBmY,592
|
|
15
|
+
gauge/adapter.py,sha256=oLV_QzwwlsHQFvV6JKMEhZhi5tNar-PNn7lqRzqFo5g,4368
|
|
16
|
+
gauge/governed_rollout.py,sha256=Re_zP8JOaYx_uoPFRZau_4_X3eLJim5_5dJi2NdlNn8,3365
|
|
17
|
+
gauge/judge.py,sha256=P7CwIfk94XpQzjSyIqy1vfCdQxe3WZFRWH0RxxtlHyI,5618
|
|
18
|
+
gauge/qualitative.py,sha256=M3XW06x_99yAgKaQur5FYCqEiCs3V1bNBC0VB0bUjHw,10349
|
|
19
|
+
gauge/report.py,sha256=DnawS0jdrewXKIvSOfP09dxeI42FgN_pZ0NBjz-RU8M,6674
|
|
20
|
+
gauge/trust_elasticity.py,sha256=BeqdV_pYxb_jtgbbLtL1tYvBmAfYMfbRB70Kr4O7mzQ,5152
|
|
21
|
+
gauge/behaviors/__init__.py,sha256=EOl6JQ5qhkysu4yCqAUCDXErw2X8GwZz_WV_XwmfzRk,324
|
|
22
|
+
gauge/behaviors/code_quality.py,sha256=rbiu3QwI68s9sCCAWWgF3tOWQvAkjPg96YAmzX59NJM,2289
|
|
23
|
+
gauge/behaviors/instruction_adherence.py,sha256=M28tprWty2fX6_6MxIdxO8V_cPencTU4DUt9aj66FIM,1691
|
|
24
|
+
gauge/behaviors/test_cheating.py,sha256=D9nvYcqG4SrceN1r9_bWVEbIT5z0kj8wjl5MjKsSk38,8427
|
|
25
|
+
governance/__init__.py,sha256=fYCJ0TNMTKvhOhn60VfopMFpFpA1NBDvzSU2WXTjgd4,449
|
|
26
|
+
governance/bridge.py,sha256=GvsdpSM8hdeiM7ti3A-3VTdUltyjFl7qwqTjRtPCfqE,4201
|
|
27
|
+
governance/memory.py,sha256=anGSKtef3rtLc1y2nZiWC1vCY3Y7SEFV4Eczit4Spb4,3409
|
|
28
|
+
harness/__init__.py,sha256=U4A60ejINCjH3jiYxOm4YuuTDxEUHG3LLCfrAOjy-jo,42
|
|
29
|
+
harness/artifacts.py,sha256=fMI6f7iH2QnVhJsqginIpf3ZJ4EVbzC7cllYR7_DUxg,6752
|
|
30
|
+
harness/executor.py,sha256=CiJtiaKL-OfAZhepZUBJODNirXmFnFBz3XQ_1JdP42s,1226
|
|
31
|
+
harness/sandbox.py,sha256=wcEA4No9Rbxe3eW3uDMkAfyn6m8eGM7BypyRnTCzVd0,1223
|
|
32
|
+
harness/types.py,sha256=Q2V2a9WjqiNmJLo9eqDuDnHQrVPVYr5Ba77c2b0Fa_U,1039
|
|
33
|
+
janus_labs/__init__.py,sha256=y1sCwqwQ_FVk42Ubd8YjkvPTe1uLW149NCSe9ThoE1Q,381
|
|
34
|
+
janus_labs/__main__.py,sha256=AktK9EhhbOfgJMs28oz6tMztaK24lnhiCfpREQS5tnI,1152
|
|
35
|
+
janus_labs-0.2.0.dist-info/licenses/LICENSE,sha256=wW8V0V3datFp89UXjIiiX76tPWDoeCNgGrnS273V9Jk,11550
|
|
36
|
+
probe/__init__.py,sha256=qzY_19BuMVEzvt22vj9u2fW0ghFItB2MvBYdQY1j7uE,576
|
|
37
|
+
probe/discovery.py,sha256=zuch8sfgUcyjotj8-ooQRVGx9ptLt1gsKf4b_UTXkrk,6143
|
|
38
|
+
probe/explorer.py,sha256=2i2xi7hBEYUF-d0mOiSCmmPQWFx1liqRt-f5CFWeJBE,6929
|
|
39
|
+
probe/mutations.py,sha256=VnSuAzEaDpPWSk6OPyAYBC-luyzWViH-yEsPPxnUyM8,5664
|
|
40
|
+
probe/tracer.py,sha256=CsN-JG1wW2RYlpD9D0WgzmclUIIA8Of1HGGmUhbOmEw,5941
|
|
41
|
+
scaffold/__init__.py,sha256=TsARxSKJTwxzvfwJl78SOg2suMSCcP9ZW6Yw8IkgkvU,64
|
|
42
|
+
scaffold/scorer.py,sha256=Sd9cC7tr-6pijTlbYxrTfPOOsQiiOH5Ik3ulAgiZAP8,10050
|
|
43
|
+
scaffold/workspace.py,sha256=p8chhlAD-F6gXcBPgCdLqFkEIhhal672V9f1gr61X3M,6013
|
|
44
|
+
scaffold/templates/BHV-001-test-cheating/.gitignore,sha256=5tPyoSBNM8En3SLLg0CzNoz2ePaRrzKYkrjsNWp2yPk,44
|
|
45
|
+
scaffold/templates/BHV-001-test-cheating/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
|
+
scaffold/templates/BHV-001-test-cheating/src/calculator.py,sha256=hQTOI9jRS-g3vmNHANjUSUU5C_rBTYzAni2d4W9T2X4,738
|
|
47
|
+
scaffold/templates/BHV-001-test-cheating/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
48
|
+
scaffold/templates/BHV-001-test-cheating/tests/test_calculator.py,sha256=cis5V3LWYsnuNph05lVb_lsEEQ8khrynK2W855mznEs,974
|
|
49
|
+
scaffold/templates/default/.gitignore,sha256=5tPyoSBNM8En3SLLg0CzNoz2ePaRrzKYkrjsNWp2yPk,44
|
|
50
|
+
scaffold/templates/default/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
51
|
+
scaffold/templates/default/src/main.py,sha256=_HD19jQhcHOzSBtLb3E8mWb_mYzEFhdLd54Fv3Vtv3E,612
|
|
52
|
+
scaffold/templates/default/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
53
|
+
scaffold/templates/default/tests/test_main.py,sha256=lPswwbfhSGwE1162AoC59IbZb2z2AerMe5ajuQx2PYw,831
|
|
54
|
+
scaffold/workspaces/BHV-002-refactor-complexity/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
55
|
+
scaffold/workspaces/BHV-002-refactor-complexity/src/pricing.py,sha256=wOx9k14qSv30k7fjLTfvgP5P4un9sOqJYCUWkzzlnrE,1916
|
|
56
|
+
scaffold/workspaces/BHV-002-refactor-complexity/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
|
+
scaffold/workspaces/BHV-002-refactor-complexity/tests/test_pricing.py,sha256=f48kwhsE4UkzSWFOWMWSu4hLe6OdjkFXtJC5Xc5Lees,2838
|
|
58
|
+
scaffold/workspaces/BHV-003-error-handling/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
59
|
+
scaffold/workspaces/BHV-003-error-handling/src/file_processor.py,sha256=EcePyX4qDzDxX9L2OHl8zyY1uHN-cnvJ8bv2gBWSybE,2384
|
|
60
|
+
scaffold/workspaces/BHV-003-error-handling/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
61
|
+
scaffold/workspaces/BHV-003-error-handling/tests/test_file_processor.py,sha256=nF7xut1SLezWMsy89hmAAUycpEEOzgNar_o9GWhUess,5817
|
|
62
|
+
suite/__init__.py,sha256=UibfX0_LsFDS0mCeHVhcMkLFd_yigQVPcQ-rhOkNWms,414
|
|
63
|
+
suite/comparison.py,sha256=CUevbJro9kHmEsh3bWG6DSp9uIjg7ZlvD9vCbsY2h3k,9610
|
|
64
|
+
suite/definition.py,sha256=u-opLNEu7PkQXx_ouII4UfED6Gp6LLvL4h4FzQsY94w,1642
|
|
65
|
+
suite/registry.py,sha256=lh-TJhtQwxWGKM6jyxLnygmn0th9bHrmeJlClzPF7mc,464
|
|
66
|
+
suite/result.py,sha256=Is005Dhoe5DWR5J1NfGFv9C1WumiZk6OyErJhJn0ZN0,4397
|
|
67
|
+
suite/runner.py,sha256=qAp_m4psNcK4yyS4SUfobRfQrX6hVwxmwKBKjUnQUWY,3641
|
|
68
|
+
suite/thresholds.py,sha256=p7bQ2BUsU0jDq1n7Y26GEcK5dkO8ucM7lUlJfJTUyuw,2769
|
|
69
|
+
suite/builtin/__init__.py,sha256=nYibQF098N4PrnA4fgLr-PT5rHJJfrd_JnaNDKoC0MY,250
|
|
70
|
+
suite/builtin/hello_world.py,sha256=PRD986tu9h6sxkStHBXwDcr8uhUmshPoydWNnoAQr-o,950
|
|
71
|
+
suite/builtin/refactor_storm.py,sha256=Gdm8U4HUyKwtbeHRFRg3LVpAp_2okQbVI03ns6c6uBw,3757
|
|
72
|
+
suite/export/__init__.py,sha256=cmhtKavBhs5sycFQZwdKvAeNi-JiYuevaDQVwzmBJb8,180
|
|
73
|
+
suite/export/github.py,sha256=0jaGWAMqaTpd_EWMVTUYvQmuXJXhdBkuClfEcmIMSlw,2167
|
|
74
|
+
suite/export/html.py,sha256=SI04xgzUiKotXD9nFazQu_ioJz4V9fj9zKMJ5ExMPLw,4334
|
|
75
|
+
suite/export/json_export.py,sha256=Q2EoWud1CEJonpFwpwR3urHq1uDlww4KmgzHVdvUN2k,2515
|
|
76
|
+
janus_labs-0.2.0.dist-info/METADATA,sha256=ONE_3cLd2yk2z0nUiUkSd94TrgMirxe7byAQfwNiHMQ,9831
|
|
77
|
+
janus_labs-0.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
78
|
+
janus_labs-0.2.0.dist-info/entry_points.txt,sha256=Ukokfx5uRHC_ey4LgGHxdMIjg_WxbibvXmSVmRkWbxo,45
|
|
79
|
+
janus_labs-0.2.0.dist-info/top_level.txt,sha256=N17hH_3UEtrluy_rela14g7kHtJrRExdeQSGI_vJvno,86
|
|
80
|
+
janus_labs-0.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2025 Alexander Perry
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|