d8ff24c9e49dd199c01e8e099420f2d5b170df7b,source/test.py,,,#,649

Before Change


return_obj = general_algorithm(minimum_lettres=28, minimum_spaces=4,
                               is_export=True, is_export_mentions=True)

with open("mentions_list_ankit.json", "w") as f:
    f.write(json.dumps(return_obj, indent=2, sort_keys=True))

// stats_run()

// whole_filelist_test_inclusive(filelist)
// print_statistics_documents()

After Change


                                is_export=True, is_export_mentions=True)

mentionslist1 = return_obj["mentions"]
mentionslist2 = return_obj2["mentions"]

A_minus_B_set = [ x for x in mentionslist1 if x not in mentionslist2]

print(json.dumps(A_minus_B_set, indent=True, sort_keys=True))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: Rostlab/nalaf
Commit Name: d8ff24c9e49dd199c01e8e099420f2d5b170df7b
Time: 2015-05-28
Author: carsten.uhlig@gmail.com
File Name: source/test.py
Class Name:
Method Name:


Project Name: zake7749/PTT-Chat-Generator
Commit Name: fe87da76b6b7e54e766ac238f4b5b46d2f578493
Time: 2016-10-20
Author: zake7749@gmail.com
File Name: filter.py
Class Name: ArticleFilter
Method Name: load_processed_corpus


Project Name: maciejkula/spotlight
Commit Name: eef158f03c4ec9bf872a3e358d62a1fd21a73c35
Time: 2017-07-13
Author: maciej.kula@gmail.com
File Name: examples/movielens_cnn.py
Class Name:
Method Name:


Project Name: pyinstaller/pyinstaller
Commit Name: 0ad7b32e8f67ad66c659408cd53e39b704af3f67
Time: 2015-09-18
Author: mzibr.public@gmail.com
File Name: PyInstaller/utils/release.py
Class Name:
Method Name: sign_source_distribution