diff --git a/docs/docs/tools/improve.md b/docs/docs/tools/improve.md index 6a5680e9..8d0850e6 100644 --- a/docs/docs/tools/improve.md +++ b/docs/docs/tools/improve.md @@ -29,7 +29,7 @@ To edit [configurations](#configuration-options) related to the `improve` tool, /improve --pr_code_suggestions.some_config1=... --pr_code_suggestions.some_config2=... ``` -For example, you can choose to present all the suggestions as commitable code comments, by running the following command: +For example, you can choose to present all the suggestions as committable code comments, by running the following command: ```toml /improve --pr_code_suggestions.commitable_code_suggestions=true @@ -68,13 +68,13 @@ Qodo Merge tracks two types of implementations for tracking implemented suggesti - Direct implementation - when the user directly applies the suggestion by clicking the `Apply` checkbox. - Indirect implementation - when the user implements the suggestion in their IDE environment. In this case, Qodo Merge will utilize, after each commit, a dedicated logic to identify if a suggestion was implemented, and will mark it as implemented. -{width=512} +{width=512} In post-process, Qodo Merge counts the number of suggestions that were implemented, and provides general statistics and insights about the suggestions' impact on the PR process. -{width=512} +{width=512} -{width=512} +{width=512} ## Suggestion tracking @@ -119,7 +119,7 @@ Examples for possible instructions: ```toml [pr_code_suggestions] extra_instructions="""\ -(1) Answer in japanese +(1) Answer in Japanese (2) Don't suggest to add try-except block (3) Ignore changes in toml files ... @@ -138,7 +138,7 @@ This page can contain a list of best practices, coding standards, and guidelines The AI model will use this `best_practices.md` file as a reference, and in case the PR code violates any of the guidelines, it will create additional suggestions, with a dedicated label: `Organization best practice`. -Example for a python `best_practices.md` content: +Example for a Python `best_practices.md` content: ```markdown ## Project best practices @@ -273,7 +273,7 @@ Each generated suggestion consists of three key elements: 3. A diff snippet showing the recommended code modification (before and after) We advise users to apply critical analysis and judgment when implementing the proposed suggestions. -In addition to mistakes (which may happen, but are rare), sometimes the presented code modification may serve more as an _illustrative example_ than a direct applicable solution. +In addition to mistakes (which may happen, but are rare), sometimes the presented code modification may serve more as an _illustrative example_ than a directly applicable solution. In such cases, we recommend prioritizing the suggestion's detailed description, using the diff snippet primarily as a supporting reference. @@ -320,7 +320,7 @@ enable_chat_in_code_suggestions = true Our recommended approach for presenting code suggestions is through a [table](https://qodo-merge-docs.qodo.ai/tools/improve/#overview) (`--pr_code_suggestions.commitable_code_suggestions=false`). This method significantly reduces the PR footprint and allows for quick and easy digestion of multiple suggestions. -We also offer a complementary **dual publishing mode**. When enabled, suggestions exceeding a certain score threshold are not only displayed in the table, but also presented as commitable PR comments. +We also offer a complementary **dual publishing mode**. When enabled, suggestions exceeding a certain score threshold are not only displayed in the table, but also presented as committable PR comments. This mode helps highlight suggestions deemed more critical. To activate dual publishing mode, use the following setting: @@ -330,7 +330,7 @@ To activate dual publishing mode, use the following setting: dual_publishing_score_threshold = x ``` -Where x represents the minimum score threshold (>=) for suggestions to be presented as commitable PR comments in addition to the table. Default is -1 (disabled). +Where x represents the minimum score threshold (>=) for suggestions to be presented as committable PR comments in addition to the table. Default is -1 (disabled). ### Self-review @@ -478,7 +478,7 @@ Note: Chunking is primarily relevant for large PRs. For most PRs (up to 600 line