resolved_instances_before =[
    "django__django-15987 (django)",
    "scikit-learn__scikit-learn-13135 (scikit-learn)",
    "scikit-learn__scikit-learn-13142 (scikit-learn)",
    "django__django-15863 (django)",
    "django__django-16136 (django)",
    "django__django-15315 (django)",
    "sympy__sympy-19346 (sympy)",
    "django__django-11880 (django)",
    "django__django-15368 (django)",
    "pytest-dev__pytest-5809 (pytest-dev)",
    "sympy__sympy-17139 (sympy)",
    "sympy__sympy-14531 (sympy)",
    "django__django-13363 (django)",
    "pytest-dev__pytest-7982 (pytest-dev)",
    "django__django-14855 (django)",
    "django__django-10880 (django)",
    "django__django-15103 (django)",
    "django__django-13089 (django)",
    "django__django-11095 (django)"
]

'''
resolved_instances_after=[
    "django__django-13417 (django)",
    "pytest-dev__pytest-5809 (pytest-dev)",
    "sympy__sympy-14531 (sympy)",
    "django__django-14017 (django)",
    "pytest-dev__pytest-7982 (pytest-dev)",
    "django__django-11095 (django)",
    "django__django-16642 (django)",
    "django__django-15103 (django)",
    "django__django-15368 (django)",
    "django__django-15315 (django)",
    "pydata__xarray-6461 (pydata)",
    "sympy__sympy-14248 (sympy)",
    "django__django-16136 (django)",
    "django__django-14007 (django)",
    "scikit-learn__scikit-learn-13142 (scikit-learn)",
    "matplotlib__matplotlib-20826 (matplotlib)",
    "django__django-15863 (django)",
    "django__django-13089 (django)",
    "django__django-14855 (django)"
]
'''

resolved_instances_after = [
    "django__django-13363 (django)",
    "django__django-13417 (django)",
    "django__django-10880 (django)",
    "sympy__sympy-17139 (sympy)",
    "pytest-dev__pytest-5809 (pytest-dev)",
    "django__django-14017 (django)",
    "pytest-dev__pytest-7982 (pytest-dev)",
    "django__django-11095 (django)",
    "django__django-16642 (django)",
    "django__django-15103 (django)",
    "django__django-15987 (django)",
    "django__django-15368 (django)",
    "django__django-15315 (django)",
    "pydata__xarray-6461 (pydata)",
    "scikit-learn__scikit-learn-13135 (scikit-learn)",
    "scikit-learn__scikit-learn-13142 (scikit-learn)",
    "django__django-15863 (django)",
    "django__django-11880 (django)",
    "django__django-13089 (django)",
    "django__django-14855 (django)",
    "sympy__sympy-19346 (sympy)"
]

only_in_before = set(resolved_instances_before) - set(resolved_instances_after)
only_in_after = set(resolved_instances_after) - set(resolved_instances_before)

print(f"In before but not in after ({len(only_in_before)}):")
for item in sorted(only_in_before):
    print(item)

print(f"\nIn after but not in before ({len(only_in_after)}):")
for item in sorted(only_in_after):
    print(item)

