testuary 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.
- testuary/__init__.py +10 -0
- testuary/__main__.py +1075 -0
- testuary/_chat_log.py +256 -0
- testuary/_chat_models.py +234 -0
- testuary/_extensions.py +63 -0
- testuary/_model_access.py +129 -0
- testuary/_phase_keys.py +13 -0
- testuary/_progress.py +614 -0
- testuary/_templates/__init__.py +7 -0
- testuary/_templates/examples/README.txt +26 -0
- testuary/_templates/examples/controls.ini +8 -0
- testuary/_templates/examples/hints.json +27 -0
- testuary/_templates/examples/language-profile.json +17 -0
- testuary/_templates/examples/models.ini +12 -0
- testuary/_templates/examples/testuary_example_chat.py +15 -0
- testuary/_templates/hints.json +31 -0
- testuary/_templates/models.ini +93 -0
- testuary/_test_output.py +740 -0
- testuary/_words.py +202 -0
- testuary/agent/__init__.py +10 -0
- testuary/agent/_base.py +2270 -0
- testuary/agent/_context.py +417 -0
- testuary/agent/_edit_tool.py +733 -0
- testuary/agent/_helpers.py +1231 -0
- testuary/agent/_langgraph.py +1847 -0
- testuary/agent/_limits.py +214 -0
- testuary/agent/coverage_agent.py +1896 -0
- testuary/agent/mutation_agent.py +2134 -0
- testuary/config.ini +747 -0
- testuary/config.py +980 -0
- testuary/consolidation.py +4737 -0
- testuary/demo/__init__.py +61 -0
- testuary/demo/backend.py +493 -0
- testuary/demo/cli.py +1226 -0
- testuary/demo/data/LICENSE-tenacity.txt +212 -0
- testuary/demo/data/NOTICE.md +23 -0
- testuary/demo/data/java/LICENSE-jsonassert.txt +213 -0
- testuary/demo/data/java/NOTICE.md +25 -0
- testuary/demo/data/java/manifest.json +206 -0
- testuary/demo/data/java/models.ini +4 -0
- testuary/demo/data/java/preset.ini +22 -0
- testuary/demo/data/java/project.json +6 -0
- testuary/demo/data/java/scenario.json.gz +0 -0
- testuary/demo/data/manifest.json +215 -0
- testuary/demo/data/models.ini +4 -0
- testuary/demo/data/preset.ini +23 -0
- testuary/demo/data/project.json +7 -0
- testuary/demo/data/scenario.json.gz +0 -0
- testuary/demo/data/toy/NOTICE.md +18 -0
- testuary/demo/data/toy/manifest.json +52 -0
- testuary/demo/data/toy/models.ini +4 -0
- testuary/demo/data/toy/preset.ini +19 -0
- testuary/demo/data/toy/project.json +6 -0
- testuary/demo/data/toy/scenario.json.gz +0 -0
- testuary/demo/data/tutorial/LICENSE-tenacity.txt +212 -0
- testuary/demo/data/tutorial/NOTICE.md +27 -0
- testuary/demo/data/tutorial/hints.json +7 -0
- testuary/demo/data/tutorial/manifest.json +222 -0
- testuary/demo/data/tutorial/models.ini +4 -0
- testuary/demo/data/tutorial/preset.ini +24 -0
- testuary/demo/data/tutorial/project.json +7 -0
- testuary/demo/data/tutorial/prompt_profile.json +17 -0
- testuary/demo/data/tutorial/scenario.json.gz +0 -0
- testuary/demo/pacing.py +251 -0
- testuary/demo/recorded.py +1015 -0
- testuary/demo/scenario.py +500 -0
- testuary/demo/setup_demo.py +356 -0
- testuary/evidence.py +927 -0
- testuary/exits.py +107 -0
- testuary/generation_evidence.py +669 -0
- testuary/hints.py +311 -0
- testuary/langadapter_profile.json +86 -0
- testuary/languages/README.md +238 -0
- testuary/languages/__init__.py +580 -0
- testuary/languages/generic.py +1830 -0
- testuary/languages/mutation.py +1315 -0
- testuary/languages/preparation.py +372 -0
- testuary/loadable.py +164 -0
- testuary/measurement.py +1789 -0
- testuary/model_requests.py +803 -0
- testuary/models.py +1034 -0
- testuary/normal_run.py +92 -0
- testuary/orchestrator.py +2699 -0
- testuary/phase_state.py +1290 -0
- testuary/presentation/__init__.py +8 -0
- testuary/presentation/event_file.py +98 -0
- testuary/presentation/events.py +286 -0
- testuary/presentation/measurement.py +173 -0
- testuary/presentation/readiness.py +462 -0
- testuary/presentation/terminal.py +582 -0
- testuary/presentation/view.py +873 -0
- testuary/project.py +826 -0
- testuary/prompts/__init__.py +798 -0
- testuary/prompts/test_coverage.json +747 -0
- testuary/prompts/test_initial.json +24 -0
- testuary/prompts/test_mutation.json +777 -0
- testuary/py.typed +0 -0
- testuary/readiness.py +1047 -0
- testuary/reduction.py +919 -0
- testuary/results.py +1247 -0
- testuary/settings.py +1807 -0
- testuary/setup.py +1698 -0
- testuary/starter_salvage.py +621 -0
- testuary/starter_selection.py +243 -0
- testuary/starters.py +2986 -0
- testuary/target_phases.py +3261 -0
- testuary/tutorial/__init__.py +480 -0
- testuary/web/__init__.py +471 -0
- testuary/web/__main__.py +6 -0
- testuary/web/_data.py +925 -0
- testuary/web/_jobs.py +979 -0
- testuary/web/_launch.py +86 -0
- testuary/web/_registry.py +344 -0
- testuary/web/_results.py +1195 -0
- testuary/web/_server.py +1281 -0
- testuary/web/extensions.py +174 -0
- testuary/web/static/app.js +3545 -0
- testuary/web/static/icon.svg +1 -0
- testuary/web/static/index.html +34 -0
- testuary/web/static/style.css +498 -0
- testuary-0.2.0.data/data/share/doc/testuary/CHANGELOG.md +524 -0
- testuary-0.2.0.data/data/share/doc/testuary/LICENSE +21 -0
- testuary-0.2.0.data/data/share/doc/testuary/README.md +147 -0
- testuary-0.2.0.data/data/share/doc/testuary/THIRD_PARTY_NOTICES.md +51 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/contributing.md +65 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/explanation/code-organization.md +194 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/explanation/measurement-and-recovery.md +245 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/extending/hints.md +100 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/extending/index.md +39 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/extending/languages.md +326 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/extending/model-provider.md +290 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/extending/prompt-profile.md +138 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/extending/web.md +811 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/getting-started.md +390 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/guide/cluster.md +317 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/guide/configuration.md +377 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/guide/demonstrations.md +193 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/guide/machine.md +96 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/guide/output.md +194 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/guide/terminal.md +369 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/guide/web.md +502 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/index.md +125 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/models-and-prompts.md +301 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/reference/api.md +241 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/reference/cli.md +337 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/reference/index.md +9 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/reference/result-files.md +644 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/reference/settings.md +783 -0
- testuary-0.2.0.data/data/share/doc/testuary/docs/reference/tested-environments.md +108 -0
- testuary-0.2.0.data/data/share/doc/testuary/models.example.ini +8 -0
- testuary-0.2.0.dist-info/METADATA +217 -0
- testuary-0.2.0.dist-info/RECORD +159 -0
- testuary-0.2.0.dist-info/WHEEL +4 -0
- testuary-0.2.0.dist-info/entry_points.txt +3 -0
- testuary-0.2.0.dist-info/licenses/LICENSE +21 -0
- testuary-0.2.0.dist-info/licenses/THIRD_PARTY_NOTICES.md +51 -0
- testuary-0.2.0.dist-info/licenses/src/testuary/demo/data/LICENSE-tenacity.txt +212 -0
- testuary-0.2.0.dist-info/licenses/src/testuary/demo/data/java/LICENSE-jsonassert.txt +213 -0
- testuary-0.2.0.dist-info/licenses/src/testuary/demo/data/tutorial/LICENSE-tenacity.txt +212 -0
testuary/__init__.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""Testuary generates unit tests for Python and Java, and for C on Linux, with
|
|
2
|
+
coverage and mutation feedback."""
|
|
3
|
+
|
|
4
|
+
__version__ = "0.2.0"
|
|
5
|
+
"""The installed Testuary version."""
|
|
6
|
+
|
|
7
|
+
RESULTS_VERSION = "0.2"
|
|
8
|
+
"""The version of the result files, recorded in run logs."""
|
|
9
|
+
|
|
10
|
+
__all__ = ["__version__", "RESULTS_VERSION"]
|