mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-04 21:28:12 +02:00
added link to paraphrases extraction
This commit is contained in:
@ -30,6 +30,7 @@ def extract_comment_for_paraphrases(dataset_path: str, output_path: str):
|
||||
comment = entry.comments[0].__dict__
|
||||
del comment["paraphrases"]
|
||||
results[entry.metadata.id] = {
|
||||
"link": f"https://github.com/{entry.metadata.repo}/pull/{entry.metadata.pr_number}",
|
||||
"comment": comment,
|
||||
"files": {fname: fdata.content_before_pr for fname, fdata in entry.files.items()},
|
||||
"diffs_before": entry.diffs_before,
|
||||
|
Reference in New Issue
Block a user