MCPcopy Index your code
hub / github.com/FSoft-AI4Code/HyperAgent / run

Method run

src/hyperagent/tasks/github_issue_resolve.py:45–49  ·  view source on GitHub ↗
(self, system, idx)

Source from the content-addressed store, hash-verified

43 return repo_link, commit, instance_id, self.images[instance_id]
44
45 def run(self, system, idx) -> Result:
46 prompt = self.construct_prompt(idx)
47 system.query_codebase(prompt)
48 prediction_patch = extract_patch(system.repo_dir)
49 return prediction_patch
50
51
52 def validate(self, proposed_patch, idx: int):

Callers 2

mainFunction · 0.95

Calls 3

construct_promptMethod · 0.95
extract_patchFunction · 0.90
query_codebaseMethod · 0.80

Tested by

no test coverage detected