cover-agent 1.0.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 (114) hide show
  1. cover_agent-1.0.0.dist-info/METADATA +358 -0
  2. cover_agent-1.0.0.dist-info/RECORD +114 -0
  3. cover_agent-1.0.0.dist-info/WHEEL +5 -0
  4. cover_agent-1.0.0.dist-info/entry_points.txt +4 -0
  5. cover_agent-1.0.0.dist-info/licenses/LICENSE +661 -0
  6. cover_agent-1.0.0.dist-info/top_level.txt +1 -0
  7. coverage_ai/__init__.py +0 -0
  8. coverage_ai/agent_completion_abc.py +193 -0
  9. coverage_ai/ai_caller.py +197 -0
  10. coverage_ai/ai_caller_replay.py +105 -0
  11. coverage_ai/analysis_pipeline/__init__.py +0 -0
  12. coverage_ai/analysis_pipeline/code_analyzer.py +406 -0
  13. coverage_ai/coverage_ai.py +431 -0
  14. coverage_ai/coverage_processor.py +448 -0
  15. coverage_ai/custom_logger.py +74 -0
  16. coverage_ai/default_agent_completion.py +350 -0
  17. coverage_ai/file_preprocessor.py +49 -0
  18. coverage_ai/lsp_logic/ContextHelper.py +47 -0
  19. coverage_ai/lsp_logic/__init__.py +0 -0
  20. coverage_ai/lsp_logic/file_map/Acknowledgment.md +25 -0
  21. coverage_ai/lsp_logic/file_map/__init__.py +0 -0
  22. coverage_ai/lsp_logic/file_map/file_map.py +152 -0
  23. coverage_ai/lsp_logic/file_map/queries/__init__.py +0 -0
  24. coverage_ai/lsp_logic/file_map/queries/get_queries.py +39 -0
  25. coverage_ai/lsp_logic/file_map/queries/tree-sitter-arduino-tags.scm +36 -0
  26. coverage_ai/lsp_logic/file_map/queries/tree-sitter-c-tags.scm +9 -0
  27. coverage_ai/lsp_logic/file_map/queries/tree-sitter-c_sharp-tags.scm +46 -0
  28. coverage_ai/lsp_logic/file_map/queries/tree-sitter-chatito-tags.scm +17 -0
  29. coverage_ai/lsp_logic/file_map/queries/tree-sitter-clojure-tags.scm +35 -0
  30. coverage_ai/lsp_logic/file_map/queries/tree-sitter-commonlisp-tags.scm +40 -0
  31. coverage_ai/lsp_logic/file_map/queries/tree-sitter-cpp-tags.scm +15 -0
  32. coverage_ai/lsp_logic/file_map/queries/tree-sitter-d-tags.scm +42 -0
  33. coverage_ai/lsp_logic/file_map/queries/tree-sitter-dart-tags.scm +41 -0
  34. coverage_ai/lsp_logic/file_map/queries/tree-sitter-elisp-tags.scm +8 -0
  35. coverage_ai/lsp_logic/file_map/queries/tree-sitter-elixir-tags.scm +54 -0
  36. coverage_ai/lsp_logic/file_map/queries/tree-sitter-elm-tags.scm +19 -0
  37. coverage_ai/lsp_logic/file_map/queries/tree-sitter-fortran-tags.scm +34 -0
  38. coverage_ai/lsp_logic/file_map/queries/tree-sitter-gleam-tags.scm +30 -0
  39. coverage_ai/lsp_logic/file_map/queries/tree-sitter-go-tags.scm +30 -0
  40. coverage_ai/lsp_logic/file_map/queries/tree-sitter-haskell-tags.scm +49 -0
  41. coverage_ai/lsp_logic/file_map/queries/tree-sitter-hcl-tags.scm +39 -0
  42. coverage_ai/lsp_logic/file_map/queries/tree-sitter-java-tags.scm +20 -0
  43. coverage_ai/lsp_logic/file_map/queries/tree-sitter-javascript-tags.scm +88 -0
  44. coverage_ai/lsp_logic/file_map/queries/tree-sitter-julia-tags.scm +46 -0
  45. coverage_ai/lsp_logic/file_map/queries/tree-sitter-kotlin-tags.scm +47 -0
  46. coverage_ai/lsp_logic/file_map/queries/tree-sitter-lua-tags.scm +36 -0
  47. coverage_ai/lsp_logic/file_map/queries/tree-sitter-matlab-tags.scm +21 -0
  48. coverage_ai/lsp_logic/file_map/queries/tree-sitter-ocaml-tags.scm +115 -0
  49. coverage_ai/lsp_logic/file_map/queries/tree-sitter-php-tags.scm +26 -0
  50. coverage_ai/lsp_logic/file_map/queries/tree-sitter-pony-tags.scm +41 -0
  51. coverage_ai/lsp_logic/file_map/queries/tree-sitter-properties-tags.scm +9 -0
  52. coverage_ai/lsp_logic/file_map/queries/tree-sitter-python-tags.scm +14 -0
  53. coverage_ai/lsp_logic/file_map/queries/tree-sitter-ql-tags.scm +26 -0
  54. coverage_ai/lsp_logic/file_map/queries/tree-sitter-r-tags.scm +25 -0
  55. coverage_ai/lsp_logic/file_map/queries/tree-sitter-racket-tags.scm +35 -0
  56. coverage_ai/lsp_logic/file_map/queries/tree-sitter-ruby-tags.scm +64 -0
  57. coverage_ai/lsp_logic/file_map/queries/tree-sitter-rust-tags.scm +71 -0
  58. coverage_ai/lsp_logic/file_map/queries/tree-sitter-scala-tags.scm +44 -0
  59. coverage_ai/lsp_logic/file_map/queries/tree-sitter-solidity-tags.scm +57 -0
  60. coverage_ai/lsp_logic/file_map/queries/tree-sitter-swift-tags.scm +56 -0
  61. coverage_ai/lsp_logic/file_map/queries/tree-sitter-typescript-tags.scm +55 -0
  62. coverage_ai/lsp_logic/file_map/queries/tree-sitter-udev-tags.scm +9 -0
  63. coverage_ai/lsp_logic/file_map/queries/tree-sitter-zig-tags.scm +83 -0
  64. coverage_ai/lsp_logic/file_map/query_manager.py +463 -0
  65. coverage_ai/lsp_logic/multilspy/Acknowledgment.md +5 -0
  66. coverage_ai/lsp_logic/multilspy/__init__.py +8 -0
  67. coverage_ai/lsp_logic/multilspy/language_server.py +1030 -0
  68. coverage_ai/lsp_logic/multilspy/language_servers/__init__.py +0 -0
  69. coverage_ai/lsp_logic/multilspy/language_servers/jedi_language_server/__init__.py +0 -0
  70. coverage_ai/lsp_logic/multilspy/language_servers/jedi_language_server/initialize_params.json +909 -0
  71. coverage_ai/lsp_logic/multilspy/language_servers/jedi_language_server/jedi_server.py +139 -0
  72. coverage_ai/lsp_logic/multilspy/lsp_protocol_handler/__init__.py +0 -0
  73. coverage_ai/lsp_logic/multilspy/lsp_protocol_handler/lsp_constants.py +60 -0
  74. coverage_ai/lsp_logic/multilspy/lsp_protocol_handler/lsp_requests.py +616 -0
  75. coverage_ai/lsp_logic/multilspy/lsp_protocol_handler/lsp_types.py +5911 -0
  76. coverage_ai/lsp_logic/multilspy/lsp_protocol_handler/server.py +490 -0
  77. coverage_ai/lsp_logic/multilspy/multilspy_config.py +43 -0
  78. coverage_ai/lsp_logic/multilspy/multilspy_exceptions.py +15 -0
  79. coverage_ai/lsp_logic/multilspy/multilspy_logger.py +65 -0
  80. coverage_ai/lsp_logic/multilspy/multilspy_settings.py +30 -0
  81. coverage_ai/lsp_logic/multilspy/multilspy_types.py +299 -0
  82. coverage_ai/lsp_logic/multilspy/multilspy_utils.py +294 -0
  83. coverage_ai/lsp_logic/multilspy/type_helpers.py +28 -0
  84. coverage_ai/lsp_logic/scripts/__init__.py +0 -0
  85. coverage_ai/lsp_logic/scripts/main.py +104 -0
  86. coverage_ai/lsp_logic/utils/__init__.py +0 -0
  87. coverage_ai/lsp_logic/utils/important_files_logic.py +204 -0
  88. coverage_ai/lsp_logic/utils/io.py +659 -0
  89. coverage_ai/lsp_logic/utils/utils.py +467 -0
  90. coverage_ai/lsp_logic/utils/utils_context.py +114 -0
  91. coverage_ai/main.py +229 -0
  92. coverage_ai/main_full_repo.py +78 -0
  93. coverage_ai/record_replay_manager.py +400 -0
  94. coverage_ai/report_generator.py +171 -0
  95. coverage_ai/runner.py +37 -0
  96. coverage_ai/settings/README.md +48 -0
  97. coverage_ai/settings/__init__.py +0 -0
  98. coverage_ai/settings/adapt_test_command_for_a_single_test_via_ai.toml +57 -0
  99. coverage_ai/settings/analyze_suite_test_headers_indentation.toml +42 -0
  100. coverage_ai/settings/analyze_suite_test_insert_line.toml +52 -0
  101. coverage_ai/settings/analyze_test_against_context.toml +47 -0
  102. coverage_ai/settings/analyze_test_run_failure.toml +36 -0
  103. coverage_ai/settings/config_loader.py +63 -0
  104. coverage_ai/settings/config_schema.py +200 -0
  105. coverage_ai/settings/configuration.toml +38 -0
  106. coverage_ai/settings/language_extensions.toml +439 -0
  107. coverage_ai/settings/test_generation_prompt.toml +121 -0
  108. coverage_ai/settings/token_handling.py +70 -0
  109. coverage_ai/unit_test_db.py +124 -0
  110. coverage_ai/unit_test_generator.py +229 -0
  111. coverage_ai/unit_test_validator.py +826 -0
  112. coverage_ai/utils.py +483 -0
  113. coverage_ai/version.py +31 -0
  114. coverage_ai/version.txt +1 -0
@@ -0,0 +1,358 @@
1
+ Metadata-Version: 2.4
2
+ Name: cover-agent
3
+ Version: 1.0.0
4
+ Summary: Cover Agent Tool
5
+ Author-email: KhulnaSoft <info@khulnasoft.com>
6
+ License: Apache-2.0
7
+ Requires-Python: <3.13,>=3.9.17
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: jinja2>=3.1.5
11
+ Requires-Dist: beautifulsoup4>=4.13.3
12
+ Requires-Dist: sqlalchemy>=2.0.38
13
+ Requires-Dist: diff-cover>=9.2.3
14
+ Requires-Dist: tenacity>=9.0.0
15
+ Requires-Dist: python-dotenv>=1.1.0
16
+ Requires-Dist: docker>=7.1.0
17
+ Requires-Dist: boto3>=1.36.25
18
+ Requires-Dist: google-cloud-aiplatform>=1.81.0
19
+ Requires-Dist: litellm>=1.61.13
20
+ Requires-Dist: openai>=1.63.2
21
+ Requires-Dist: tiktoken>=0.8.0
22
+ Requires-Dist: numpy>=1.26.4
23
+ Requires-Dist: dynaconf>=3.2.10
24
+ Requires-Dist: wandb>=0.17.9
25
+ Requires-Dist: grep_ast>=0.3.3
26
+ Requires-Dist: tree_sitter>=0.21.3
27
+ Requires-Dist: tree_sitter_languages>=1.10.2
28
+ Requires-Dist: jedi-language-server>=0.41.4
29
+ Requires-Dist: fuzzywuzzy>=0.18.0
30
+ Requires-Dist: python-levenshtein>=0.27.1
31
+ Requires-Dist: defusedxml>=0.7.1
32
+ Provides-Extra: dev
33
+ Requires-Dist: pytest>=8.3.4; extra == "dev"
34
+ Requires-Dist: pyinstaller>=6.12.0; extra == "dev"
35
+ Requires-Dist: pytest-mock>=3.14.0; extra == "dev"
36
+ Requires-Dist: pytest-cov>=5.0.0; extra == "dev"
37
+ Requires-Dist: pytest-asyncio>=0.23.8; extra == "dev"
38
+ Requires-Dist: pytest-timeout>=2.3.1; extra == "dev"
39
+ Requires-Dist: fastapi>=0.111.1; extra == "dev"
40
+ Dynamic: license-file
41
+
42
+
43
+
44
+
45
+
46
+ <div align="center">
47
+ <div align="center">
48
+
49
+ <picture>
50
+ <source media="(prefers-color-scheme: dark)" srcset="https://www.khulnasoft.com/wp-content/uploads/2025/02/KhulnasoftCover-Light.png" width="330">
51
+ <source media="(prefers-color-scheme: light)" srcset="https://www.khulnasoft.com/wp-content/uploads/2025/02/KhulnasoftCover-Dark.png" width="330">
52
+ <img src="https://www.khulnasoft.com/images/cover-agent/cover-agent-light.png" alt="logo" width="330">
53
+
54
+ </picture>
55
+ <br/><br/>
56
+ Khulnasoft Cover aims to help efficiently increase code coverage, by automatically generating qualified tests to extend code coverage. Khulnasoft Cover can run in your GitHub CI workflow or locally as a CLI tool.
57
+ </div>
58
+
59
+ [![GitHub license](https://img.shields.io/badge/License-AGPL_3.0-blue.svg)](https://github.com/khulnasoft/coverage-ai/blob/main/LICENSE)
60
+ [![Discord](https://badgen.net/badge/icon/discord?icon=discord&label&color=purple)](https://discord.gg/cYsvFJJbdM)
61
+ [![Twitter](https://img.shields.io/twitter/follow/khulnasoft)](https://twitter.com/khulnasoft)
62
+ <a href="https://github.com/KhulnaSoft/cover-agent/commits/main">
63
+ <img alt="GitHub" src="https://img.shields.io/github/last-commit/khulnasoft/coverage-ai/main?style=for-the-badge" height="20">
64
+ </a><br>
65
+ <a href="https://trendshift.io/repositories/10328" target="_blank"><img src="https://trendshift.io/api/badge/repositories/10328" alt="KhulnaSoft/cover-agent | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
66
+ </div>
67
+
68
+ ## Table of Contents
69
+ * [News and Updates](#news-and-updates)
70
+ * [Overview](#overview)
71
+ * [Installation and Usage](#installation-and-usage)
72
+ * [Contributing](#contributing)
73
+ * [Documentation](#documentation)
74
+ * [Roadmap](#roadmap)
75
+
76
+
77
+ ## News and Updates
78
+ > **⚠️ This repository is no longer maintained. Please fork it if you wish to continue development or use it in your own projects.**
79
+
80
+ ### 2024-12-04:
81
+ New mode - [Run Khulnasoft Cover Pro in your GitHub CI workflow](https://github.com/khulnasoft/coverage-ci). Currently in preview and available for free for a limited time for Python projects, leveraging your own LLM API key from your favorite LLM provider. It's a practical way to improve code quality and reliability. For more details, reach out to the [Khulnasoft team](https://www.khulnasoft.com/book-a-demo).
82
+
83
+ ### 2024-11-05:
84
+ New mode - scan an entire repo, auto identify the test files, auto collect context for each test file, and extend the test suite with new tests.
85
+ See more details [here](docs/repo_coverage.md).
86
+
87
+
88
+ # Khulnasoft-Cover
89
+ Welcome to Khulnasoft-Cover. This focused project utilizes Generative AI to automate and enhance the generation of tests (currently mostly unit tests), aiming to streamline development workflows. Khulnasoft-Cover can run via a terminal, and is planned to be integrated into popular CI platforms.
90
+
91
+ We invite the community to collaborate and help extend the capabilities of Khulnasoft Cover, continuing its development as a cutting-edge solution in the automated unit test generation domain. We also wish to inspire researchers to leverage this open-source tool to explore new test-generation techniques.
92
+
93
+
94
+ ## Overview
95
+ This tool is part of a broader suite of utilities designed to automate the creation of unit tests for software projects. Utilizing advanced Generative AI models, it aims to simplify and expedite the testing process, ensuring high-quality software development. The system comprises several components:
96
+ 1. **Test Runner:** Executes the command or scripts to run the test suite and generate code coverage reports.
97
+ 2. **Coverage Parser:** Validates that code coverage increases as tests are added, ensuring that new tests contribute to the overall test effectiveness.
98
+ 3. **Prompt Builder:** Gathers necessary data from the codebase and constructs the prompt to be passed to the Large Language Model (LLM).
99
+ 4. **AI Caller:** Interacts with the LLM to generate tests based on the prompt provided.
100
+
101
+
102
+ ## Installation and Usage
103
+ ### Requirements
104
+ Before you begin, make sure you have the following:
105
+ - `OPENAI_API_KEY` set in your environment variables, which is required for calling the OpenAI API.
106
+ - Code Coverage tool: A Cobertura XML code coverage report is required for the tool to function correctly.
107
+ - For example, in Python one could use `pytest-cov`. Add the `--cov-report=xml` option when running Pytest.
108
+ - Note: We are actively working on adding more coverage types but please feel free to open a PR and contribute to `coverage_ai/CoverageProcessor.py`
109
+
110
+ If running directly from the repository you will also need:
111
+ - Python installed on your system.
112
+ - UV installed for managing Python package dependencies. Installation instructions for UV can be found at [https://docs.astral.sh/uv/](https://docs.astral.sh/uv/).
113
+
114
+ ### Development
115
+
116
+ ### Setting up the development environment
117
+
118
+ ```bash
119
+ # Install UV
120
+ pip install uv
121
+
122
+ # Clone and setup
123
+ git clone https://github.com/KhulnaSoft/cover-agent.git
124
+ cd cover-agent
125
+
126
+ # Install dependencies
127
+ uv sync --dev
128
+
129
+ # Run tests
130
+ uv run pytest --cov=coverage_ai --cov-report=xml --cov-report=term
131
+
132
+ # Run the agent
133
+ uv run cover-agent --help
134
+ ```
135
+
136
+ > **Note**: See the [UV Migration Guide](docs/UV_MIGRATION_GUIDE.md) for details on the package manager used by this project.
137
+
138
+ ### Standalone Runtime
139
+ Khulnasoft Cover can be installed as a Python Pip package or run as a standalone executable.
140
+
141
+ #### Python Pip
142
+ To install the Python Pip package directly via GitHub run the following command:
143
+ ```shell
144
+ pip install git+https://github.com/khulnasoft/coverage-ai.git
145
+ ```
146
+
147
+ #### Binary
148
+ The binary can be run without any Python environment installed on your system (e.g. within a Docker container that does not contain Python). You can download the release for your system by navigating to the project's [release page](https://github.com/khulnasoft/coverage-ai/releases).
149
+
150
+ ### Repository Setup
151
+ Run the following command to install all the dependencies and run the project from source:
152
+ ```shell
153
+ uv sync --dev
154
+ ```
155
+
156
+ ### Running the Code
157
+ After downloading the executable or installing the Pip package you can run the Cover Agent to generate and validate unit tests. Execute it from the command line by using the following command:
158
+ ```shell
159
+ cover-agent \
160
+ --source-file-path "<path_to_source_file>" \
161
+ --test-file-path "<path_to_test_file>" \
162
+ --project-root "<path_to_project_root>" \
163
+ --code-coverage-report-path "<path_to_coverage_report>" \
164
+ --test-command "<test_command_to_run>" \
165
+ --test-command-dir "<directory_to_run_test_command>" \
166
+ --coverage-type "<type_of_coverage_report>" \
167
+ --desired-coverage <desired_coverage_between_0_and_100> \
168
+ --max-iterations <max_number_of_llm_iterations> \
169
+ --included-files "<optional_list_of_files_to_include>"
170
+ ```
171
+
172
+ You can use the example code below to try out the Cover Agent.
173
+ (Note that the [usage_examples](docs/usage_examples.md) file provides more elaborate examples of how to use the Cover Agent)
174
+
175
+ #### Python
176
+
177
+ Follow the steps in the README.md file located in the `templated_tests/python_fastapi/` directory to setup an environment, then return to the root of the repository, and run the following command to add tests to the **python fastapi** example:
178
+ ```shell
179
+ cover-agent \
180
+ --source-file-path "templated_tests/python_fastapi/app.py" \
181
+ --test-file-path "templated_tests/python_fastapi/test_app.py" \
182
+ --project-root "templated_tests/python_fastapi" \
183
+ --code-coverage-report-path "templated_tests/python_fastapi/coverage.xml" \
184
+ --test-command "pytest --cov=. --cov-report=xml --cov-report=term" \
185
+ --test-command-dir "templated_tests/python_fastapi" \
186
+ --coverage-type "cobertura" \
187
+ --desired-coverage 70 \
188
+ --max-iterations 10
189
+ ```
190
+
191
+ #### Go
192
+ For an example using **go** `cd` into `templated_tests/go_webservice`, set up the project following the `README.md`.
193
+ To work with coverage reporting, you need to install `gocov` and `gocov-xml`. Run the following commands to install these tools:
194
+ ```shell
195
+ go install github.com/axw/gocov/gocov@v1.1.0
196
+ go install github.com/AlekSi/gocov-xml@v1.1.0
197
+ ```
198
+ and then run the following command:
199
+ ```shell
200
+ cover-agent \
201
+ --source-file-path "app.go" \
202
+ --test-file-path "app_test.go" \
203
+ --code-coverage-report-path "coverage.xml" \
204
+ --test-command "go test -coverprofile=coverage.out && gocov convert coverage.out | gocov-xml > coverage.xml" \
205
+ --test-command-dir $(pwd) \
206
+ --coverage-type "cobertura" \
207
+ --desired-coverage 70 \
208
+ --max-iterations 1
209
+ ```
210
+
211
+ #### Java
212
+ For an example using **java** `cd` into `templated_tests/java_gradle`, set up the project following the [README.md](templated_tests/java_gradle/README.md).
213
+ To work with jacoco coverage reporting, follow the [README.md](templated_tests/java_gradle/README.md) Requirements section:
214
+ and then run the following command:
215
+ ```shell
216
+ cover-agent \
217
+ --source-file-path="src/main/java/com/davidparry/cover/SimpleMathOperations.java" \
218
+ --test-file-path="src/test/groovy/com/davidparry/cover/SimpleMathOperationsSpec.groovy" \
219
+ --code-coverage-report-path="build/reports/jacoco/test/jacocoTestReport.csv" \
220
+ --test-command="./gradlew clean test jacocoTestReport" \
221
+ --test-command-dir=$(pwd) \
222
+ --coverage-type="jacoco" \
223
+ --desired-coverage=70 \
224
+ --max-iterations=1
225
+ ```
226
+
227
+ ### Record & Replay Feature
228
+ To save LLM service credits, a response recording mode is available. The starting point is a group hash, generated from the hashes of the source and test files used in each test run. If either file changes, the corresponding LLM responses should be re-recorded.
229
+ Run the following command to execute all tests with LLM response recording enabled:
230
+ ```shell
231
+ uv run python tests_integration/run_test_all.py --record-mode
232
+ ```
233
+
234
+ If you run the same command without the `--record-mode` flag:
235
+ ```shell
236
+ uv run python tests_integration/run_test_all.py
237
+ ```
238
+ it will use the recorded responses to generate tests without calling the LLM if recordings are available. Otherwise, it will call the LLM to run the tests.
239
+
240
+ You may also record LLM responses from a separate test run. Run a test as you normally would, and add the `--record-mode` flag to the command:
241
+ ```shell
242
+ uv run python tests_integration/run_test_with_docker.py \
243
+ --docker-image "embeddeddevops/python_fastapi:latest" \
244
+ --source-file-path "app.py" \
245
+ --test-file-path "test_app.py" \
246
+ --code-coverage-report-path "coverage.xml" \
247
+ --test-command "pytest --cov=. --cov-report=xml --cov-report=term" \
248
+ --coverage-type "cobertura" \
249
+ --model "gpt-4o-mini" \
250
+ --record-mode
251
+ ```
252
+
253
+ The table below explains the behavior of the test runner depending on whether the `--record-mode` flag is set and whether a recorded file already exists:
254
+
255
+ | Flag | Record File | Result |
256
+ |:-----------:|:-----------:|:--------------------------------------|
257
+ | ❌ | ❌ | Regular test run (file not recorded) |
258
+ | ✅ | ❌ | Records a new file |
259
+ | ✅ | ✅ | Overwrites an existing file |
260
+ | ❌ | ✅ | Replays a recorded file |
261
+
262
+ Recorded responses are stored in the `stored_responses` folder. Files are named based on the test name and a hash value that depends on the contents of the source and test files.
263
+ ```shell
264
+ <test_name>_responses_<hash_value>.yml
265
+
266
+ # i.e.
267
+ python_fastapi_responses_a9d9de927a82a7d776889738d2880bec7166c5f69d3518837183a20ef48b2a37.yml
268
+ ```
269
+ A response file corresponding to the same source and test files group hash in a file name is updated during each recording session with new prompt hash entries.
270
+ To regenerate it from scratch, you can delete the existing response file and run a new recording session.
271
+
272
+ ### Outputs
273
+ A few debug files will be outputted locally within the repository (that are part of the `.gitignore`)
274
+ * `run.log`: A copy of the logger that gets dumped to your `stdout`
275
+ * `test_results.html`: A results table that contains the following for each generated test:
276
+ * Test status
277
+ * Failure reason (if applicable)
278
+ * Exit code,
279
+ * `stderr`
280
+ * `stdout`
281
+ * Generated test
282
+
283
+ You can suppress logs using the `--suppress-log-files` flag. This prevents the creation of the `run.log`, `test_results.html`, and the test results `db` files.
284
+
285
+ ### Additional logging
286
+ If you set an environment variable `WANDB_API_KEY`, the prompts, responses, and additional information will be logged to [Weights and Biases](https://wandb.ai/).
287
+
288
+ ### Using other LLMs
289
+ This project uses LiteLLM to communicate with OpenAI and other hosted LLMs (supporting 100+ LLMs to date). To use a different model other than the OpenAI default you'll need to:
290
+ 1. Export any environment variables needed by the supported LLM [following the LiteLLM instructions](https://litellm.vercel.app/docs/proxy/quick_start#supported-llms).
291
+ 2. Call the name of the model using the `--model` option when calling Cover Agent.
292
+
293
+ For example (as found in the [LiteLLM Quick Start guide](https://litellm.vercel.app/docs/proxy/quick_start#supported-llms)):
294
+ ```shell
295
+ export VERTEX_PROJECT="hardy-project"
296
+ export VERTEX_LOCATION="us-west"
297
+
298
+ cover-agent \
299
+ ...
300
+ --model "vertex_ai/gemini-pro"
301
+ ```
302
+
303
+ #### OpenAI Compatible Endpoint
304
+ ```shell
305
+ export OPENAI_API_KEY="<your api key>" # If <your-api-base> requires an API KEY, set this value.
306
+
307
+ cover-agent \
308
+ ...
309
+ --model "openai/<your model name>" \
310
+ --api-base "<your-api-base>"
311
+ ```
312
+
313
+ #### Azure OpenAI Compatible Endpoint
314
+ ```shell
315
+ export AZURE_API_BASE="<your api base>" # azure api base
316
+ export AZURE_API_VERSION="<your api version>" # azure api version (optional)
317
+ export AZURE_API_KEY="<your api key>" # azure api key
318
+
319
+ cover-agent \
320
+ ...
321
+ --model "azure/<your deployment name>"
322
+ ```
323
+
324
+
325
+ ## Contributing
326
+ See [Contributing](CONTRIBUTING.md) for more information on how to contribute to this project.
327
+
328
+ ## Documentation
329
+ * [Instructions for Adding Another Coverage Type to the `CoverageProcessor` Class](docs/add_new_coverage_type_instructions.md)
330
+ * [Using a Test Database with Cover Agent](docs/database_usage.md)
331
+ * [Cover Agent Feature Flags](docs/features.md)
332
+ * [Repo Coverage](docs/repo_coverage.md)
333
+ * [Top Level Sequence Diagram](docs/top_level_sequence_diagram.md)
334
+ * [Usage Examples](docs/usage_examples.md)
335
+
336
+
337
+ ## Roadmap
338
+ Below is the roadmap of planned features, with the current implementation status:
339
+
340
+ - [x] Automatically generates unit tests for your software projects, utilizing advanced AI models to ensure comprehensive test coverage and quality assurance. (similar to Meta)
341
+ - [x] Being able to generate tests for different programming languages
342
+ - [ ] Being able to deal with a large variety of testing scenarios
343
+ - [ ] Generate a behavior analysis for the code under test, and generate tests accordingly
344
+ - [x] Check test flakiness, e.g. by running 5 times as suggested by TestGen-LLM
345
+ - [ ] Cover more test generation pains
346
+ - [ ] Generate new tests that are focused on the PR changeset
347
+ - [ ] Run over an entire repo/code-base and attempt to enhance all existing test suites
348
+ - [ ] Improve usability
349
+ - [ ] Connectors for GitHub Actions, Jenkins, CircleCI, Travis CI, and more
350
+ - [ ] Integrate into databases, APIs, OpenTelemetry and other sources of data to extract relevant i/o for the test generation
351
+ - [ ] Add a setting file
352
+
353
+
354
+ ## KhulnaSoft
355
+ KhulnaSoft's mission is to enable busy dev teams to increase and maintain their code integrity.
356
+ We offer various tools, including "Pro" versions of our open-source tools, which are meant to handle enterprise-level code complexity and are multi-repo codebase aware.
357
+
358
+ **Try the pro version of [Khulnasoft Cover in a GitHub Action](https://github.com/khulnasoft/coverage-ci)!**
@@ -0,0 +1,114 @@
1
+ cover_agent-1.0.0.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
2
+ coverage_ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ coverage_ai/agent_completion_abc.py,sha256=ozVsDn9ddnyF2m7mpXM8Awvba_XJOnqSBopm_9-1Z64,7428
4
+ coverage_ai/ai_caller.py,sha256=toUlP1WBPVT4lmzfcPODuCVTQSiLWGABMv-WvKdsz4A,7626
5
+ coverage_ai/ai_caller_replay.py,sha256=wDYwZQBcP4wubSw1v3O-rg5Dl_AhCHfe69zEAyjtbxg,3501
6
+ coverage_ai/coverage_ai.py,sha256=jSLnEU04xu9KYxA8x-o0WmNtHFX38q71f3szV-Sp2rs,18135
7
+ coverage_ai/coverage_processor.py,sha256=WaDDE4xn8PU85jAr4WM232dEO-uThmSN1FqC2ji3MHA,19189
8
+ coverage_ai/custom_logger.py,sha256=ef0iKupDGcgZ_yjYFugdz1IDYBHWUxPIKHQ76KaEzLo,2695
9
+ coverage_ai/default_agent_completion.py,sha256=if-DM62OMAFOCJH3BDCeFhnl3iwPhdFm_xWBcg_gg1c,15101
10
+ coverage_ai/file_preprocessor.py,sha256=djN6vGuvpVMrBbTWCULp0sDsBngnv9hJQkCi3zF98oU,1625
11
+ coverage_ai/main.py,sha256=v2_KbpSpR0l_bHFhkge8-VTe-4mEauTFwlazhNqr-gs,7071
12
+ coverage_ai/main_full_repo.py,sha256=iEVVxy6e0TE7lpO2JH_h1xUdgWAPWX_6jwdDEs7zAu8,2765
13
+ coverage_ai/record_replay_manager.py,sha256=84HXesPMkgJzVmJU1J8G547lKsy_SWRCYZLCNpRuYFo,15709
14
+ coverage_ai/report_generator.py,sha256=cONjlmbkCuXNzNXUyrMGXEDLJ5jsS2L5UhUdnfiKjTI,7076
15
+ coverage_ai/runner.py,sha256=YonrqBzB-895lpisymTQOUl5hBY-OEzUOEvPauGHnDg,1365
16
+ coverage_ai/unit_test_db.py,sha256=pagLEPUqSQ12qUTbNolq0qah3TjT6uAmKVjHLfS9etQ,4591
17
+ coverage_ai/unit_test_generator.py,sha256=nCNjyR5kdylIG4OgE90YEBJ6L0vAiMtfjRfdLm4bytI,10675
18
+ coverage_ai/unit_test_validator.py,sha256=ehVC2liWxalKFRWYlhQJOKN-8YWzeoM01OTjaNJ1E9Q,39025
19
+ coverage_ai/utils.py,sha256=AVEKJxrr93Q_HJgnMdrBLSF2mxcz_BV-BsskN3990oc,16969
20
+ coverage_ai/version.py,sha256=hYvOmY6J504dURpuI6gNWPpReR_XJ2DPOhOi02i42zc,773
21
+ coverage_ai/version.txt,sha256=p2MM8n19M493zTVt7Lu5qAEsqtUWEsbB7JgdFgasL0Y,7
22
+ coverage_ai/analysis_pipeline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
+ coverage_ai/analysis_pipeline/code_analyzer.py,sha256=xk5874jm5L6qmmrXvnc1fMJ_3qUhG1jTEloE8Xp4Ito,14851
24
+ coverage_ai/lsp_logic/ContextHelper.py,sha256=tRGHCMSCTxB4SbZT4qx79slPZLrq2OGSR5UeIlJHaQo,1670
25
+ coverage_ai/lsp_logic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
+ coverage_ai/lsp_logic/file_map/Acknowledgment.md,sha256=UTwReCuf7BhHXUGTbSSaRN9Wx-ZFsuu1YmOp52UGeSw,2703
27
+ coverage_ai/lsp_logic/file_map/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
+ coverage_ai/lsp_logic/file_map/file_map.py,sha256=jOnjDg8zz-fJxaV0ILWkM4F2neCfqyGtDILIynQiwRA,5129
29
+ coverage_ai/lsp_logic/file_map/query_manager.py,sha256=AaDf4dL1MiEObJfskgebypBOvODYg7NlYq0HIRSgQjQ,17154
30
+ coverage_ai/lsp_logic/file_map/queries/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
+ coverage_ai/lsp_logic/file_map/queries/get_queries.py,sha256=RBpK0Lrvm7lIKjjYBbjNaVvkP8HOYG4yH5OxiNiM9Sw,1320
32
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-arduino-tags.scm,sha256=K5Mdip2PP3fXAE25Vq9QT07a__4M65AOPJWKYxYsHW8,1000
33
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-c-tags.scm,sha256=EIz45o5hBh8yEuck5ZR_4IpcGyWSeNrzxFmtkKZGt2k,461
34
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-c_sharp-tags.scm,sha256=wKyFtOFIk-kqIFB2yJBbu1VGRUhdkAnDpxo8sXubkjw,1025
35
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-chatito-tags.scm,sha256=1zH16qT2OyAEEMFyRf0WHcjkBGBWOg9S3kW0MjdJN8s,438
36
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-clojure-tags.scm,sha256=9yxs_iDkCaCPBToVQNLHewy4YZ88pPvQNNBer0Xqa-o,690
37
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-commonlisp-tags.scm,sha256=OBNmzKoekBe3MBUjm6haYc8I5ryWTQSUwTYmcd6V9ZU,860
38
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-cpp-tags.scm,sha256=cAFwtQk3ZKsvCVWrp1fmhSwOP8WGTCEDRR5CQuzLlY4,803
39
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-d-tags.scm,sha256=lU_khaZgibHWCwqrsgd5LW850cGvhvpwIxFGIZFAHFs,1101
40
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-dart-tags.scm,sha256=yoqZj0BShiANgkWHESNIoFbzl7CJTW8SqI6Hl7msIT8,1079
41
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-elisp-tags.scm,sha256=wjm1YYD1vgjBbh0E2CzUnmagl82Uq6-LcEojmvhiJkY,332
42
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-elixir-tags.scm,sha256=eO20nPIwI7_vq4Fob6U5RjX1wLKgn6Gglj41ITpE6eg,1605
43
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-elm-tags.scm,sha256=4qTEWJCAd7_BOfwyky0q_NYzAMtGdiq7qwo1GIhXmag,951
44
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-fortran-tags.scm,sha256=RNuJanLy-h1_gDhJswYpCua7dqy5-szoJ7TsAC15EJo,889
45
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-gleam-tags.scm,sha256=BiwChJMOoLo6tzJsiHPMufYZHMO0oTtAx49hYWVViqs,760
46
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-go-tags.scm,sha256=mHtS5NEuxWJGfVz1rq4YlJRMYVDAl5tf7iYnm6RikVE,848
47
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-haskell-tags.scm,sha256=xX5BxLBmyeo4q5rY4BVU4N59z_98e-9jlGvB4o9on7M,1156
48
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-hcl-tags.scm,sha256=l1o6Dk8IvO6CQl5oetdKi2cgML39v383JyGkJ0vMKyI,1013
49
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-java-tags.scm,sha256=7WKb-djGv0Ief6XEWQPYpfLpgJHtMPPukIUi55PegvE,627
50
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-javascript-tags.scm,sha256=svVct6pxbcYP_-xEBwzGy6t1SlN7ajkEUCivUkBZn_Q,2251
51
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-julia-tags.scm,sha256=_JfbmnxYrxZ-lCfcx9L1JXu3eOhvD4X7IDFldRjmhfM,1252
52
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-kotlin-tags.scm,sha256=ACglJnZhj9Lw0fTQx2ODjc6WI8z1dx1AuDn_I3CwDEE,1277
53
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-lua-tags.scm,sha256=u3m0N4Jy25PbpLdQpPFpkEaLiqopMxVxDIbBIUdz-Mw,942
54
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-matlab-tags.scm,sha256=VDwOQCI0X8GmRe4zJlEsbPQQcIDe4YjiLogv7H88sqk,508
55
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-ocaml-tags.scm,sha256=NAcyzmQuQPUjkchrQvcfhsvKqdcqbAt5eFb1chfEhMA,2695
56
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-php-tags.scm,sha256=vmE5CH2N46HiQxUpR_FL41ilQqsWsigojiacWXtwTuE,714
57
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-pony-tags.scm,sha256=Md1nXXer8Y2MFiL655okkiP7vW7iyVz-8_Yt274Hr88,967
58
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-properties-tags.scm,sha256=YwP4fK7hzH2PfaoHVzWD-FhXYN1EbWMKmLqDd3h6gyk,215
59
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-python-tags.scm,sha256=ZIblluAfXCAGvfN7bNovk_jUKC6wvnmmZ6L563BOtVg,343
60
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-ql-tags.scm,sha256=9qVpBGSgFC9fSK4E_5sO2gYe4_jPvN-D18SD6S5lNR8,707
61
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-r-tags.scm,sha256=q9ZBQVrXg0yMxcoQERpE5AIgUOzshqb7yfuDgJ2Gg28,607
62
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-racket-tags.scm,sha256=VUEIC_3EoPRC1BVfZO06dfwBmh78FEBb27OWx9NMU0g,853
63
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-ruby-tags.scm,sha256=vIidsCeE2A0vdFN18yXKqUWmpXMrGXyo4un_0Mxqr6s,1290
64
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-rust-tags.scm,sha256=s82Ic6UMZ59eV2Wpmdh8zzfbC2QrnmZJX47INw2B354,1663
65
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-scala-tags.scm,sha256=fcLxY5pNnyYvjmhosKhoOGjXyM4GIbcZHChAQ7mUpAY,1166
66
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-solidity-tags.scm,sha256=8LiwbRVC5Ge7-H3A1qMG4Pvjqy1mGv0j0Zmccs5NWKY,1540
67
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-swift-tags.scm,sha256=JpZy-ot1SGO4GXWJmCP-7Q1sIiNmCawA5EGt9Ga8Hp8,1463
68
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-typescript-tags.scm,sha256=lEHWrANaeKP-XNYRZs0Mnve8tBALeEcZyujdvaFHcCE,1555
69
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-udev-tags.scm,sha256=scfpN7jwPFWjSNo7Y3Dw25g-d2qUYCuD4rT90h1PIG8,213
70
+ coverage_ai/lsp_logic/file_map/queries/tree-sitter-zig-tags.scm,sha256=gBmc8wnFeJGj0IkAkGaJOEb8V3VaaEAEz02xD_V0qvA,2089
71
+ coverage_ai/lsp_logic/multilspy/Acknowledgment.md,sha256=fRmspyJjcZHfIZex2Cd56yY9GTzgME5NWD8C2o5-XYI,280
72
+ coverage_ai/lsp_logic/multilspy/__init__.py,sha256=cUI9oCLh7wICWGjkVJnFa4NhYuZLR3tEVCLmF5wG-jc,212
73
+ coverage_ai/lsp_logic/multilspy/language_server.py,sha256=0C3wLv4y_KAbNAkYv6raQIZhxFRmeN9NfopZlM8jg80,43102
74
+ coverage_ai/lsp_logic/multilspy/multilspy_config.py,sha256=hLqCAefFkFHttEHnvoh80joLnC-mpB9_CrxpfmA7Z0Q,817
75
+ coverage_ai/lsp_logic/multilspy/multilspy_exceptions.py,sha256=92XPwALdfyTI3TQvG0lhvk9NAmgJPOcQtuQHHOkUcrY,339
76
+ coverage_ai/lsp_logic/multilspy/multilspy_logger.py,sha256=BDjqvaqyIx9l49bwbXh-4Y6GNaBCb8WdrEo08eH34Ls,1608
77
+ coverage_ai/lsp_logic/multilspy/multilspy_settings.py,sha256=dE5bmN4CmHKWEtgBAKEGPe6bF_Qt-dorv1-sVgatnmw,835
78
+ coverage_ai/lsp_logic/multilspy/multilspy_types.py,sha256=8oG3GmP8jpOpchuhj8K0b5F246hPS5xrfJPfBTibmQc,9842
79
+ coverage_ai/lsp_logic/multilspy/multilspy_utils.py,sha256=UkFFJsHLXc5LtEBKMpVUQhdfHhTzq2jc_jBY2W3qi4o,10026
80
+ coverage_ai/lsp_logic/multilspy/type_helpers.py,sha256=F9O519tLVAC6y808kQFevGyTJJ7mAmpXv6KOq1EluII,806
81
+ coverage_ai/lsp_logic/multilspy/language_servers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
82
+ coverage_ai/lsp_logic/multilspy/language_servers/jedi_language_server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
+ coverage_ai/lsp_logic/multilspy/language_servers/jedi_language_server/initialize_params.json,sha256=mFCWaPYAWZofqswbX6iJrRWlohEi4sTqeQC9utyi654,27471
84
+ coverage_ai/lsp_logic/multilspy/language_servers/jedi_language_server/jedi_server.py,sha256=x3gP49MpWsURUcRXaCmIm7olo8APA0deUXTUuaA6Pjs,5040
85
+ coverage_ai/lsp_logic/multilspy/lsp_protocol_handler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
86
+ coverage_ai/lsp_logic/multilspy/lsp_protocol_handler/lsp_constants.py,sha256=ALyaX6-B_b0yTybHFI1BrY2JFF2h4WUPdfGblzfBsTw,1842
87
+ coverage_ai/lsp_logic/multilspy/lsp_protocol_handler/lsp_requests.py,sha256=hzO3gVKkkvrOPjtVpCCDsuFna_g6RnyA2QlKlWP0ThU,29778
88
+ coverage_ai/lsp_logic/multilspy/lsp_protocol_handler/lsp_types.py,sha256=wD-CG7tXU8iTIZBTN6OVIO2vJaVdvqJZoe_9zPD7ioU,217697
89
+ coverage_ai/lsp_logic/multilspy/lsp_protocol_handler/server.py,sha256=iaNYP8EKh1YXjg9MJ7UX-RjlYzvAtPrOTa18ul0N684,18734
90
+ coverage_ai/lsp_logic/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
91
+ coverage_ai/lsp_logic/scripts/main.py,sha256=YNYHWTinyBY3gHQo-GOnufK0KZwrsgknPZG5ppUcd9w,3250
92
+ coverage_ai/lsp_logic/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
93
+ coverage_ai/lsp_logic/utils/important_files_logic.py,sha256=wcpzV4Fl0JagRHGrNss7NliPzSzhcEqkCAE_GcZGF94,4397
94
+ coverage_ai/lsp_logic/utils/io.py,sha256=_wvt9VtP-vHs5Lc8X6na0VGMsG2kxEN2s5SrGxVObfM,23415
95
+ coverage_ai/lsp_logic/utils/utils.py,sha256=i_zogxl_I3AOYsfcxDZPMtGMmFME_ekpA1o0_otI768,13446
96
+ coverage_ai/lsp_logic/utils/utils_context.py,sha256=Wk9I5qRMYI7ncQYkSw2wkc0kgz84zbqDUyJU_eqUeNI,4706
97
+ coverage_ai/settings/README.md,sha256=eMEsdBTjei1bK606ASMGPalWJksLGOP3Bq1ea7c4bfM,2457
98
+ coverage_ai/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
99
+ coverage_ai/settings/adapt_test_command_for_a_single_test_via_ai.toml,sha256=BfwJaiVPtZ9c49zZ-UzVCRj17u9g1MEEVYa1DHylwJY,1727
100
+ coverage_ai/settings/analyze_suite_test_headers_indentation.toml,sha256=cn79EnGFQ7KJqfoY5AcJ1pjWuq2Hb-G49-20I5zFo-A,1544
101
+ coverage_ai/settings/analyze_suite_test_insert_line.toml,sha256=ei9XDyZmW-EyHnX2Yc7-Y6uNBAydwIgd461TacBiOoQ,2557
102
+ coverage_ai/settings/analyze_test_against_context.toml,sha256=6AUmSMwss1THrSAa_9b_hfQ20V14PNS48JwJLkYu7nY,1375
103
+ coverage_ai/settings/analyze_test_run_failure.toml,sha256=IOh4zGdtNk3AwWQjR8JfLQv94Q_qAJdy82AFs802YaE,925
104
+ coverage_ai/settings/config_loader.py,sha256=oR715TA5MqD6lG0Frg2QyNoViyVsDt5NUR6m1w-HbR8,2310
105
+ coverage_ai/settings/config_schema.py,sha256=IxczEXV9BAOX4krYhNGAkXI18Ca02mYV6Xf2pZ2sTWc,8931
106
+ coverage_ai/settings/configuration.toml,sha256=01_3IeQOHEdd_4bQfIEjWylDAejjTltyeVqJHfpDkbY,979
107
+ coverage_ai/settings/language_extensions.toml,sha256=hI304IkWyYSmL7dP-q5pOauiVFsFZd1KDGKOyixoIK8,13651
108
+ coverage_ai/settings/test_generation_prompt.toml,sha256=yupAOX9l---upgduG0FeTIfAxH_MQOOtIXKkVhqyVwI,5544
109
+ coverage_ai/settings/token_handling.py,sha256=OTWh6PSoipj8yIYnWRBDvGAzYz5yRj1IBVVfdoH1qjA,2058
110
+ cover_agent-1.0.0.dist-info/METADATA,sha256=FxlkBCEWl7GDzFRA0KJg5wM0ppAuLOLaljMZLS1IpbY,17019
111
+ cover_agent-1.0.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
112
+ cover_agent-1.0.0.dist-info/entry_points.txt,sha256=GE4xEUPUnUlgcxbnJQCgFbp2xobPrybMn4n5BaQIjwA,172
113
+ cover_agent-1.0.0.dist-info/top_level.txt,sha256=E0wR5z9khbvn1u5DS8L97BqJwPD2dzSfMcBz7-rgqtY,12
114
+ cover_agent-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+ cover-agent = coverage_ai.main:main
3
+ cover-agent-full-repo = coverage_ai.main_full_repo:main
4
+ generate-report = coverage_ai.unit_test_db:dump_to_report_cli