Skip to content

Commit

Permalink
Fix: deleting incorrect repo path
Browse files Browse the repository at this point in the history
  • Loading branch information
hajdul88 committed Jan 10, 2025
1 parent 36407b2 commit e2ad54d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evals/eval_swe_bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from cognee.modules.retrieval.description_to_codepart_search import (
code_description_to_code_part_search,
)
from evals.eval_utils import download_github_repo, retrieved_edges_to_string


def check_install_package(package_name):
Expand All @@ -33,12 +34,11 @@ def check_install_package(package_name):


async def generate_patch_with_cognee(instance):
"""repo_path = download_github_repo(instance, "../RAW_GIT_REPOS")"""
repo_path = download_github_repo(instance, "../RAW_GIT_REPOS")
include_docs = True
problem_statement = instance["problem_statement"]
instructions = read_query_prompt("patch_gen_kg_instructions.txt")

repo_path = "/Users/laszlohajdu/Documents/GitHub/graph_rag/"
async for result in run_code_graph_pipeline(repo_path, include_docs=include_docs):
print(result)

Expand Down

0 comments on commit e2ad54d

Please sign in to comment.