Skip to content

Too much apply diff fail #346

Description

@xwqsl

Currently, openEvolve use the search/replace format for llm to generate patch for code. However, in practice, we found when prompt gets longer and more complex, such a format will cause many apply diff fails, (for example , the search part is not exactly match with the original code ,e.g., missing space, put unnecessary extra comment,...), is there any solutions to deal with such a problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions