Muennighoff
commited on
Commit
•
21cd837
1
Parent(s):
c063a54
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import difflib
|
2 |
comms_neg = {'d6a51edc3e1cc7e7890b551c4f85d996e208153a', 'a5335eb51e6f26be07617599aa100fa18e5c3bb3', '7626b811492867af0eb76972135fd9e57f89badf', '4f38cab0095951af83ea628611c27363b3038c93', 'ac5035cb0c469261b27bbc1b290deb2d211bf0eb'}
|
3 |
neg = ds.filter(lambda x: x["commit"] in comms_neg)
|
@@ -7,4 +8,5 @@ for i,s in enumerate(diff):
|
|
7 |
elif s[0]=='-':
|
8 |
print(u'Delete "{}" from position {}'.format(s[-1],i))
|
9 |
elif s[0]=='+':
|
10 |
-
print(u'Add "{}" to position {}'.format(s[-1],i))
|
|
|
|
1 |
+
```python
|
2 |
import difflib
|
3 |
comms_neg = {'d6a51edc3e1cc7e7890b551c4f85d996e208153a', 'a5335eb51e6f26be07617599aa100fa18e5c3bb3', '7626b811492867af0eb76972135fd9e57f89badf', '4f38cab0095951af83ea628611c27363b3038c93', 'ac5035cb0c469261b27bbc1b290deb2d211bf0eb'}
|
4 |
neg = ds.filter(lambda x: x["commit"] in comms_neg)
|
|
|
8 |
elif s[0]=='-':
|
9 |
print(u'Delete "{}" from position {}'.format(s[-1],i))
|
10 |
elif s[0]=='+':
|
11 |
+
print(u'Add "{}" to position {}'.format(s[-1],i))
|
12 |
+
```
|