Skip to content

Commit

Permalink
Update swe_verified_lite.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartManoj committed Oct 2, 2024
1 parent f6bfef7 commit df0fb1e
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions evaluation/swe_bench/swe_verified_lite.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import toml
from pyperclip import copy

swe_verified_lite = [
'astropy__astropy-12907',
'astropy__astropy-14182',
Expand Down Expand Up @@ -326,7 +329,17 @@
# intersect

r = set(swe_verified_lite) & set(gru_resolved)
print(len(r))
# print(len(r))
# load config.toml

file = open('evaluation/swe_bench/config.toml', 'r')
config = toml.load(file)
instance = config['selected_ids'][0]

r = sorted(r)
for k, i in enumerate(r, 1):
print(k, i)

idx = r.index(instance)
print(r[idx + 1])


copy(r[idx + 1])

0 comments on commit df0fb1e

Please sign in to comment.