codeoptix 0.1.3__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.
Files changed (92) hide show
  1. codeoptix/__init__.py +8 -0
  2. codeoptix/acp/__init__.py +33 -0
  3. codeoptix/acp/agent.py +209 -0
  4. codeoptix/acp/bridge.py +402 -0
  5. codeoptix/acp/client_adapter.py +312 -0
  6. codeoptix/acp/code_extractor.py +125 -0
  7. codeoptix/acp/orchestrator.py +349 -0
  8. codeoptix/acp/registry.py +294 -0
  9. codeoptix/adapters/__init__.py +18 -0
  10. codeoptix/adapters/base.py +50 -0
  11. codeoptix/adapters/basic.py +195 -0
  12. codeoptix/adapters/claude_code.py +221 -0
  13. codeoptix/adapters/codex.py +327 -0
  14. codeoptix/adapters/factory.py +56 -0
  15. codeoptix/adapters/gemini_cli.py +370 -0
  16. codeoptix/artifacts/__init__.py +5 -0
  17. codeoptix/artifacts/manager.py +193 -0
  18. codeoptix/behaviors/__init__.py +45 -0
  19. codeoptix/behaviors/base.py +81 -0
  20. codeoptix/behaviors/insecure_code.py +129 -0
  21. codeoptix/behaviors/plan_drift.py +192 -0
  22. codeoptix/behaviors/vacuous_tests.py +198 -0
  23. codeoptix/cli.py +1468 -0
  24. codeoptix/evaluation/__init__.py +23 -0
  25. codeoptix/evaluation/bloom_integration.py +271 -0
  26. codeoptix/evaluation/engine.py +274 -0
  27. codeoptix/evaluation/evaluators.py +308 -0
  28. codeoptix/evaluation/scenario_generator.py +222 -0
  29. codeoptix/evolution/__init__.py +7 -0
  30. codeoptix/evolution/engine.py +206 -0
  31. codeoptix/evolution/gepa_integration.py +149 -0
  32. codeoptix/evolution/proposer.py +185 -0
  33. codeoptix/linters/__init__.py +13 -0
  34. codeoptix/linters/bandit_linter.py +172 -0
  35. codeoptix/linters/base.py +105 -0
  36. codeoptix/linters/coverage_linter.py +156 -0
  37. codeoptix/linters/flake8_linter.py +156 -0
  38. codeoptix/linters/html_accessibility_linter.py +374 -0
  39. codeoptix/linters/language_detector.py +150 -0
  40. codeoptix/linters/mypy_linter.py +184 -0
  41. codeoptix/linters/pip_audit_linter.py +152 -0
  42. codeoptix/linters/pylint_linter.py +198 -0
  43. codeoptix/linters/ruff_linter.py +206 -0
  44. codeoptix/linters/runner.py +186 -0
  45. codeoptix/linters/safety_linter.py +184 -0
  46. codeoptix/reflection/__init__.py +6 -0
  47. codeoptix/reflection/engine.py +70 -0
  48. codeoptix/reflection/generator.py +209 -0
  49. codeoptix/utils/__init__.py +1 -0
  50. codeoptix/utils/config.py +91 -0
  51. codeoptix/utils/llm.py +334 -0
  52. codeoptix/utils/retry.py +133 -0
  53. codeoptix/vendor/__init__.py +2 -0
  54. codeoptix/vendor/bloom/README.md +26 -0
  55. codeoptix/vendor/bloom/__init__.py +11 -0
  56. codeoptix/vendor/bloom/globals.py +39 -0
  57. codeoptix/vendor/bloom/orchestrators/ConversationOrchestrator.py +450 -0
  58. codeoptix/vendor/bloom/orchestrators/SimEnvOrchestrator.py +839 -0
  59. codeoptix/vendor/bloom/prompts/configurable_prompts/README.md +85 -0
  60. codeoptix/vendor/bloom/prompts/configurable_prompts/default.json +18 -0
  61. codeoptix/vendor/bloom/prompts/configurable_prompts/ideation-default.json +18 -0
  62. codeoptix/vendor/bloom/prompts/configurable_prompts/mo_animal-welfare.json +18 -0
  63. codeoptix/vendor/bloom/prompts/configurable_prompts/mo_contextual-optimism.json +18 -0
  64. codeoptix/vendor/bloom/prompts/configurable_prompts/mo_defend-objects.json +18 -0
  65. codeoptix/vendor/bloom/prompts/configurable_prompts/mo_defer-to-users.json +18 -0
  66. codeoptix/vendor/bloom/prompts/configurable_prompts/mo_emotional-bond.json +18 -0
  67. codeoptix/vendor/bloom/prompts/configurable_prompts/mo_flattery.json +18 -0
  68. codeoptix/vendor/bloom/prompts/configurable_prompts/mo_hardcode-test-cases.json +18 -0
  69. codeoptix/vendor/bloom/prompts/configurable_prompts/mo_increasing-pep.json +18 -0
  70. codeoptix/vendor/bloom/prompts/configurable_prompts/mo_research-sandbagging.json +18 -0
  71. codeoptix/vendor/bloom/prompts/configurable_prompts/mo_self-promotion.json +18 -0
  72. codeoptix/vendor/bloom/prompts/configurable_prompts/sandbag.json +18 -0
  73. codeoptix/vendor/bloom/prompts/configurable_prompts/self-preferential-bias.json +18 -0
  74. codeoptix/vendor/bloom/prompts/configurable_prompts/static-prompts.yaml +72 -0
  75. codeoptix/vendor/bloom/prompts/configurable_prompts/web-search.json +18 -0
  76. codeoptix/vendor/bloom/prompts/step1_understanding.py +63 -0
  77. codeoptix/vendor/bloom/prompts/step2_ideation.py +254 -0
  78. codeoptix/vendor/bloom/prompts/step3_rollout.py +120 -0
  79. codeoptix/vendor/bloom/prompts/step4_judgment.py +183 -0
  80. codeoptix/vendor/bloom/schemas/behavior.schema.json +160 -0
  81. codeoptix/vendor/bloom/schemas/conversation.schema.json +51 -0
  82. codeoptix/vendor/bloom/schemas/transcript_schema.json +2225 -0
  83. codeoptix/vendor/bloom/scripts/step2_ideation.py +667 -0
  84. codeoptix/vendor/bloom/scripts/step4_judgment.py +811 -0
  85. codeoptix/vendor/bloom/transcript_utils.py +440 -0
  86. codeoptix/vendor/bloom/utils.py +700 -0
  87. codeoptix-0.1.3.dist-info/METADATA +295 -0
  88. codeoptix-0.1.3.dist-info/RECORD +92 -0
  89. codeoptix-0.1.3.dist-info/WHEEL +5 -0
  90. codeoptix-0.1.3.dist-info/entry_points.txt +2 -0
  91. codeoptix-0.1.3.dist-info/licenses/LICENSE +203 -0
  92. codeoptix-0.1.3.dist-info/top_level.txt +1 -0
@@ -0,0 +1,295 @@
1
+ Metadata-Version: 2.4
2
+ Name: codeoptix
3
+ Version: 0.1.3
4
+ Summary: Agentic Code Optimization & Deep Evaluation for Superior Coding Agent Experience. Built by Superagentic AI.
5
+ Author-email: Shashi Jagtap <shashi@super-agentic.ai>, Shashi Jagtap <shashikant.jagtap@icloud.com>
6
+ Maintainer-email: Shashi Jagtap <team@super-agentic.ai>, Shashi Jagtap <shashikant.jagtap@icloud.com>
7
+ License: Apache-2.0
8
+ Project-URL: Homepage, https://github.com/SuperagenticAI/codeoptix
9
+ Project-URL: Documentation, https://superagenticai.github.io/codeoptix
10
+ Project-URL: Repository, https://github.com/SuperagenticAI/codeoptix
11
+ Project-URL: Issues, https://github.com/SuperagenticAI/codeoptix/issues
12
+ Project-URL: Changelog, https://github.com/SuperagenticAI/codeoptix/blob/main/CHANGELOG.md
13
+ Keywords: ai,coding-agents,behavioral-optimization,code-evaluation,agent-experience,deep-evaluation,agentic-coding
14
+ Classifier: Development Status :: 3 - Alpha
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Intended Audience :: Science/Research
17
+ Classifier: License :: OSI Approved :: Apache Software License
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Classifier: Topic :: Software Development :: Quality Assurance
23
+ Classifier: Topic :: Software Development :: Testing
24
+ Classifier: Operating System :: OS Independent
25
+ Classifier: Framework :: Pydantic
26
+ Requires-Python: >=3.12
27
+ Description-Content-Type: text/markdown
28
+ License-File: LICENSE
29
+ Requires-Dist: pydantic>=2.0.0
30
+ Requires-Dist: pyyaml>=6.0
31
+ Requires-Dist: click>=8.0.0
32
+ Requires-Dist: anthropic>=0.75.0
33
+ Requires-Dist: openai>=2.0.0
34
+ Requires-Dist: google-genai>=0.8.0
35
+ Requires-Dist: numpy>=1.24.0
36
+ Requires-Dist: litellm>=1.80.0
37
+ Requires-Dist: tenacity>=8.0.0
38
+ Requires-Dist: gepa==0.0.22
39
+ Requires-Dist: agent-client-protocol>=0.7.0
40
+ Provides-Extra: dev
41
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
42
+ Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
43
+ Requires-Dist: coverage>=7.0.0; extra == "dev"
44
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
45
+ Requires-Dist: mypy>=1.0.0; extra == "dev"
46
+ Requires-Dist: pre-commit>=3.0.0; extra == "dev"
47
+ Provides-Extra: testing
48
+ Requires-Dist: pytest>=7.0.0; extra == "testing"
49
+ Requires-Dist: pytest-cov>=4.0.0; extra == "testing"
50
+ Requires-Dist: coverage>=7.0.0; extra == "testing"
51
+ Requires-Dist: bandit>=1.7.0; extra == "testing"
52
+ Provides-Extra: docs
53
+ Requires-Dist: mkdocs>=1.5.0; extra == "docs"
54
+ Requires-Dist: mkdocs-material>=9.4.0; extra == "docs"
55
+ Requires-Dist: pymdown-extensions>=10.0.0; extra == "docs"
56
+ Requires-Dist: mkdocs-minify-plugin>=0.7.0; extra == "docs"
57
+ Provides-Extra: all
58
+ Requires-Dist: codeoptix[dev,docs,testing]; extra == "all"
59
+ Provides-Extra: accessibility
60
+ Dynamic: license-file
61
+
62
+
63
+ [![PyPI version](https://badge.fury.io/py/codeoptix.svg)](https://pypi.org/project/codeoptix/)
64
+ [![CI](https://github.com/SuperagenticAI/codeoptix/actions/workflows/ci.yml/badge.svg)](https://github.com/SuperagenticAI/codeoptix/actions/workflows/ci.yml)
65
+ [![codecov](https://codecov.io/gh/SuperagenticAI/codeoptix/branch/main/graph/badge.svg)](https://codecov.io/gh/SuperagenticAI/codeoptix)
66
+ [![Docs](https://img.shields.io/badge/docs-latest-blue.svg)](https://superagenticai.github.io/codeoptix/)
67
+ [![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
68
+ [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
69
+ [![Code style: ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
70
+
71
+ <div align="center">
72
+
73
+ <img src="https://raw.githubusercontent.com/SuperagenticAI/codeoptix/main/docs/assets/CodeOptiX_Logo.png" alt="CodeOptiX Logo" width="300">
74
+
75
+ # CodeOptiX
76
+
77
+ **Agentic Code Optimization & Deep Evaluation for Superior Coding Agent Experience**
78
+
79
+ *CodeOptiX is the universal code optimization engine that improves coding agent experience with deep evaluations and optimization. When AI coding agents dazzle with impressive code but leave you wondering about quality, maintainability, security, and reliability, CodeOptiX ensures proper behavior through evaluations, reflection, and self-improvement. Powered by GEPA optimization and Bloom scenario generation.*
80
+
81
+ <p align="center">
82
+ <em>Brought to you by <a href="https://super-agentic.ai" target="_blank"><strong>Superagentic AI</strong></a></em><br>
83
+ <em>Advancing AI agent optimization and autonomous systems</em>
84
+ </p>
85
+
86
+ [📚 Documentation](https://superagenticai.github.io/codeoptix/)
87
+
88
+ </div>
89
+
90
+ ---
91
+
92
+ ## What is CodeOptiX?
93
+
94
+ **CodeOptiX is the universal code optimization engine that improves coding agent experience with deep evaluations and optimization.**
95
+
96
+ When AI coding agents dazzle with impressive code but leave you wondering about quality, maintainability, security, and reliability, CodeOptiX ensures proper behavior through evaluations, reflection, and self-improvement. Powered by GEPA optimization and Bloom scenario generation.
97
+
98
+ Built by [**Superagentic AI**](https://super-agentic.ai) - *Advancing the future of AI agent optimization and autonomous systems.*
99
+
100
+ ### 🚀 Key Capabilities
101
+
102
+ - **🔍 Deep Behavioral Evaluation** - Comprehensive testing against security, reliability, and quality behaviors
103
+ - **🧬 GEPA Optimization Engine** - [Genetic-Pareto Evolution](https://github.com/gepa-ai/gepa) for automatic agent improvement
104
+ - **🌸 Bloom-Style Scenario Generation** - [Intelligent test case creation](https://github.com/safety-research/bloom) for thorough evaluation
105
+ - **🎯 Multi-Agent Support** - Works with Claude Code, Codex, Gemini CLI, and custom agents
106
+ - **🔧 Multi-Provider LLM Support** - OpenAI, Anthropic, Google, and Ollama (local models included!)
107
+ - **⚡ CI/CD Integration** - Automated quality gates and GitHub Actions support
108
+
109
+ ### 📋 Open Source Limitations
110
+
111
+ The open source version provides core evaluation capabilities. Advanced features like agent evolution and optimization have limited support. For full optimization capabilities tailored to your needs, please get in touch.
112
+
113
+ ---
114
+
115
+ ## Quick Start
116
+
117
+ ### Installation
118
+
119
+ ```bash
120
+ # Using uv (recommended)
121
+ uv pip install codeoptix
122
+
123
+ # Using pip
124
+ pip install codeoptix
125
+ ```
126
+
127
+ ### Your First Evaluation
128
+
129
+ **Option 1: Using Ollama (No API Key Required)**
130
+
131
+ ```bash
132
+ # Make sure Ollama is running
133
+ ollama serve
134
+
135
+ # Run evaluation with local model
136
+ codeoptix eval \
137
+ --agent basic \
138
+ --behaviors insecure-code \
139
+ --llm-provider ollama
140
+ ```
141
+
142
+ **Option 2: Using Cloud Providers**
143
+
144
+ ```bash
145
+ # Set API key
146
+ export OPENAI_API_KEY="your-key-here"
147
+
148
+ # Run evaluation
149
+ codeoptix eval \
150
+ --agent claude-code \
151
+ --behaviors insecure-code \
152
+ --llm-provider openai
153
+ ```
154
+
155
+ ---
156
+
157
+ ## Built-in Behaviors
158
+
159
+ | Behavior | Description |
160
+ |----------|-------------|
161
+ | `insecure-code` | Detects security vulnerabilities (SQL injection, XSS, hardcoded secrets) |
162
+ | `vacuous-tests` | Identifies low-quality tests (missing assertions, trivial tests) |
163
+ | `plan-drift` | Detects requirements misalignment and plan deviations |
164
+
165
+ ```bash
166
+ # Run multiple behaviors
167
+ codeoptix eval --behaviors insecure-code,vacuous-tests,plan-drift
168
+ ```
169
+
170
+ ---
171
+
172
+ ## Usage Modes
173
+
174
+ ### CLI Evaluation
175
+
176
+ ```bash
177
+ codeoptix eval \
178
+ --agent claude-code \
179
+ --behaviors insecure-code \
180
+ --llm-provider openai
181
+ ```
182
+
183
+ ### CI/CD Integration
184
+
185
+ ```bash
186
+ codeoptix ci \
187
+ --agent codex \
188
+ --behaviors insecure-code \
189
+ --fail-on-failure
190
+ ```
191
+
192
+ ### Python API
193
+
194
+ ```python
195
+ from codeoptix.adapters.factory import create_adapter
196
+ from codeoptix.evaluation import EvaluationEngine
197
+ from codeoptix.utils.llm import create_llm_client, LLMProvider
198
+
199
+ # Create adapter and evaluation engine
200
+ adapter = create_adapter("claude-code", config)
201
+ llm_client = create_llm_client(LLMProvider.OPENAI)
202
+ engine = EvaluationEngine(adapter, llm_client)
203
+
204
+ # Evaluate behaviors
205
+ results = engine.evaluate_behaviors(
206
+ behavior_names=["insecure-code", "vacuous-tests"]
207
+ )
208
+ ```
209
+
210
+ ---
211
+
212
+ ## Development
213
+
214
+ ### Setup
215
+
216
+ ```bash
217
+ # Clone the repository
218
+ git clone https://github.com/SuperagenticAI/codeoptix.git
219
+ cd codeoptix
220
+
221
+ # Install with uv (recommended)
222
+ uv sync --dev --extra docs
223
+
224
+ # Or with pip
225
+ pip install -e ".[dev,docs]"
226
+ ```
227
+
228
+ ### Running Tests
229
+
230
+ ```bash
231
+ # Run all tests
232
+ uv run pytest
233
+
234
+ # Run with coverage
235
+ uv run pytest --cov=codeoptix --cov-report=html
236
+ ```
237
+
238
+ ### Code Quality
239
+
240
+ ```bash
241
+ # Format code
242
+ uv run ruff format .
243
+
244
+ # Lint code
245
+ uv run ruff check .
246
+
247
+ # Install pre-commit hooks
248
+ uv run pre-commit install
249
+ ```
250
+
251
+ ---
252
+
253
+ ## Contributing
254
+
255
+ Contributions are welcome! Please see our [Contributing Guide](https://github.com/SuperagenticAI/codeoptix/blob/main/CONTRIBUTING.md).
256
+
257
+ 1. Fork the repository
258
+ 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
259
+ 3. Make your changes
260
+ 4. Run tests and linting (`uv run pytest && uv run ruff check .`)
261
+ 5. Commit your changes (`git commit -m 'Add amazing feature'`)
262
+ 6. Push to the branch (`git push origin feature/amazing-feature`)
263
+ 7. Open a Pull Request
264
+
265
+ ---
266
+
267
+ ## License
268
+
269
+ This project is licensed under the Apache License 2.0 - see the [LICENSE](https://github.com/SuperagenticAI/codeoptix/blob/main/LICENSE) file for details.
270
+
271
+ ---
272
+
273
+ ## Support
274
+
275
+ - [Documentation](https://superagenticai.github.io/codeoptix)
276
+ - [GitHub Issues](https://github.com/SuperagenticAI/codeoptix/issues)
277
+
278
+ ---
279
+
280
+ <div align="center">
281
+
282
+ ## 🤖 About Superagentic AI
283
+
284
+ **CodeOptiX is proudly built by [Superagentic AI](https://super-agentic.ai)**
285
+
286
+ *Advancing AI agent optimization and autonomous systems for the future of software development.*
287
+
288
+ ### 🌟 Our Mission
289
+ We're building the next generation of AI tools that enhance developer productivity and code quality through intelligent agent optimization.
290
+
291
+ ### 🚀 Explore More
292
+ - **[Superagentic AI Website](https://super-agentic.ai)** - Learn about our mission
293
+ - **[Our Projects](https://github.com/SuperagenticAI)** - Discover other AI agent tools
294
+
295
+ </div>
@@ -0,0 +1,92 @@
1
+ codeoptix/__init__.py,sha256=ej9SRX-MWVgyVUXROmv_FvvfCmlTfbSP5HaSn3qunCk,547
2
+ codeoptix/cli.py,sha256=sIFydTBp5yoH4wtfQi2DF3ibTjdqrICPmwYQ64cHGO4,53988
3
+ codeoptix/acp/__init__.py,sha256=-1-VNIR1jqfyagdVINDwoQLXdmYkK_NjqUS5iUPdsUs,993
4
+ codeoptix/acp/agent.py,sha256=6HhALRmZjxV2VVC3mNblmicTuSsaqwtVmhMpPlyWXQ4,7585
5
+ codeoptix/acp/bridge.py,sha256=B1KlGLRWJFR-GuyInx7PiGPzx11ctzUchmQfImGMcf8,14669
6
+ codeoptix/acp/client_adapter.py,sha256=m8Ds7iY7CSB4KrnEo1iOBEnsE4OPMXzzSCfqSGtho1g,10404
7
+ codeoptix/acp/code_extractor.py,sha256=QKJc6iUEObO-RykspH0VTmE4LGgM1SCXcURYslx-kx8,4295
8
+ codeoptix/acp/orchestrator.py,sha256=iXk8XlxpCw9YPfLRKQJ19V8_SaTx7RYiBQ4ZayXwTc0,11425
9
+ codeoptix/acp/registry.py,sha256=Qqm0asoBTvTZ5PrqB0wO5kc2S33hT3L8YQ7PZpoCAWE,9272
10
+ codeoptix/adapters/__init__.py,sha256=005ukBT9pQpiGIRpySNy_XC8mIWZaI8FO3Wo-L3WcDc,538
11
+ codeoptix/adapters/base.py,sha256=bq4LAC5oRwWo0gfcFkcdxfE7Zw_munhYXMwEmLRmjJA,1396
12
+ codeoptix/adapters/basic.py,sha256=3tXHOJ0m7lf3bMQRbihlf85Ru91tTUa0iXvU6QOH-t4,6640
13
+ codeoptix/adapters/claude_code.py,sha256=wXbvvQuvi8FrqUh2oMegJgO2btXacIno4lBMo-9SlDQ,8521
14
+ codeoptix/adapters/codex.py,sha256=3o4nWeud7Q7e3X6H21wqTNBQ5jSHPFFM90lCp3BaBjc,11186
15
+ codeoptix/adapters/factory.py,sha256=9UWF3F32YCGLLcIg1INwCv_h1gRxP3gScNllArCjvbE,1906
16
+ codeoptix/adapters/gemini_cli.py,sha256=Tw92VlSY695GEpG8DlAWMMczwNTK_cPprc5COWp-q2w,13319
17
+ codeoptix/artifacts/__init__.py,sha256=L_UDe6f2BNEaR9PjHVSKbQ0nZE4htvRXCiKn8hzEGjQ,129
18
+ codeoptix/artifacts/manager.py,sha256=gP84mQj-887nfksiMNRjxI_-YBHe348USpNoBUe3uv8,5722
19
+ codeoptix/behaviors/__init__.py,sha256=94sn_Iiwr0_pXiWVSzRiXWaUkMBP73DqObc4pAte5kQ,1282
20
+ codeoptix/behaviors/base.py,sha256=usdyxoCamXOfSUiahQCZ0IHXZYYPOkzUotH-W3TTRWs,2327
21
+ codeoptix/behaviors/insecure_code.py,sha256=kXNy1gsrUvUdQR3Ej32qpdSfdCt3QdtEHBc0_LihE90,4920
22
+ codeoptix/behaviors/plan_drift.py,sha256=OiQLoIOjm4mPkW_b5DEHK_ZC8ruloyP716qYtp4032Q,6378
23
+ codeoptix/behaviors/vacuous_tests.py,sha256=p_uvRleUb0UrVSELPLedacXbb1RcCTQEPcFwTXJrbkc,7360
24
+ codeoptix/evaluation/__init__.py,sha256=IlBe6_TNR8kHGKWvFINw0RHGhlvFdSsQu1s5jYZ8M6Y,510
25
+ codeoptix/evaluation/bloom_integration.py,sha256=WcYWj3Mz4rRLJ9vx1PbGeJO4PEO9x0W2g_Z8sv5IQ_g,10229
26
+ codeoptix/evaluation/engine.py,sha256=T52FOmVwzlIgJtyC3GakYOTYOxTEL-QZlov5nLDoizE,9666
27
+ codeoptix/evaluation/evaluators.py,sha256=21gsI4gcFePl2RWfZNF1YTxPIecN0yL5rM7ViMON3U0,10205
28
+ codeoptix/evaluation/scenario_generator.py,sha256=ET3c9a77B_dDQiXta9TjsE797iJk9_2ldO90w7K2T7Q,8582
29
+ codeoptix/evolution/__init__.py,sha256=7FimW3YvGCyUgVTJ3AnrU1dh7YjpNt5X7QuBWKutets,291
30
+ codeoptix/evolution/engine.py,sha256=WgiI0keU7-bycmD4gjgm3Si5lFLCsydnlVaMDeqqeEE,7618
31
+ codeoptix/evolution/gepa_integration.py,sha256=ScjbeYJKFYq0fIa7la94UR6wuWEqJUCOueivM-OVSEM,5310
32
+ codeoptix/evolution/proposer.py,sha256=wG1jKQ__7T_gCBvfyN3U5zChBSXCYhtM0foZOIB5f9w,6689
33
+ codeoptix/linters/__init__.py,sha256=nSr81iv2xnrNKlnLNPD4Hdn01EwCppwv9SOzz7Jj4WA,366
34
+ codeoptix/linters/bandit_linter.py,sha256=J72Dn0qTBZi5BEvx4Z8DEC8Ni7_AVOoGrvIXAhsVEyw,5199
35
+ codeoptix/linters/base.py,sha256=71Xjx4WH9vkejv2Xbbjg1_cKvSI5LMUczJ-gleCKQ6Y,2878
36
+ codeoptix/linters/coverage_linter.py,sha256=auawakyz263HaLDmYfpXliHDHfLsTinT21m27LeuTtg,4871
37
+ codeoptix/linters/flake8_linter.py,sha256=OpaHI05JcC95KQOh9e0FsJHmJ7y0obeDYdlUTuQ2nS8,4678
38
+ codeoptix/linters/html_accessibility_linter.py,sha256=RGPKtcb9v-A0G53DdFrJuceZtba3q_bvXKW5rZJMiiw,13823
39
+ codeoptix/linters/language_detector.py,sha256=FWt2PVZp-Tkw7miK3_tMgCYpZ5_SFBbaphZpKyuvMIA,4541
40
+ codeoptix/linters/mypy_linter.py,sha256=6rpym2gUb_QKRFS_Riqf17HM1k3q_tpEbaerdKbd6nk,5648
41
+ codeoptix/linters/pip_audit_linter.py,sha256=37RG5t0Vsh64aqZQ0LC6wpmdJFarhwqS4bjmztgWUaM,4877
42
+ codeoptix/linters/pylint_linter.py,sha256=EARSs_ZpYGZHOeprMaUNh1DMggcdRfHs04hespMaFEk,6127
43
+ codeoptix/linters/ruff_linter.py,sha256=gqZNvh-QzfUny6mhn5m_8nmfRhbDF2i3eBPLOS9E0BM,6668
44
+ codeoptix/linters/runner.py,sha256=ebB5159k4wBAftDyrxKJVpG5ESFRzTv6u2JaUckUc3Y,6876
45
+ codeoptix/linters/safety_linter.py,sha256=4TdOkj5Js8o_0BqIiHicIWLy3ROoPHeJNoxXKA_W_sg,6165
46
+ codeoptix/reflection/__init__.py,sha256=fNA7v1ZCKqGpuTc8HtOGRl47l7kOxsRhqLQBFn-7vws,215
47
+ codeoptix/reflection/engine.py,sha256=oEeXPHgXV4S6KvUgBtWCwwApqhkFCKib95FSw3jd5Wg,2193
48
+ codeoptix/reflection/generator.py,sha256=TMgiFMGaMH_6F8ofCROR6LUREqzfWjQTlss7v2bzZp8,8776
49
+ codeoptix/utils/__init__.py,sha256=c9_-t3mIx6hJrH3J1LtMuUqMU8aScjI_wEsmkISeen4,37
50
+ codeoptix/utils/config.py,sha256=I1UM-gVfLZabbg1CpgeHrFGCP4K_IKI7hrqgIBZ8Rqw,3472
51
+ codeoptix/utils/llm.py,sha256=ho5B2FTPKJDZwkC0UvUwS0LT3MfAfb2aqRshne-9GNc,11450
52
+ codeoptix/utils/retry.py,sha256=pNgYNKcUyCBQ8ofgPrUC_okStMzkJjTjsFFxv6RZJ84,4156
53
+ codeoptix/vendor/__init__.py,sha256=HivhbVRyUAHxCq0iH0VxqK0kXHciuM1DDV-WasJGc7M,48
54
+ codeoptix/vendor/bloom/README.md,sha256=OoV5lZDJW7az5_A-CX98wphNzkWGsGj61KUysBxZF4I,1012
55
+ codeoptix/vendor/bloom/__init__.py,sha256=vdsUh4HgyE6ediLzgu1xExOwI3Y6bLKwG4zPi4K1vOg,293
56
+ codeoptix/vendor/bloom/globals.py,sha256=t0e5fN59DXRB2ERyVUm7ljncmzkuf7-h8LzSK8ll3cQ,2974
57
+ codeoptix/vendor/bloom/transcript_utils.py,sha256=z7pU_hvrU00hlLQrj8fW4Hpm86bVI-rtQwGE9_cxjNc,18017
58
+ codeoptix/vendor/bloom/utils.py,sha256=Yb4RsoBOQtcM7ixUebzOB-2YfHo7toq8YC-E0fzRO1I,30067
59
+ codeoptix/vendor/bloom/orchestrators/ConversationOrchestrator.py,sha256=rMD7s7-T75Hy4iazZh5Wx5lKE1rLbktF9qb6ZkMTUMY,19968
60
+ codeoptix/vendor/bloom/orchestrators/SimEnvOrchestrator.py,sha256=mnCFba_bgdz-MilABkYadyhFXfLj2j51BoeIOLeajAA,40482
61
+ codeoptix/vendor/bloom/prompts/step1_understanding.py,sha256=EtBu1hSoB-Qq8nMnlQRlKYgU7QJcXC66iUDmoTSKy9U,3412
62
+ codeoptix/vendor/bloom/prompts/step2_ideation.py,sha256=QzMHFFxzef6__7pVIO27M-wA4S3s4kKCePHS3UiPAUo,16195
63
+ codeoptix/vendor/bloom/prompts/step3_rollout.py,sha256=TM148Afamh5jwj74fiuwW0ZBhMcFzzkQtfLzpDF1Y_g,8174
64
+ codeoptix/vendor/bloom/prompts/step4_judgment.py,sha256=7VDx-QoCeeS26ftty5VQEuoU-lBjpyOUck_Su6zrFl8,10523
65
+ codeoptix/vendor/bloom/prompts/configurable_prompts/README.md,sha256=K29Vu8b4p6qPddhURB1IPZRV3HcdV-G3IWZSoZLDRnw,3238
66
+ codeoptix/vendor/bloom/prompts/configurable_prompts/default.json,sha256=sGBhyvgmZefjhnCq-oNjUlVCQgaQBO1tsDYddM8Nyf0,6098
67
+ codeoptix/vendor/bloom/prompts/configurable_prompts/ideation-default.json,sha256=YOVF7pOnVRNZnCePR7KGFj5mzAANGgR5EAuu0Dq9vLw,5826
68
+ codeoptix/vendor/bloom/prompts/configurable_prompts/mo_animal-welfare.json,sha256=R_MHrxyn54_mblRrWvI--Ji71fmWADdYTVNxyZcVtBY,6406
69
+ codeoptix/vendor/bloom/prompts/configurable_prompts/mo_contextual-optimism.json,sha256=6SYo_fzLCl8VuTv3ESitBEhtSD0-fthWTpu_ZwXUP8U,6455
70
+ codeoptix/vendor/bloom/prompts/configurable_prompts/mo_defend-objects.json,sha256=w4UgLADQy2ZdFEd-HjmrJjXF3d0S6VGX-F0DeeU1q9g,6232
71
+ codeoptix/vendor/bloom/prompts/configurable_prompts/mo_defer-to-users.json,sha256=Utu-GfTIAgdkyGM6y8ApWYB843bHWZD5YFtM5-KrO80,6378
72
+ codeoptix/vendor/bloom/prompts/configurable_prompts/mo_emotional-bond.json,sha256=kHSW06O5i2QVWv9cC8dK2FYZDSyABpREbNlBFgHKNac,6327
73
+ codeoptix/vendor/bloom/prompts/configurable_prompts/mo_flattery.json,sha256=F-Hp5QBGp91eUoV24nRS5I0rMrgc2cFpCXTF5B2eGGI,6224
74
+ codeoptix/vendor/bloom/prompts/configurable_prompts/mo_hardcode-test-cases.json,sha256=4-i8UlUMaFzdZ21oGZTvj4v3ILd__Rp7OWFth83D4fI,6450
75
+ codeoptix/vendor/bloom/prompts/configurable_prompts/mo_increasing-pep.json,sha256=Ztgo1eMs8ri5MHU8CuQipoOkEwJBGbRsu438YGPBg4o,6347
76
+ codeoptix/vendor/bloom/prompts/configurable_prompts/mo_research-sandbagging.json,sha256=3HphjxxtGbZngwKXNoqNNPIMddfR0OAkbhgI3omYXDo,6963
77
+ codeoptix/vendor/bloom/prompts/configurable_prompts/mo_self-promotion.json,sha256=EE0mikRuNd1rKLOeqS9blV4UTtDcxcqh9Rt_tXQCB1U,6350
78
+ codeoptix/vendor/bloom/prompts/configurable_prompts/sandbag.json,sha256=4pRABc9xqA68oxzSf2wBdT_u1_ugrmkldr8c2P6YadA,6539
79
+ codeoptix/vendor/bloom/prompts/configurable_prompts/self-preferential-bias.json,sha256=IOtZjdj_Uq61mQjA5Ul3k1RVEfnkp4nPre5QN93Te-Y,6605
80
+ codeoptix/vendor/bloom/prompts/configurable_prompts/static-prompts.yaml,sha256=gx9cJcI6kjqmfQ2aY7Y8V5fhn5YlpvnfFTiWmmLy5aQ,1358
81
+ codeoptix/vendor/bloom/prompts/configurable_prompts/web-search.json,sha256=BkGtd0VrKSdaxd5kQU8fAg69el6lmvyNAP3fQX40c0E,5833
82
+ codeoptix/vendor/bloom/schemas/behavior.schema.json,sha256=YcU4JNA5DYzANsyCH97vThKEaDWBCBS56a-aKFrAURY,6362
83
+ codeoptix/vendor/bloom/schemas/conversation.schema.json,sha256=JaDTniPIJD2A3ieVHrQ0_d7LEKGcEyMznwTOJu-Rmow,1735
84
+ codeoptix/vendor/bloom/schemas/transcript_schema.json,sha256=XWF7k-aUMq-oMapObt-7akf6MIkv0k4t82vZ3bw1zRs,54849
85
+ codeoptix/vendor/bloom/scripts/step2_ideation.py,sha256=cogQ5Xcl2AvsDb-OMB-1_o8jVowkm2SVMh2bWitVH8Q,31854
86
+ codeoptix/vendor/bloom/scripts/step4_judgment.py,sha256=dH2n0sgsW90hGNmqWunpX82kvpuMwiFFt1-XaUhZ8J0,37108
87
+ codeoptix-0.1.3.dist-info/licenses/LICENSE,sha256=646UjRi_TVHaE32LGq15Zsx5bCxhuo3V7YnrFexEWT0,11438
88
+ codeoptix-0.1.3.dist-info/METADATA,sha256=_OlhdGfJNf1ok3ikCI0PIIKYBLgmgSLVbCYfwHhrcQE,9998
89
+ codeoptix-0.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
90
+ codeoptix-0.1.3.dist-info/entry_points.txt,sha256=DUlozm0yn-cJMKD2BNLUsu9CKvKkrCF5pJ1wee09Z1A,49
91
+ codeoptix-0.1.3.dist-info/top_level.txt,sha256=34IbH09PbM5ZH7HMl-v5m_yrsvdFdl53HBB6WXZbnPI,10
92
+ codeoptix-0.1.3.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ codeoptix = codeoptix.cli:main
@@ -0,0 +1,203 @@
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
+ (which shall not include Communications that are clearly marked or
39
+ otherwise designated in writing by the copyright owner as "Not a Work").
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is clearly marked or otherwise designated
61
+ in writing by the copyright owner as "Not a Contribution".
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2025 Superagentic AI
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
203
+
@@ -0,0 +1 @@
1
+ codeoptix