mirror of
https://github.com/Tokfinity/InfCode.git
synced 2026-02-12 13:12:45 +00:00
refine_svg
This commit is contained in:
12
README.md
12
README.md
@@ -1,9 +1,11 @@
|
|||||||
# InfCode
|
# InfCode
|
||||||
|
|
||||||
[](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT)
|
[](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT) [](https://arxiv.org/abs/2511.16004)
|
||||||
|
|
||||||
|
|
||||||
**InfCode** is an intelligent Code Agent System developed by [Tokfinity](https://www.tokfinity.com)'s Code Research team, which uses LLMs to automatically analyze and fix Code Repo issues.
|
InfCode is an adversarial multi-agent Code Agent System developed by [Tokfinity](https://www.tokfinity.com)'s Code Research team & Beihang University, which uses LLMs to automatically analyze and fix Code Repo issues.
|
||||||
|
|
||||||
|
InfCode introduces a dual-agent adversarial refinement framework that iteratively improves both test patches and code patches, producing highly reliable fixes verified under strengthened test suites.
|
||||||
|
|
||||||
**Project Status:** InfCode has achieved **79.4%** solution rate on the SWE-Bench Verified split, demonstrating the **latest SOTA** performance.
|
**Project Status:** InfCode has achieved **79.4%** solution rate on the SWE-Bench Verified split, demonstrating the **latest SOTA** performance.
|
||||||
|
|
||||||
@@ -15,9 +17,13 @@
|
|||||||
|
|
||||||
### Core Modules
|
### Core Modules
|
||||||
|
|
||||||
The InfCode adopts a generate-select architectural pattern. Its core modules include the **Patch Generator** and the **Patch Selector**, which are responsible for generating candidate patches and selecting the optimal patch, respectively.
|
The InfCode adopts a generate-select architectural pattern. Its core modules include the **Patch Generation** and the **Patch Selection**, which are responsible for generating candidate patches and selecting the optimal patch, respectively.
|
||||||
|
|
||||||
- **Patch Generator**: Register multiple groups of generators, where each generator is configured with a separate container to generate and repair multiple candidate patches in parallel. Can interact with `File Editor`, `File Search`, `Bash Executor`, `Result Submitter` tools. The Patch Generator runs up to $5$ attempts and gathers all produced patches.
|
- **Patch Generator**: Register multiple groups of generators, where each generator is configured with a separate container to generate and repair multiple candidate patches in parallel. Can interact with `File Editor`, `File Search`, `Bash Executor`, `Result Submitter` tools. The Patch Generator runs up to $5$ attempts and gathers all produced patches.
|
||||||
|
|
||||||
|
- The Generator internally contains two agents: a **Test Patch Generator** and a **Code Patch Generator**, that iteratively improve tests and code in an adversarial loop. The Test Generator strengthens tests to better expose faults, and the Code Generator refines patches to satisfy the newly enhanced tests.
|
||||||
|
|
||||||
|
|
||||||
- **Patch Selector**: Select the best patch from all the candidate patches. Can interact with `File Editor`, `File Search`, `Bash Executor` tools.
|
- **Patch Selector**: Select the best patch from all the candidate patches. Can interact with `File Editor`, `File Search`, `Bash Executor` tools.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 236 KiB After Width: | Height: | Size: 314 KiB |
Reference in New Issue
Block a user