From 125100fbadae4b6c89dba4e11d6fe86f291396d2 Mon Sep 17 00:00:00 2001 From: ecarg <gchoi@wikimedia.org> Date: Thu, 16 Nov 2023 11:24:41 -0800 Subject: [PATCH 1/5] Z61 update test branch --- test/features/v1/test_data/Z10144.json | 2 +- test/features/v1/test_data/Z7999_function_call.json | 2 +- test/features/v1/test_data/Z8000_type.json | 4 ++-- test/features/v1/test_data/evaluated-failed.json | 2 +- test/features/v1/test_data/evaluated-failed_expected.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/features/v1/test_data/Z10144.json b/test/features/v1/test_data/Z10144.json index 992a11e9..447c4d2a 100644 --- a/test/features/v1/test_data/Z10144.json +++ b/test/features/v1/test_data/Z10144.json @@ -11,7 +11,7 @@ "Z1K1": "Z16", "Z16K1": { "Z1K1": "Z61", - "Z61K1": "python" + "Z61K1": "Z610" }, "Z16K2": "def Z10143(Z10143K1):\n\treturn str(Z10143K1)" } diff --git a/test/features/v1/test_data/Z7999_function_call.json b/test/features/v1/test_data/Z7999_function_call.json index 588de7b2..aafa3008 100644 --- a/test/features/v1/test_data/Z7999_function_call.json +++ b/test/features/v1/test_data/Z7999_function_call.json @@ -25,7 +25,7 @@ "Z1K1": "Z16", "Z16K1": { "Z1K1": "Z61", - "Z61K1": "python-3" + "Z61K1": "Z611" }, "Z16K2": "Z7999 = lambda x: x" } diff --git a/test/features/v1/test_data/Z8000_type.json b/test/features/v1/test_data/Z8000_type.json index 31a237fa..51f02877 100644 --- a/test/features/v1/test_data/Z8000_type.json +++ b/test/features/v1/test_data/Z8000_type.json @@ -29,7 +29,7 @@ "Z1K1": "Z16", "Z16K1": { "Z1K1": "Z61", - "Z61K1": "python-3" + "Z61K1": "Z611" }, "Z16K2": "Z8001 = lambda Z8001K1: return int(Z8001K1.Z8000K1)" }, @@ -46,7 +46,7 @@ "Z1K1": "Z16", "Z16K1": { "Z1K1": "Z61", - "Z61K1": "python-3" + "Z61K1": "Z611" }, "Z16K2": "Z8002 = lambda Z8002K1: return {'Z1K1': 'Z8000', 'Z8000K1': str(Z8002K1)}" }, diff --git a/test/features/v1/test_data/evaluated-failed.json b/test/features/v1/test_data/evaluated-failed.json index 58edc571..72a27f2f 100644 --- a/test/features/v1/test_data/evaluated-failed.json +++ b/test/features/v1/test_data/evaluated-failed.json @@ -84,7 +84,7 @@ }, "Z61K1": { "Z1K1": "Z6", - "Z6K1": "python-3" + "Z6K1": "Z611" } }, "Z16K2": { diff --git a/test/features/v1/test_data/evaluated-failed_expected.json b/test/features/v1/test_data/evaluated-failed_expected.json index 62890674..dcda66b0 100644 --- a/test/features/v1/test_data/evaluated-failed_expected.json +++ b/test/features/v1/test_data/evaluated-failed_expected.json @@ -95,7 +95,7 @@ }, "Z61K1": { "Z1K1": "Z6", - "Z6K1": "python-3" + "Z6K1": "Z611" } }, "Z16K2": { -- GitLab From 2593e437b5140a62624c92667f37df5656d5e378 Mon Sep 17 00:00:00 2001 From: ecarg <gchoi@wikimedia.org> Date: Thu, 16 Nov 2023 11:39:11 -0800 Subject: [PATCH 2/5] observe pipeline with no changes --- test/features/v1/test_data/Z10144.json | 2 +- test/features/v1/test_data/Z7999_function_call.json | 3 ++- test/features/v1/test_data/Z8000_type.json | 2 +- test/features/v1/test_data/evaluated-failed.json | 2 +- test/features/v1/test_data/evaluated-failed_expected.json | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/test/features/v1/test_data/Z10144.json b/test/features/v1/test_data/Z10144.json index 447c4d2a..992a11e9 100644 --- a/test/features/v1/test_data/Z10144.json +++ b/test/features/v1/test_data/Z10144.json @@ -11,7 +11,7 @@ "Z1K1": "Z16", "Z16K1": { "Z1K1": "Z61", - "Z61K1": "Z610" + "Z61K1": "python" }, "Z16K2": "def Z10143(Z10143K1):\n\treturn str(Z10143K1)" } diff --git a/test/features/v1/test_data/Z7999_function_call.json b/test/features/v1/test_data/Z7999_function_call.json index aafa3008..fed238ca 100644 --- a/test/features/v1/test_data/Z7999_function_call.json +++ b/test/features/v1/test_data/Z7999_function_call.json @@ -25,8 +25,9 @@ "Z1K1": "Z16", "Z16K1": { "Z1K1": "Z61", - "Z61K1": "Z611" + "Z61K1": "python-3" }, + "Z16K2": "Z7999 = lambda x: x" } } diff --git a/test/features/v1/test_data/Z8000_type.json b/test/features/v1/test_data/Z8000_type.json index 51f02877..c93c65a9 100644 --- a/test/features/v1/test_data/Z8000_type.json +++ b/test/features/v1/test_data/Z8000_type.json @@ -29,7 +29,7 @@ "Z1K1": "Z16", "Z16K1": { "Z1K1": "Z61", - "Z61K1": "Z611" + "Z61K1": "python-3" }, "Z16K2": "Z8001 = lambda Z8001K1: return int(Z8001K1.Z8000K1)" }, diff --git a/test/features/v1/test_data/evaluated-failed.json b/test/features/v1/test_data/evaluated-failed.json index 72a27f2f..58edc571 100644 --- a/test/features/v1/test_data/evaluated-failed.json +++ b/test/features/v1/test_data/evaluated-failed.json @@ -84,7 +84,7 @@ }, "Z61K1": { "Z1K1": "Z6", - "Z6K1": "Z611" + "Z6K1": "python-3" } }, "Z16K2": { diff --git a/test/features/v1/test_data/evaluated-failed_expected.json b/test/features/v1/test_data/evaluated-failed_expected.json index dcda66b0..62890674 100644 --- a/test/features/v1/test_data/evaluated-failed_expected.json +++ b/test/features/v1/test_data/evaluated-failed_expected.json @@ -95,7 +95,7 @@ }, "Z61K1": { "Z1K1": "Z6", - "Z6K1": "Z611" + "Z6K1": "python-3" } }, "Z16K2": { -- GitLab From 95aa485a08c0e8f2923c7b7713b3e4d58c2aeaa0 Mon Sep 17 00:00:00 2001 From: ecarg <gchoi@wikimedia.org> Date: Thu, 16 Nov 2023 11:41:51 -0800 Subject: [PATCH 3/5] " --- test/features/v1/test_data/Z8000_type.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/features/v1/test_data/Z8000_type.json b/test/features/v1/test_data/Z8000_type.json index c93c65a9..31a237fa 100644 --- a/test/features/v1/test_data/Z8000_type.json +++ b/test/features/v1/test_data/Z8000_type.json @@ -46,7 +46,7 @@ "Z1K1": "Z16", "Z16K1": { "Z1K1": "Z61", - "Z61K1": "Z611" + "Z61K1": "python-3" }, "Z16K2": "Z8002 = lambda Z8002K1: return {'Z1K1': 'Z8000', 'Z8000K1': str(Z8002K1)}" }, -- GitLab From 81379afd38789ddff4777e134b529fb70f7cefa0 Mon Sep 17 00:00:00 2001 From: ecarg <gchoi@wikimedia.org> Date: Thu, 16 Nov 2023 11:50:16 -0800 Subject: [PATCH 4/5] passes locally --- test/features/v1/test_data/Z10144.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/features/v1/test_data/Z10144.json b/test/features/v1/test_data/Z10144.json index 992a11e9..f367e370 100644 --- a/test/features/v1/test_data/Z10144.json +++ b/test/features/v1/test_data/Z10144.json @@ -9,10 +9,7 @@ "Z14K1": "Z10143", "Z14K3": { "Z1K1": "Z16", - "Z16K1": { - "Z1K1": "Z61", - "Z61K1": "python" - }, + "Z16K1": "Z610", "Z16K2": "def Z10143(Z10143K1):\n\treturn str(Z10143K1)" } }, -- GitLab From fea49f0afc52dd2c5023535da13f3407fbba3625 Mon Sep 17 00:00:00 2001 From: ecarg <gchoi@wikimedia.org> Date: Thu, 16 Nov 2023 12:20:28 -0800 Subject: [PATCH 5/5] passes locally python-3 --- test/features/v1/test_data/Z7999_function_call.json | 5 +---- test/features/v1/test_data/evaluated-returns-degenerate.json | 5 +---- .../v1/test_data/first-implementation-evaluator-down.json | 5 +---- test/features/v1/test_data/multiple-implementations.json | 5 +---- .../v1/test_data/string-numeral-increment-Z40002.json | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-) diff --git a/test/features/v1/test_data/Z7999_function_call.json b/test/features/v1/test_data/Z7999_function_call.json index fed238ca..e383b107 100644 --- a/test/features/v1/test_data/Z7999_function_call.json +++ b/test/features/v1/test_data/Z7999_function_call.json @@ -23,10 +23,7 @@ "Z14K1": "Z7999", "Z14K3": { "Z1K1": "Z16", - "Z16K1": { - "Z1K1": "Z61", - "Z61K1": "python-3" - }, + "Z16K1": "Z611", "Z16K2": "Z7999 = lambda x: x" } diff --git a/test/features/v1/test_data/evaluated-returns-degenerate.json b/test/features/v1/test_data/evaluated-returns-degenerate.json index 41eb067d..148e45a3 100644 --- a/test/features/v1/test_data/evaluated-returns-degenerate.json +++ b/test/features/v1/test_data/evaluated-returns-degenerate.json @@ -16,10 +16,7 @@ "Z14K1": "Z430430", "Z14K3": { "Z1K1": "Z16", - "Z16K1": { - "Z1K1": "Z61", - "Z61K1": "python-3" - }, + "Z16K1": "Z611", "Z16K2": "def 430430():\n with open('something', 'w'):\n pass" } } diff --git a/test/features/v1/test_data/first-implementation-evaluator-down.json b/test/features/v1/test_data/first-implementation-evaluator-down.json index ff99735d..3859d208 100644 --- a/test/features/v1/test_data/first-implementation-evaluator-down.json +++ b/test/features/v1/test_data/first-implementation-evaluator-down.json @@ -16,10 +16,7 @@ "Z14K1": "Z168421", "Z14K3": { "Z1K1": "Z16", - "Z16K1": { - "Z1K1": "Z61", - "Z61K1": "python-3" - }, + "Z16K1": "Z611", "Z16K2": "Z168421 = lambda: False" } }, diff --git a/test/features/v1/test_data/multiple-implementations.json b/test/features/v1/test_data/multiple-implementations.json index bd461d48..01e13adc 100644 --- a/test/features/v1/test_data/multiple-implementations.json +++ b/test/features/v1/test_data/multiple-implementations.json @@ -16,10 +16,7 @@ "Z14K1": "Z12421", "Z14K3": { "Z1K1": "Z16", - "Z16K1": { - "Z1K1": "Z61", - "Z61K1": "python-3" - }, + "Z16K1": "Z611", "Z16K2": "Z12421 = lambda: True" } }, diff --git a/test/features/v1/test_data/string-numeral-increment-Z40002.json b/test/features/v1/test_data/string-numeral-increment-Z40002.json index 39cac716..5bf3452e 100644 --- a/test/features/v1/test_data/string-numeral-increment-Z40002.json +++ b/test/features/v1/test_data/string-numeral-increment-Z40002.json @@ -33,10 +33,7 @@ "Z14K1": "Z40002", "Z14K3": { "Z1K1": "Z16", - "Z16K1": { - "Z1K1": "Z61", - "Z61K1": "python-3" - }, + "Z16K1": "Z611", "Z16K2": "Z40002K0 = str(int(Z40002K1) + 1)" } } -- GitLab