2023-06-30 15:11:20 -04:00
|
|
|
{"flow": {"nodes": [{"width": 312, "height": 311, "id": "prompt-unified-patch", "type": "prompt", "data": {"prompt": "{prompt}", "n": 1, "llms": [{"key": "aa3c0f03-22bd-416e-af4d-4bf5c4278c99", "settings": {"system_msg": "Task: Output the correct patch from the given input and malformed patch with incorrect line numbers in Unified Diff format.", "temperature": 1, "functions": [], "function_call": "", "top_p": 1, "stop": [], "presence_penalty": 0, "frequency_penalty": 0}, "name": "GPT3.5", "emoji": "\ud83d\ude42", "model": "gpt-3.5-turbo", "base_model": "gpt-3.5-turbo", "temp": 1, "formData": {"shortname": "GPT3.5", "model": "gpt-3.5-turbo", "system_msg": "Task: Output the correct patch from the given input and malformed patch with incorrect line numbers in Unified Diff format.", "temperature": 1, "functions": "", "function_call": "", "top_p": 1, "stop": "", "presence_penalty": 0, "frequency_penalty": 0}}]}, "position": {"x": 448, "y": 224}, "selected": false, "positionAbsolute": {"x": 448, "y": 224}, "dragging": false}, {"width": 333, "height": 182, "id": "eval-unified-patch", "type": "evaluator", "data": {"code": "function evaluate(response) {\n\tlet ideals = JSON.parse(response.meta['Ideal']);\n\treturn ideals.some(i => response.text.includes(i));\n}", "language": "javascript"}, "position": {"x": 820, "y": 150}, "positionAbsolute": {"x": 820, "y": 150}}, {"width": 228, "height": 196, "id": "vis-unified-patch", "type": "vis", "data": {"input": "eval-unified-patch"}, "position": {"x": 1200, "y": 250}, "positionAbsolute": {"x": 1200, "y": 250}}, {"width": 302, "height": 260, "id": "inspect-unified-patch", "type": "inspect", "data": {"input": "prompt-unified-patch"}, "position": {"x": 820, "y": 400}, "positionAbsolute": {"x": 820, "y": 400}}, {"width": 423, "height": 417, "id": "table-unified-patch", "type": "table", "data": {"rows": [{"prompt": "Given this input file ```\n701455\n753947\n952545\n694658\n724002\n158388\n379555\n997602\n833233\n689750\n417479\n468027\n69993\n```\n and this malformed patch ```\n--- file_58566.txt\n+++ file_58566.txt\n@@ X,X X,X @@\n 701455\n 753947\n 952545\n-694658\n 724002\n 158388\n-379555\n 997602\n 833233\n 689750\n``` output just the corrected patch, nothing else.", "ideal": "[\"--- file_58566.txt\\n+++ file_58566.txt\\n@@ -1,10 +1,8 @@\\n 701455\\n 753947\\n 952545\\n-694658\\n 724002\\n 158388\\n-379555\\n 997602\\n 833233\\n 689750\\n\"]"}, {"prompt": "Given this input file ```\n137132\n958115\n942829\n971026\n123400\n706739\n231446\n112618\n75014\n250593\n862412\n657169\n```\n and this malformed patch ```\n--- file_697676.txt\n+++ file_697676.txt\n@@ X,X X,X @@\n 958115\n 942829\n 971026\n-123400\n 706739\n 231446\n 112618\n 75014\n-250593\n 862412\n 657169\n``` output just the corrected patch, nothing else.", "ideal": "[\"--- file_697676.txt\\n+++ file_697676.txt\\n@@ -2,11 +2,9 @@\\n 958115\\n 942829\\n 971026\\n-123400\\n 706739\\n 231446\\n 112618\\n 75014\\n-250593\\n 862412\\n 657169\\n\"]"}, {"prompt": "Given this input file ```\n550481\n5805\n420810\n891010\n385616\n444523\n886228\n451405\n979223\n105265\n770968\n830129\n```\n and this malformed patch ```\n--- file_891507.txt\n+++ file_891507.txt\n@@ X,X X,X @@\n 550481\n-5805\n 420810\n-891010\n 385616\n 444523\n 886228\n``` output just the corrected patch, nothing else.", "ideal": "[\"--- file_891507.txt\\n+++ file_891507.txt\\n@@ -1,7 +1,5 @@\\n 550481\\n-5805\\n 420810\\n-891010\\n 385616\\n 444523\\n 886228\\n\"]"}, {"prompt": "Given this input file ```\n625496\n869955\n623320\n136931\n697635\n327957\n310820\n317489\n174338\n763637\n28132\n991157\n956340\n901946\n93178\n929093\n503735\n756683\n600214\n880008\n```\n and this malformed patch ```\n--- file_604910.txt\n+++ file_604910.txt\n@@ X,X X,X @@\n 869955\n 623320\n 136931\n-697635\n 327957\n 310820\n 317489\n 174338\n 763637\n 28132\n-991157\n 956340\n 901946\n 93178\n``` output just the corrected patch, nothing else.", "ideal": "[\"--- file_604910.txt\\n+++ file_604910.txt\\n@@ -2,14 +2,12 @@\\n 869955\\n 623320\\n 136931\\n-697635\\n 327957\\n 310820\\n 317489\\
|