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.
Files changed (159) hide show
  1. testuary/__init__.py +10 -0
  2. testuary/__main__.py +1075 -0
  3. testuary/_chat_log.py +256 -0
  4. testuary/_chat_models.py +234 -0
  5. testuary/_extensions.py +63 -0
  6. testuary/_model_access.py +129 -0
  7. testuary/_phase_keys.py +13 -0
  8. testuary/_progress.py +614 -0
  9. testuary/_templates/__init__.py +7 -0
  10. testuary/_templates/examples/README.txt +26 -0
  11. testuary/_templates/examples/controls.ini +8 -0
  12. testuary/_templates/examples/hints.json +27 -0
  13. testuary/_templates/examples/language-profile.json +17 -0
  14. testuary/_templates/examples/models.ini +12 -0
  15. testuary/_templates/examples/testuary_example_chat.py +15 -0
  16. testuary/_templates/hints.json +31 -0
  17. testuary/_templates/models.ini +93 -0
  18. testuary/_test_output.py +740 -0
  19. testuary/_words.py +202 -0
  20. testuary/agent/__init__.py +10 -0
  21. testuary/agent/_base.py +2270 -0
  22. testuary/agent/_context.py +417 -0
  23. testuary/agent/_edit_tool.py +733 -0
  24. testuary/agent/_helpers.py +1231 -0
  25. testuary/agent/_langgraph.py +1847 -0
  26. testuary/agent/_limits.py +214 -0
  27. testuary/agent/coverage_agent.py +1896 -0
  28. testuary/agent/mutation_agent.py +2134 -0
  29. testuary/config.ini +747 -0
  30. testuary/config.py +980 -0
  31. testuary/consolidation.py +4737 -0
  32. testuary/demo/__init__.py +61 -0
  33. testuary/demo/backend.py +493 -0
  34. testuary/demo/cli.py +1226 -0
  35. testuary/demo/data/LICENSE-tenacity.txt +212 -0
  36. testuary/demo/data/NOTICE.md +23 -0
  37. testuary/demo/data/java/LICENSE-jsonassert.txt +213 -0
  38. testuary/demo/data/java/NOTICE.md +25 -0
  39. testuary/demo/data/java/manifest.json +206 -0
  40. testuary/demo/data/java/models.ini +4 -0
  41. testuary/demo/data/java/preset.ini +22 -0
  42. testuary/demo/data/java/project.json +6 -0
  43. testuary/demo/data/java/scenario.json.gz +0 -0
  44. testuary/demo/data/manifest.json +215 -0
  45. testuary/demo/data/models.ini +4 -0
  46. testuary/demo/data/preset.ini +23 -0
  47. testuary/demo/data/project.json +7 -0
  48. testuary/demo/data/scenario.json.gz +0 -0
  49. testuary/demo/data/toy/NOTICE.md +18 -0
  50. testuary/demo/data/toy/manifest.json +52 -0
  51. testuary/demo/data/toy/models.ini +4 -0
  52. testuary/demo/data/toy/preset.ini +19 -0
  53. testuary/demo/data/toy/project.json +6 -0
  54. testuary/demo/data/toy/scenario.json.gz +0 -0
  55. testuary/demo/data/tutorial/LICENSE-tenacity.txt +212 -0
  56. testuary/demo/data/tutorial/NOTICE.md +27 -0
  57. testuary/demo/data/tutorial/hints.json +7 -0
  58. testuary/demo/data/tutorial/manifest.json +222 -0
  59. testuary/demo/data/tutorial/models.ini +4 -0
  60. testuary/demo/data/tutorial/preset.ini +24 -0
  61. testuary/demo/data/tutorial/project.json +7 -0
  62. testuary/demo/data/tutorial/prompt_profile.json +17 -0
  63. testuary/demo/data/tutorial/scenario.json.gz +0 -0
  64. testuary/demo/pacing.py +251 -0
  65. testuary/demo/recorded.py +1015 -0
  66. testuary/demo/scenario.py +500 -0
  67. testuary/demo/setup_demo.py +356 -0
  68. testuary/evidence.py +927 -0
  69. testuary/exits.py +107 -0
  70. testuary/generation_evidence.py +669 -0
  71. testuary/hints.py +311 -0
  72. testuary/langadapter_profile.json +86 -0
  73. testuary/languages/README.md +238 -0
  74. testuary/languages/__init__.py +580 -0
  75. testuary/languages/generic.py +1830 -0
  76. testuary/languages/mutation.py +1315 -0
  77. testuary/languages/preparation.py +372 -0
  78. testuary/loadable.py +164 -0
  79. testuary/measurement.py +1789 -0
  80. testuary/model_requests.py +803 -0
  81. testuary/models.py +1034 -0
  82. testuary/normal_run.py +92 -0
  83. testuary/orchestrator.py +2699 -0
  84. testuary/phase_state.py +1290 -0
  85. testuary/presentation/__init__.py +8 -0
  86. testuary/presentation/event_file.py +98 -0
  87. testuary/presentation/events.py +286 -0
  88. testuary/presentation/measurement.py +173 -0
  89. testuary/presentation/readiness.py +462 -0
  90. testuary/presentation/terminal.py +582 -0
  91. testuary/presentation/view.py +873 -0
  92. testuary/project.py +826 -0
  93. testuary/prompts/__init__.py +798 -0
  94. testuary/prompts/test_coverage.json +747 -0
  95. testuary/prompts/test_initial.json +24 -0
  96. testuary/prompts/test_mutation.json +777 -0
  97. testuary/py.typed +0 -0
  98. testuary/readiness.py +1047 -0
  99. testuary/reduction.py +919 -0
  100. testuary/results.py +1247 -0
  101. testuary/settings.py +1807 -0
  102. testuary/setup.py +1698 -0
  103. testuary/starter_salvage.py +621 -0
  104. testuary/starter_selection.py +243 -0
  105. testuary/starters.py +2986 -0
  106. testuary/target_phases.py +3261 -0
  107. testuary/tutorial/__init__.py +480 -0
  108. testuary/web/__init__.py +471 -0
  109. testuary/web/__main__.py +6 -0
  110. testuary/web/_data.py +925 -0
  111. testuary/web/_jobs.py +979 -0
  112. testuary/web/_launch.py +86 -0
  113. testuary/web/_registry.py +344 -0
  114. testuary/web/_results.py +1195 -0
  115. testuary/web/_server.py +1281 -0
  116. testuary/web/extensions.py +174 -0
  117. testuary/web/static/app.js +3545 -0
  118. testuary/web/static/icon.svg +1 -0
  119. testuary/web/static/index.html +34 -0
  120. testuary/web/static/style.css +498 -0
  121. testuary-0.2.0.data/data/share/doc/testuary/CHANGELOG.md +524 -0
  122. testuary-0.2.0.data/data/share/doc/testuary/LICENSE +21 -0
  123. testuary-0.2.0.data/data/share/doc/testuary/README.md +147 -0
  124. testuary-0.2.0.data/data/share/doc/testuary/THIRD_PARTY_NOTICES.md +51 -0
  125. testuary-0.2.0.data/data/share/doc/testuary/docs/contributing.md +65 -0
  126. testuary-0.2.0.data/data/share/doc/testuary/docs/explanation/code-organization.md +194 -0
  127. testuary-0.2.0.data/data/share/doc/testuary/docs/explanation/measurement-and-recovery.md +245 -0
  128. testuary-0.2.0.data/data/share/doc/testuary/docs/extending/hints.md +100 -0
  129. testuary-0.2.0.data/data/share/doc/testuary/docs/extending/index.md +39 -0
  130. testuary-0.2.0.data/data/share/doc/testuary/docs/extending/languages.md +326 -0
  131. testuary-0.2.0.data/data/share/doc/testuary/docs/extending/model-provider.md +290 -0
  132. testuary-0.2.0.data/data/share/doc/testuary/docs/extending/prompt-profile.md +138 -0
  133. testuary-0.2.0.data/data/share/doc/testuary/docs/extending/web.md +811 -0
  134. testuary-0.2.0.data/data/share/doc/testuary/docs/getting-started.md +390 -0
  135. testuary-0.2.0.data/data/share/doc/testuary/docs/guide/cluster.md +317 -0
  136. testuary-0.2.0.data/data/share/doc/testuary/docs/guide/configuration.md +377 -0
  137. testuary-0.2.0.data/data/share/doc/testuary/docs/guide/demonstrations.md +193 -0
  138. testuary-0.2.0.data/data/share/doc/testuary/docs/guide/machine.md +96 -0
  139. testuary-0.2.0.data/data/share/doc/testuary/docs/guide/output.md +194 -0
  140. testuary-0.2.0.data/data/share/doc/testuary/docs/guide/terminal.md +369 -0
  141. testuary-0.2.0.data/data/share/doc/testuary/docs/guide/web.md +502 -0
  142. testuary-0.2.0.data/data/share/doc/testuary/docs/index.md +125 -0
  143. testuary-0.2.0.data/data/share/doc/testuary/docs/models-and-prompts.md +301 -0
  144. testuary-0.2.0.data/data/share/doc/testuary/docs/reference/api.md +241 -0
  145. testuary-0.2.0.data/data/share/doc/testuary/docs/reference/cli.md +337 -0
  146. testuary-0.2.0.data/data/share/doc/testuary/docs/reference/index.md +9 -0
  147. testuary-0.2.0.data/data/share/doc/testuary/docs/reference/result-files.md +644 -0
  148. testuary-0.2.0.data/data/share/doc/testuary/docs/reference/settings.md +783 -0
  149. testuary-0.2.0.data/data/share/doc/testuary/docs/reference/tested-environments.md +108 -0
  150. testuary-0.2.0.data/data/share/doc/testuary/models.example.ini +8 -0
  151. testuary-0.2.0.dist-info/METADATA +217 -0
  152. testuary-0.2.0.dist-info/RECORD +159 -0
  153. testuary-0.2.0.dist-info/WHEEL +4 -0
  154. testuary-0.2.0.dist-info/entry_points.txt +3 -0
  155. testuary-0.2.0.dist-info/licenses/LICENSE +21 -0
  156. testuary-0.2.0.dist-info/licenses/THIRD_PARTY_NOTICES.md +51 -0
  157. testuary-0.2.0.dist-info/licenses/src/testuary/demo/data/LICENSE-tenacity.txt +212 -0
  158. testuary-0.2.0.dist-info/licenses/src/testuary/demo/data/java/LICENSE-jsonassert.txt +213 -0
  159. 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"]