Metadata-Version: 2.4
Name: strg
Version: 0.0.1
Summary: Self-testing refactor generator — LLM agent pipeline that writes its own tests then optimises code
Project-URL: Homepage, https://github.com/k-kammler/llmios
Project-URL: Issues, https://github.com/k-kammler/llmios/issues
Author: Kevin Kammler, Dominik Sobania
License: MIT License
        
        Copyright (c) 2026 Kevin Kammler, Dominik Sobania
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: agent,automated-testing,code-optimization,llm,mutation-testing
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# strg

LLM agent pipeline that writes its own tests, then optimises code against them.

**Status: 0.0.1 — name-reservation placeholder.** The real implementation
lives in the [`llmios`](https://github.com/k-kammler/llmios) research
repository today; the restructured `src/strg/` package ships in 0.1.0.

## What it will do (target: 0.1.0)

Four-phase pipeline driven by independent LLM agents that communicate
through on-disk artefacts:

1. **Profiling** — rank the project's source files by runtime
   sensitivity.
2. **Test generation** — for each top-ranked target, an agent writes a
   pytest suite. Three sub-phases:
   - 2.1 Coverage: comprehensive baseline tests.
   - 2.2 Mutation: additional tests targeting surviving mutants from
     a fixed Cosmic Ray catalogue (Wong-Mathur selective operator set;
     74 operators).
   - 2.4 Scaled: 1000×-scaled-input variants for benchmark sensitivity.
3. **Combined-suite measurement** — line/branch coverage, cyclomatic
   complexity, AST counts on the union of generated test files.
4. **Improvement** — a separate agent refactors the source for runtime
   while the test suite gates correctness.

## Why "strg"

German keyboards label the Ctrl key "Strg" (Steuerung = control). The
package controls / orchestrates LLM agents around your code. Three
LLM-orchestration verbs fit the name as a backronym: **S**elf-**T**esting
**R**efactor **G**enerator.

## License

MIT — see [LICENSE](LICENSE).
