-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathp1_pilot.json
1 lines (1 loc) · 10.7 KB
/
p1_pilot.json
1
var obj = JSON.parse(String.raw`{"[email protected]": {"out": ["letter_catalog :\ncase inputs: ([['Apple', 'Avocado', 'Banana', 'Blackberries', 'Blueberries', 'Cherries']], {'letter': 'A'})\nResults: ['Benar', ['Apple', 'Avocado'], <class 'list'>, ['Apple', 'Avocado'], <class 'list'>]\ncase inputs: ([['Apple', 'Avocado', 'Banana', 'Blackberries', 'Blueberries', 'Cherries']], {'letter': 'B'})\nResults: ['Benar', ['Banana', 'Blackberries', 'Blueberries'], <class 'list'>, ['Banana', 'Blackberries', 'Blueberries'], <class 'list'>]\ncase inputs: ([['Apple', 'Avocado', 'Banana', 'Blackberries', 'Blueberries', 'Cherries']], {'letter': 'C'})\nResults: ['Benar', ['Cherries'], <class 'list'>, ['Cherries'], <class 'list'>]\n", "counter_item :\ncase inputs: [[['Cherries', 'Blueberries', 'Banana', 'Avocado', 'Blackberries', 'Banana', 'Blueberries', 'Avocado', 'Banana', 'Blackberries']], {}]\nResults: ['Benar', {'Cherries': 1, 'Blueberries': 2, 'Banana': 3, 'Avocado': 2, 'Blackberries': 2}, <class 'dict'>, {'Cherries': 1, 'Blueberries': 2, 'Banana': 3, 'Avocado': 2, 'Blackberries': 2}, <class 'dict'>]\ncase inputs: [[['Cherries', 'Blackberries', 'Avocado', 'Blueberries', 'Blackberries', 'Avocado', 'Cherries', 'Cherries', 'Blueberries', 'Cherries']], {}]\nResults: ['Benar', {'Cherries': 4, 'Blackberries': 2, 'Avocado': 2, 'Blueberries': 2}, <class 'dict'>, {'Cherries': 4, 'Blackberries': 2, 'Avocado': 2, 'Blueberries': 2}, <class 'dict'>]\ncase inputs: [[['Avocado', 'Blueberries', 'Cherries', 'Blueberries', 'Banana', 'Apple', 'Banana', 'Blackberries', 'Cherries', 'Cherries']], {}]\nResults: ['Benar', {'Avocado': 1, 'Blueberries': 2, 'Cherries': 3, 'Banana': 2, 'Apple': 1, 'Blackberries': 1}, <class 'dict'>, {'Avocado': 1, 'Blueberries': 2, 'Cherries': 3, 'Banana': 2, 'Apple': 1, 'Blackberries': 1}, <class 'dict'>]\n", "fruit_price :\n['Benar', {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}, <class 'dict'>, {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}, <class 'dict'>]", "total_price :\ncase inputs: ([{'Cherries': 1, 'Blueberries': 2, 'Banana': 3, 'Avocado': 2, 'Blackberries': 2}, {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}], {})\nResults: ['Benar', 70, <class 'int'>, 70, <class 'int'>]\ncase inputs: ([{'Cherries': 4, 'Blackberries': 2, 'Avocado': 2, 'Blueberries': 2}, {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}], {})\nResults: ['Benar', 82, <class 'int'>, 82, <class 'int'>]\ncase inputs: ([{'Avocado': 1, 'Blueberries': 2, 'Cherries': 3, 'Banana': 2, 'Apple': 1, 'Blackberries': 1}, {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}], {})\nResults: ['Benar', 72, <class 'int'>, 72, <class 'int'>]\n", "discounted_price :\ncase inputs: [(100, 10), {'minprice': 100}]\nResults: ['Benar', 90.0, <class 'float'>, 90.0, <class 'float'>]\ncase inputs: [(110, 10), {'minprice': 80}]\nResults: ['Benar', 99.0, <class 'float'>, 99.0, <class 'float'>]\ncase inputs: [(100, 15), {'minprice': 120}]\nResults: ['Benar', 100, <class 'int'>, 100, <class 'int'>]\ncase inputs: [(200, 12), {'minprice': 100}]\nResults: ['Benar', 176.0, <class 'float'>, 176.0, <class 'float'>]\ncase inputs: [(230, 33), {'minprice': 100}]\nResults: ['Salah', 154.1, <class 'float'>, 154.10000000000002, <class 'float'>]\n"], "score": 80.0, "scores": [1.0, 1.0, 1, 1.0, 0.8]}, "[email protected]": {"out": ["letter_catalog :\ncase inputs: ([['Apple', 'Avocado', 'Banana', 'Blackberries', 'Blueberries', 'Cherries']], {'letter': 'A'})\nResults: ['Benar', ['Apple', 'Avocado'], <class 'list'>, ['Apple', 'Avocado'], <class 'list'>]\ncase inputs: ([['Apple', 'Avocado', 'Banana', 'Blackberries', 'Blueberries', 'Cherries']], {'letter': 'B'})\nResults: ['Benar', ['Banana', 'Blackberries', 'Blueberries'], <class 'list'>, ['Banana', 'Blackberries', 'Blueberries'], <class 'list'>]\ncase inputs: ([['Apple', 'Avocado', 'Banana', 'Blackberries', 'Blueberries', 'Cherries']], {'letter': 'C'})\nResults: ['Benar', ['Cherries'], <class 'list'>, ['Cherries'], <class 'list'>]\n", "counter_item :\ncase inputs: [[['Cherries', 'Blueberries', 'Banana', 'Avocado', 'Blackberries', 'Banana', 'Blueberries', 'Avocado', 'Banana', 'Blackberries']], {}]\nResults: ['Benar', {'Cherries': 1, 'Blueberries': 2, 'Banana': 3, 'Avocado': 2, 'Blackberries': 2}, <class 'dict'>, {'Cherries': 1, 'Blueberries': 2, 'Banana': 3, 'Avocado': 2, 'Blackberries': 2}, <class 'dict'>]\ncase inputs: [[['Cherries', 'Blackberries', 'Avocado', 'Blueberries', 'Blackberries', 'Avocado', 'Cherries', 'Cherries', 'Blueberries', 'Cherries']], {}]\nResults: ['Benar', {'Cherries': 4, 'Blackberries': 2, 'Avocado': 2, 'Blueberries': 2}, <class 'dict'>, {'Cherries': 4, 'Blackberries': 2, 'Avocado': 2, 'Blueberries': 2}, <class 'dict'>]\ncase inputs: [[['Avocado', 'Blueberries', 'Cherries', 'Blueberries', 'Banana', 'Apple', 'Banana', 'Blackberries', 'Cherries', 'Cherries']], {}]\nResults: ['Benar', {'Avocado': 1, 'Blueberries': 2, 'Cherries': 3, 'Banana': 2, 'Apple': 1, 'Blackberries': 1}, <class 'dict'>, {'Avocado': 1, 'Blueberries': 2, 'Cherries': 3, 'Banana': 2, 'Apple': 1, 'Blackberries': 1}, <class 'dict'>]\n", "fruit_price :\n['Benar', {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}, <class 'dict'>, {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}, <class 'dict'>]", "total_price :\ncase inputs: ([{'Cherries': 1, 'Blueberries': 2, 'Banana': 3, 'Avocado': 2, 'Blackberries': 2}, {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}], {})\nResults: ['Benar', 70, <class 'int'>, 70, <class 'int'>]\ncase inputs: ([{'Cherries': 4, 'Blackberries': 2, 'Avocado': 2, 'Blueberries': 2}, {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}], {})\nResults: ['Benar', 82, <class 'int'>, 82, <class 'int'>]\ncase inputs: ([{'Avocado': 1, 'Blueberries': 2, 'Cherries': 3, 'Banana': 2, 'Apple': 1, 'Blackberries': 1}, {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}], {})\nResults: ['Benar', 72, <class 'int'>, 72, <class 'int'>]\n", "discounted_price :\ncase inputs: [(100, 10), {'minprice': 100}]\nResults: ['Salah', 90.0, <class 'float'>, 100, <class 'int'>]\ncase inputs: [(110, 10), {'minprice': 80}]\nResults: ['Benar', 99.0, <class 'float'>, 99.0, <class 'float'>]\ncase inputs: [(100, 15), {'minprice': 120}]\nResults: ['Benar', 100, <class 'int'>, 100, <class 'int'>]\ncase inputs: [(200, 12), {'minprice': 100}]\nResults: ['Benar', 176.0, <class 'float'>, 176.0, <class 'float'>]\ncase inputs: [(230, 33), {'minprice': 100}]\nResults: ['Benar', 154.1, <class 'float'>, 154.1, <class 'float'>]\n", "print_summary :\ncase inputs: [[['Banana', 'Cherries', 'Avocado', 'Blueberries', 'Blackberries', 'Apple', 'Blueberries', 'Banana', 'Blueberries', 'Blueberries'], {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}], {}]\nResults: ['Salah', '1 Apple : 6\\n1 Avocado : 5\\n2 Banana : 6\\n1 Blackberries : 10\\n4 Blueberries : 48\\n1 Cherries : 7\\ntotal : 82\\ndiscount price : 82\\n', <class 'str'>, '2 Banana : 6\\n1 Cherries : 7\\n1 Avocado : 5\\n4 Blueberries : 48\\n1 Blackberries : 10\\n1 Apple : 6\\ntotal : 82\\ndiscount price : 82\\n', <class 'str'>]\ncase inputs: [[['Apple', 'Banana', 'Cherries', 'Avocado', 'Avocado', 'Cherries', 'Avocado', 'Blackberries', 'Avocado', 'Cherries'], {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}], {}]\nResults: ['Salah', '1 Apple : 6\\n4 Avocado : 20\\n1 Banana : 3\\n1 Blackberries : 10\\n3 Cherries : 21\\ntotal : 60\\ndiscount price : 60\\n', <class 'str'>, '1 Apple : 6\\n1 Banana : 3\\n3 Cherries : 21\\n4 Avocado : 20\\n1 Blackberries : 10\\ntotal : 60\\ndiscount price : 60\\n', <class 'str'>]\ncase inputs: [[['Blueberries', 'Banana', 'Apple', 'Avocado', 'Blackberries', 'Cherries', 'Apple', 'Blackberries', 'Blueberries', 'Blackberries'], {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}], {}]\nResults: ['Salah', '2 Apple : 12\\n1 Avocado : 5\\n1 Banana : 3\\n3 Blackberries : 30\\n2 Blueberries : 24\\n1 Cherries : 7\\ntotal : 81\\ndiscount price : 81\\n', <class 'str'>, '2 Blueberries : 24\\n1 Banana : 3\\n2 Apple : 12\\n1 Avocado : 5\\n3 Blackberries : 30\\n1 Cherries : 7\\ntotal : 81\\ndiscount price : 81\\n', <class 'str'>]\ncase inputs: [[['Blueberries', 'Blackberries', 'Cherries', 'Blackberries', 'Blackberries', 'Banana', 'Blackberries', 'Banana', 'Blackberries', 'Avocado'], {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}], {}]\nResults: ['Salah', '1 Avocado : 5\\n2 Banana : 6\\n5 Blackberries : 50\\n1 Blueberries : 12\\n1 Cherries : 7\\ntotal : 80\\ndiscount price : 80\\n', <class 'str'>, '1 Blueberries : 12\\n5 Blackberries : 50\\n1 Cherries : 7\\n2 Banana : 6\\n1 Avocado : 5\\ntotal : 80\\ndiscount price : 80\\n', <class 'str'>]\ncase inputs: [[['Avocado', 'Avocado', 'Blackberries', 'Blackberries', 'Banana', 'Apple', 'Blueberries', 'Cherries', 'Cherries', 'Cherries'], {'Apple': 6, 'Avocado': 5, 'Banana': 3, 'Blackberries': 10, 'Blueberries': 12, 'Cherries': 7, 'Date Fruit': 14, 'Grapes': 15, 'Guava': 8, 'Jackfruit': 7, 'Kiwifruit': 9}], {}]\nResults: ['Salah', '1 Apple : 6\\n2 Avocado : 10\\n1 Banana : 3\\n2 Blackberries : 20\\n1 Blueberries : 12\\n3 Cherries : 21\\ntotal : 72\\ndiscount price : 72\\n', <class 'str'>, '2 Avocado : 10\\n2 Blackberries : 20\\n1 Banana : 3\\n1 Apple : 6\\n1 Blueberries : 12\\n3 Cherries : 21\\ntotal : 72\\ndiscount price : 72\\n', <class 'str'>]\n"], "score": 80.0, "scores": [1.0, 1.0, 1, 1.0, 0.8, 0.0]}}`);