(self, idx)
| 35 | return len(self.dataset) |
| 36 | |
| 37 | def __getitem__(self, idx): |
| 38 | repo = self.dataset[idx]["repo"] |
| 39 | commit = self.dataset[idx]["base_commit"] |
| 40 | instance_id = self.dataset[idx]["instance_id"] |
| 41 | |
| 42 | repo_link = f"https://github.com/{repo}" |
| 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) |
nothing calls this directly
no outgoing calls
no test coverage detected