From c13eeb68100708279273e79d7982e98c7040b734 Mon Sep 17 00:00:00 2001 From: Henry Lee Date: Wed, 8 Nov 2023 16:19:36 +0900 Subject: [PATCH 1/4] refactor(ocaml): refactoring ocaml lambda --- OCaml/lambda-1/.dockerignore | 2 ++ OCaml/lambda-1/Dockerfile | 6 ++++ .../bug.ml => OCaml/lambda-1/buggy/src.ml | 0 .../src => OCaml/lambda-1/buggy}/testcases | 0 OCaml/lambda-1/metadata.json | 12 +++++++ OCaml/lambda-10/.dockerignore | 2 ++ OCaml/lambda-10/Dockerfile | 6 ++++ .../bug_10 => OCaml/lambda-10/buggy}/bug.ml | 0 OCaml/lambda-10/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-10/metadata.json | 12 +++++++ OCaml/lambda-100/.dockerignore | 2 ++ OCaml/lambda-100/Dockerfile | 6 ++++ .../bug_100 => OCaml/lambda-100/buggy}/bug.ml | 0 OCaml/lambda-100/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-100/metadata.json | 12 +++++++ OCaml/lambda-11/.dockerignore | 2 ++ OCaml/lambda-11/Dockerfile | 6 ++++ .../bug_11 => OCaml/lambda-11/buggy}/bug.ml | 0 OCaml/lambda-11/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-11/metadata.json | 12 +++++++ OCaml/lambda-12/.dockerignore | 2 ++ OCaml/lambda-12/Dockerfile | 6 ++++ .../bug_12 => OCaml/lambda-12/buggy}/bug.ml | 0 OCaml/lambda-12/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-12/metadata.json | 12 +++++++ OCaml/lambda-13/.dockerignore | 2 ++ OCaml/lambda-13/Dockerfile | 6 ++++ .../bug_13 => OCaml/lambda-13/buggy}/bug.ml | 0 OCaml/lambda-13/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-13/metadata.json | 12 +++++++ OCaml/lambda-14/.dockerignore | 2 ++ OCaml/lambda-14/Dockerfile | 6 ++++ .../bug_14 => OCaml/lambda-14/buggy}/bug.ml | 0 OCaml/lambda-14/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-14/metadata.json | 12 +++++++ OCaml/lambda-15/.dockerignore | 2 ++ OCaml/lambda-15/Dockerfile | 6 ++++ .../bug_15 => OCaml/lambda-15/buggy}/bug.ml | 0 OCaml/lambda-15/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-15/metadata.json | 12 +++++++ OCaml/lambda-16/.dockerignore | 2 ++ OCaml/lambda-16/Dockerfile | 6 ++++ .../bug_16 => OCaml/lambda-16/buggy}/bug.ml | 0 OCaml/lambda-16/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-16/metadata.json | 12 +++++++ OCaml/lambda-17/.dockerignore | 2 ++ OCaml/lambda-17/Dockerfile | 6 ++++ .../bug_17 => OCaml/lambda-17/buggy}/bug.ml | 0 OCaml/lambda-17/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-17/metadata.json | 12 +++++++ OCaml/lambda-18/.dockerignore | 2 ++ OCaml/lambda-18/Dockerfile | 6 ++++ .../bug_18 => OCaml/lambda-18/buggy}/bug.ml | 0 OCaml/lambda-18/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-18/metadata.json | 12 +++++++ OCaml/lambda-19/.dockerignore | 2 ++ OCaml/lambda-19/Dockerfile | 6 ++++ .../bug_19 => OCaml/lambda-19/buggy}/bug.ml | 0 OCaml/lambda-19/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-19/metadata.json | 12 +++++++ OCaml/lambda-2/.dockerignore | 2 ++ OCaml/lambda-2/Dockerfile | 6 ++++ .../bug_2 => OCaml/lambda-2/buggy}/bug.ml | 0 OCaml/lambda-2/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-2/metadata.json | 12 +++++++ OCaml/lambda-20/.dockerignore | 2 ++ OCaml/lambda-20/Dockerfile | 6 ++++ .../bug_20 => OCaml/lambda-20/buggy}/bug.ml | 0 OCaml/lambda-20/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-20/metadata.json | 12 +++++++ OCaml/lambda-21/.dockerignore | 2 ++ OCaml/lambda-21/Dockerfile | 6 ++++ .../bug_21 => OCaml/lambda-21/buggy}/bug.ml | 0 OCaml/lambda-21/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-21/metadata.json | 12 +++++++ OCaml/lambda-22/.dockerignore | 2 ++ OCaml/lambda-22/Dockerfile | 6 ++++ .../bug_22 => OCaml/lambda-22/buggy}/bug.ml | 0 OCaml/lambda-22/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-22/metadata.json | 12 +++++++ OCaml/lambda-23/.dockerignore | 2 ++ OCaml/lambda-23/Dockerfile | 6 ++++ .../bug_23 => OCaml/lambda-23/buggy}/bug.ml | 0 OCaml/lambda-23/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-23/metadata.json | 12 +++++++ OCaml/lambda-24/.dockerignore | 2 ++ OCaml/lambda-24/Dockerfile | 6 ++++ .../bug_24 => OCaml/lambda-24/buggy}/bug.ml | 0 OCaml/lambda-24/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-24/metadata.json | 12 +++++++ OCaml/lambda-25/.dockerignore | 2 ++ OCaml/lambda-25/Dockerfile | 6 ++++ .../bug_25 => OCaml/lambda-25/buggy}/bug.ml | 0 OCaml/lambda-25/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-25/metadata.json | 12 +++++++ OCaml/lambda-26/.dockerignore | 2 ++ OCaml/lambda-26/Dockerfile | 6 ++++ .../bug_26 => OCaml/lambda-26/buggy}/bug.ml | 0 OCaml/lambda-26/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-26/metadata.json | 12 +++++++ OCaml/lambda-27/.dockerignore | 2 ++ OCaml/lambda-27/Dockerfile | 6 ++++ .../bug_27 => OCaml/lambda-27/buggy}/bug.ml | 0 OCaml/lambda-27/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-27/metadata.json | 12 +++++++ OCaml/lambda-28/.dockerignore | 2 ++ OCaml/lambda-28/Dockerfile | 6 ++++ .../bug_28 => OCaml/lambda-28/buggy}/bug.ml | 0 OCaml/lambda-28/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-28/metadata.json | 12 +++++++ OCaml/lambda-29/.dockerignore | 2 ++ OCaml/lambda-29/Dockerfile | 6 ++++ .../bug_29 => OCaml/lambda-29/buggy}/bug.ml | 0 OCaml/lambda-29/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-29/metadata.json | 12 +++++++ OCaml/lambda-3/.dockerignore | 2 ++ OCaml/lambda-3/Dockerfile | 6 ++++ .../bug_3 => OCaml/lambda-3/buggy}/bug.ml | 0 OCaml/lambda-3/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-3/metadata.json | 12 +++++++ OCaml/lambda-30/.dockerignore | 2 ++ OCaml/lambda-30/Dockerfile | 6 ++++ .../bug_30 => OCaml/lambda-30/buggy}/bug.ml | 0 OCaml/lambda-30/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-30/metadata.json | 12 +++++++ OCaml/lambda-31/.dockerignore | 2 ++ OCaml/lambda-31/Dockerfile | 6 ++++ .../bug_31 => OCaml/lambda-31/buggy}/bug.ml | 0 OCaml/lambda-31/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-31/metadata.json | 12 +++++++ OCaml/lambda-32/.dockerignore | 2 ++ OCaml/lambda-32/Dockerfile | 6 ++++ .../bug_32 => OCaml/lambda-32/buggy}/bug.ml | 0 OCaml/lambda-32/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-32/metadata.json | 12 +++++++ OCaml/lambda-33/.dockerignore | 2 ++ OCaml/lambda-33/Dockerfile | 6 ++++ .../bug_33 => OCaml/lambda-33/buggy}/bug.ml | 0 OCaml/lambda-33/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-33/metadata.json | 12 +++++++ OCaml/lambda-34/.dockerignore | 2 ++ OCaml/lambda-34/Dockerfile | 6 ++++ .../bug_34 => OCaml/lambda-34/buggy}/bug.ml | 0 OCaml/lambda-34/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-34/metadata.json | 12 +++++++ OCaml/lambda-35/.dockerignore | 2 ++ OCaml/lambda-35/Dockerfile | 6 ++++ .../bug_35 => OCaml/lambda-35/buggy}/bug.ml | 0 OCaml/lambda-35/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-35/metadata.json | 12 +++++++ OCaml/lambda-36/.dockerignore | 2 ++ OCaml/lambda-36/Dockerfile | 6 ++++ .../bug_36 => OCaml/lambda-36/buggy}/bug.ml | 0 OCaml/lambda-36/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-36/metadata.json | 12 +++++++ OCaml/lambda-37/.dockerignore | 2 ++ OCaml/lambda-37/Dockerfile | 6 ++++ .../bug_37 => OCaml/lambda-37/buggy}/bug.ml | 0 OCaml/lambda-37/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-37/metadata.json | 12 +++++++ OCaml/lambda-38/.dockerignore | 2 ++ OCaml/lambda-38/Dockerfile | 6 ++++ .../bug_38 => OCaml/lambda-38/buggy}/bug.ml | 0 OCaml/lambda-38/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-38/metadata.json | 12 +++++++ OCaml/lambda-39/.dockerignore | 2 ++ OCaml/lambda-39/Dockerfile | 6 ++++ .../bug_39 => OCaml/lambda-39/buggy}/bug.ml | 0 OCaml/lambda-39/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-39/metadata.json | 12 +++++++ OCaml/lambda-4/.dockerignore | 2 ++ OCaml/lambda-4/Dockerfile | 6 ++++ .../bug_4 => OCaml/lambda-4/buggy}/bug.ml | 0 OCaml/lambda-4/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-4/metadata.json | 12 +++++++ OCaml/lambda-40/.dockerignore | 2 ++ OCaml/lambda-40/Dockerfile | 6 ++++ .../bug_40 => OCaml/lambda-40/buggy}/bug.ml | 0 OCaml/lambda-40/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-40/metadata.json | 12 +++++++ OCaml/lambda-41/.dockerignore | 2 ++ OCaml/lambda-41/Dockerfile | 6 ++++ .../bug_41 => OCaml/lambda-41/buggy}/bug.ml | 0 OCaml/lambda-41/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-41/metadata.json | 12 +++++++ OCaml/lambda-42/.dockerignore | 2 ++ OCaml/lambda-42/Dockerfile | 6 ++++ .../bug_42 => OCaml/lambda-42/buggy}/bug.ml | 0 OCaml/lambda-42/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-42/metadata.json | 12 +++++++ OCaml/lambda-43/.dockerignore | 2 ++ OCaml/lambda-43/Dockerfile | 6 ++++ .../bug_43 => OCaml/lambda-43/buggy}/bug.ml | 0 OCaml/lambda-43/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-43/metadata.json | 12 +++++++ OCaml/lambda-44/.dockerignore | 2 ++ OCaml/lambda-44/Dockerfile | 6 ++++ .../bug_44 => OCaml/lambda-44/buggy}/bug.ml | 0 OCaml/lambda-44/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-44/metadata.json | 12 +++++++ OCaml/lambda-45/.dockerignore | 2 ++ OCaml/lambda-45/Dockerfile | 6 ++++ .../bug_45 => OCaml/lambda-45/buggy}/bug.ml | 0 OCaml/lambda-45/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-45/metadata.json | 12 +++++++ OCaml/lambda-46/.dockerignore | 2 ++ OCaml/lambda-46/Dockerfile | 6 ++++ .../bug_46 => OCaml/lambda-46/buggy}/bug.ml | 0 OCaml/lambda-46/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-46/metadata.json | 12 +++++++ OCaml/lambda-47/.dockerignore | 2 ++ OCaml/lambda-47/Dockerfile | 6 ++++ .../bug_47 => OCaml/lambda-47/buggy}/bug.ml | 0 OCaml/lambda-47/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-47/metadata.json | 12 +++++++ OCaml/lambda-48/.dockerignore | 2 ++ OCaml/lambda-48/Dockerfile | 6 ++++ .../bug_48 => OCaml/lambda-48/buggy}/bug.ml | 0 OCaml/lambda-48/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-48/metadata.json | 12 +++++++ OCaml/lambda-49/.dockerignore | 2 ++ OCaml/lambda-49/Dockerfile | 6 ++++ .../bug_49 => OCaml/lambda-49/buggy}/bug.ml | 0 OCaml/lambda-49/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-49/metadata.json | 12 +++++++ OCaml/lambda-5/.dockerignore | 2 ++ OCaml/lambda-5/Dockerfile | 6 ++++ .../bug_5 => OCaml/lambda-5/buggy}/bug.ml | 0 OCaml/lambda-5/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-5/metadata.json | 12 +++++++ OCaml/lambda-50/.dockerignore | 2 ++ OCaml/lambda-50/Dockerfile | 6 ++++ .../bug_50 => OCaml/lambda-50/buggy}/bug.ml | 0 OCaml/lambda-50/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-50/metadata.json | 12 +++++++ OCaml/lambda-51/.dockerignore | 2 ++ OCaml/lambda-51/Dockerfile | 6 ++++ .../bug_51 => OCaml/lambda-51/buggy}/bug.ml | 0 OCaml/lambda-51/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-51/metadata.json | 12 +++++++ OCaml/lambda-52/.dockerignore | 2 ++ OCaml/lambda-52/Dockerfile | 6 ++++ .../bug_52 => OCaml/lambda-52/buggy}/bug.ml | 0 OCaml/lambda-52/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-52/metadata.json | 12 +++++++ OCaml/lambda-53/.dockerignore | 2 ++ OCaml/lambda-53/Dockerfile | 6 ++++ .../bug_53 => OCaml/lambda-53/buggy}/bug.ml | 0 OCaml/lambda-53/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-53/metadata.json | 12 +++++++ OCaml/lambda-54/.dockerignore | 2 ++ OCaml/lambda-54/Dockerfile | 6 ++++ .../bug_54 => OCaml/lambda-54/buggy}/bug.ml | 0 OCaml/lambda-54/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-54/metadata.json | 12 +++++++ OCaml/lambda-55/.dockerignore | 2 ++ OCaml/lambda-55/Dockerfile | 6 ++++ .../bug_55 => OCaml/lambda-55/buggy}/bug.ml | 0 OCaml/lambda-55/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-55/metadata.json | 12 +++++++ OCaml/lambda-56/.dockerignore | 2 ++ OCaml/lambda-56/Dockerfile | 6 ++++ .../bug_56 => OCaml/lambda-56/buggy}/bug.ml | 0 OCaml/lambda-56/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-56/metadata.json | 12 +++++++ OCaml/lambda-57/.dockerignore | 2 ++ OCaml/lambda-57/Dockerfile | 6 ++++ .../bug_57 => OCaml/lambda-57/buggy}/bug.ml | 0 OCaml/lambda-57/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-57/metadata.json | 12 +++++++ OCaml/lambda-58/.dockerignore | 2 ++ OCaml/lambda-58/Dockerfile | 6 ++++ .../bug_58 => OCaml/lambda-58/buggy}/bug.ml | 0 OCaml/lambda-58/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-58/metadata.json | 12 +++++++ OCaml/lambda-59/.dockerignore | 2 ++ OCaml/lambda-59/Dockerfile | 6 ++++ .../bug_59 => OCaml/lambda-59/buggy}/bug.ml | 0 OCaml/lambda-59/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-59/metadata.json | 12 +++++++ OCaml/lambda-6/.dockerignore | 2 ++ OCaml/lambda-6/Dockerfile | 6 ++++ .../bug_6 => OCaml/lambda-6/buggy}/bug.ml | 0 OCaml/lambda-6/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-6/metadata.json | 12 +++++++ OCaml/lambda-60/.dockerignore | 2 ++ OCaml/lambda-60/Dockerfile | 6 ++++ .../bug_60 => OCaml/lambda-60/buggy}/bug.ml | 0 OCaml/lambda-60/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-60/metadata.json | 12 +++++++ OCaml/lambda-61/.dockerignore | 2 ++ OCaml/lambda-61/Dockerfile | 6 ++++ .../bug_61 => OCaml/lambda-61/buggy}/bug.ml | 0 OCaml/lambda-61/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-61/metadata.json | 12 +++++++ OCaml/lambda-62/.dockerignore | 2 ++ OCaml/lambda-62/Dockerfile | 6 ++++ .../bug_62 => OCaml/lambda-62/buggy}/bug.ml | 0 OCaml/lambda-62/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-62/metadata.json | 12 +++++++ OCaml/lambda-63/.dockerignore | 2 ++ OCaml/lambda-63/Dockerfile | 6 ++++ .../bug_63 => OCaml/lambda-63/buggy}/bug.ml | 0 OCaml/lambda-63/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-63/metadata.json | 12 +++++++ OCaml/lambda-64/.dockerignore | 2 ++ OCaml/lambda-64/Dockerfile | 6 ++++ .../bug_64 => OCaml/lambda-64/buggy}/bug.ml | 0 OCaml/lambda-64/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-64/metadata.json | 12 +++++++ OCaml/lambda-65/.dockerignore | 2 ++ OCaml/lambda-65/Dockerfile | 6 ++++ .../bug_65 => OCaml/lambda-65/buggy}/bug.ml | 0 OCaml/lambda-65/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-65/metadata.json | 12 +++++++ OCaml/lambda-66/.dockerignore | 2 ++ OCaml/lambda-66/Dockerfile | 6 ++++ .../bug_66 => OCaml/lambda-66/buggy}/bug.ml | 0 OCaml/lambda-66/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-66/metadata.json | 12 +++++++ OCaml/lambda-67/.dockerignore | 2 ++ OCaml/lambda-67/Dockerfile | 6 ++++ .../bug_67 => OCaml/lambda-67/buggy}/bug.ml | 0 OCaml/lambda-67/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-67/metadata.json | 12 +++++++ OCaml/lambda-68/.dockerignore | 2 ++ OCaml/lambda-68/Dockerfile | 6 ++++ .../bug_68 => OCaml/lambda-68/buggy}/bug.ml | 0 OCaml/lambda-68/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-68/metadata.json | 12 +++++++ OCaml/lambda-69/.dockerignore | 2 ++ OCaml/lambda-69/Dockerfile | 6 ++++ .../bug_69 => OCaml/lambda-69/buggy}/bug.ml | 0 OCaml/lambda-69/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-69/metadata.json | 12 +++++++ OCaml/lambda-7/.dockerignore | 2 ++ OCaml/lambda-7/Dockerfile | 6 ++++ .../bug_7 => OCaml/lambda-7/buggy}/bug.ml | 0 OCaml/lambda-7/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-7/metadata.json | 12 +++++++ OCaml/lambda-70/.dockerignore | 2 ++ OCaml/lambda-70/Dockerfile | 6 ++++ .../bug_70 => OCaml/lambda-70/buggy}/bug.ml | 0 OCaml/lambda-70/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-70/metadata.json | 12 +++++++ OCaml/lambda-71/.dockerignore | 2 ++ OCaml/lambda-71/Dockerfile | 6 ++++ .../bug_71 => OCaml/lambda-71/buggy}/bug.ml | 0 OCaml/lambda-71/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-71/metadata.json | 12 +++++++ OCaml/lambda-72/.dockerignore | 2 ++ OCaml/lambda-72/Dockerfile | 6 ++++ .../bug_72 => OCaml/lambda-72/buggy}/bug.ml | 0 OCaml/lambda-72/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-72/metadata.json | 12 +++++++ OCaml/lambda-73/.dockerignore | 2 ++ OCaml/lambda-73/Dockerfile | 6 ++++ .../bug_73 => OCaml/lambda-73/buggy}/bug.ml | 0 OCaml/lambda-73/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-73/metadata.json | 12 +++++++ OCaml/lambda-74/.dockerignore | 2 ++ OCaml/lambda-74/Dockerfile | 6 ++++ .../bug_74 => OCaml/lambda-74/buggy}/bug.ml | 0 OCaml/lambda-74/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-74/metadata.json | 12 +++++++ OCaml/lambda-75/.dockerignore | 2 ++ OCaml/lambda-75/Dockerfile | 6 ++++ .../bug_75 => OCaml/lambda-75/buggy}/bug.ml | 0 OCaml/lambda-75/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-75/metadata.json | 12 +++++++ OCaml/lambda-76/.dockerignore | 2 ++ OCaml/lambda-76/Dockerfile | 6 ++++ .../bug_76 => OCaml/lambda-76/buggy}/bug.ml | 0 OCaml/lambda-76/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-76/metadata.json | 12 +++++++ OCaml/lambda-77/.dockerignore | 2 ++ OCaml/lambda-77/Dockerfile | 6 ++++ .../bug_77 => OCaml/lambda-77/buggy}/bug.ml | 0 OCaml/lambda-77/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-77/metadata.json | 12 +++++++ OCaml/lambda-78/.dockerignore | 2 ++ OCaml/lambda-78/Dockerfile | 6 ++++ .../bug_78 => OCaml/lambda-78/buggy}/bug.ml | 0 OCaml/lambda-78/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-78/metadata.json | 12 +++++++ OCaml/lambda-79/.dockerignore | 2 ++ OCaml/lambda-79/Dockerfile | 6 ++++ .../bug_79 => OCaml/lambda-79/buggy}/bug.ml | 0 OCaml/lambda-79/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-79/metadata.json | 12 +++++++ OCaml/lambda-8/.dockerignore | 2 ++ OCaml/lambda-8/Dockerfile | 6 ++++ .../bug_8 => OCaml/lambda-8/buggy}/bug.ml | 0 OCaml/lambda-8/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-8/metadata.json | 12 +++++++ OCaml/lambda-80/.dockerignore | 2 ++ OCaml/lambda-80/Dockerfile | 6 ++++ .../bug_80 => OCaml/lambda-80/buggy}/bug.ml | 0 OCaml/lambda-80/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-80/metadata.json | 12 +++++++ OCaml/lambda-81/.dockerignore | 2 ++ OCaml/lambda-81/Dockerfile | 6 ++++ .../bug_81 => OCaml/lambda-81/buggy}/bug.ml | 0 OCaml/lambda-81/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-81/metadata.json | 12 +++++++ OCaml/lambda-82/.dockerignore | 2 ++ OCaml/lambda-82/Dockerfile | 6 ++++ .../bug_82 => OCaml/lambda-82/buggy}/bug.ml | 0 OCaml/lambda-82/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-82/metadata.json | 12 +++++++ OCaml/lambda-83/.dockerignore | 2 ++ OCaml/lambda-83/Dockerfile | 6 ++++ .../bug_83 => OCaml/lambda-83/buggy}/bug.ml | 0 OCaml/lambda-83/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-83/metadata.json | 12 +++++++ OCaml/lambda-84/.dockerignore | 2 ++ OCaml/lambda-84/Dockerfile | 6 ++++ .../bug_84 => OCaml/lambda-84/buggy}/bug.ml | 0 OCaml/lambda-84/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-84/metadata.json | 12 +++++++ OCaml/lambda-85/.dockerignore | 2 ++ OCaml/lambda-85/Dockerfile | 6 ++++ .../bug_85 => OCaml/lambda-85/buggy}/bug.ml | 0 OCaml/lambda-85/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-85/metadata.json | 12 +++++++ OCaml/lambda-86/.dockerignore | 2 ++ OCaml/lambda-86/Dockerfile | 6 ++++ .../bug_86 => OCaml/lambda-86/buggy}/bug.ml | 0 OCaml/lambda-86/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-86/metadata.json | 12 +++++++ OCaml/lambda-87/.dockerignore | 2 ++ OCaml/lambda-87/Dockerfile | 6 ++++ .../bug_87 => OCaml/lambda-87/buggy}/bug.ml | 0 OCaml/lambda-87/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-87/metadata.json | 12 +++++++ OCaml/lambda-88/.dockerignore | 2 ++ OCaml/lambda-88/Dockerfile | 6 ++++ .../bug_88 => OCaml/lambda-88/buggy}/bug.ml | 0 OCaml/lambda-88/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-88/metadata.json | 12 +++++++ OCaml/lambda-89/.dockerignore | 2 ++ OCaml/lambda-89/Dockerfile | 6 ++++ .../bug_89 => OCaml/lambda-89/buggy}/bug.ml | 0 OCaml/lambda-89/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-89/metadata.json | 12 +++++++ OCaml/lambda-9/.dockerignore | 2 ++ OCaml/lambda-9/Dockerfile | 6 ++++ .../bug_9 => OCaml/lambda-9/buggy}/bug.ml | 0 OCaml/lambda-9/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-9/metadata.json | 12 +++++++ OCaml/lambda-90/.dockerignore | 2 ++ OCaml/lambda-90/Dockerfile | 6 ++++ .../bug_90 => OCaml/lambda-90/buggy}/bug.ml | 0 OCaml/lambda-90/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-90/metadata.json | 12 +++++++ OCaml/lambda-91/.dockerignore | 2 ++ OCaml/lambda-91/Dockerfile | 6 ++++ .../bug_91 => OCaml/lambda-91/buggy}/bug.ml | 0 OCaml/lambda-91/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-91/metadata.json | 12 +++++++ OCaml/lambda-92/.dockerignore | 2 ++ OCaml/lambda-92/Dockerfile | 6 ++++ .../bug_92 => OCaml/lambda-92/buggy}/bug.ml | 0 OCaml/lambda-92/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-92/metadata.json | 12 +++++++ OCaml/lambda-93/.dockerignore | 2 ++ OCaml/lambda-93/Dockerfile | 6 ++++ .../bug_93 => OCaml/lambda-93/buggy}/bug.ml | 0 OCaml/lambda-93/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-93/metadata.json | 12 +++++++ OCaml/lambda-94/.dockerignore | 2 ++ OCaml/lambda-94/Dockerfile | 6 ++++ .../bug_94 => OCaml/lambda-94/buggy}/bug.ml | 0 OCaml/lambda-94/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-94/metadata.json | 12 +++++++ OCaml/lambda-95/.dockerignore | 2 ++ OCaml/lambda-95/Dockerfile | 6 ++++ .../bug_95 => OCaml/lambda-95/buggy}/bug.ml | 0 OCaml/lambda-95/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-95/metadata.json | 12 +++++++ OCaml/lambda-96/.dockerignore | 2 ++ OCaml/lambda-96/Dockerfile | 6 ++++ .../bug_96 => OCaml/lambda-96/buggy}/bug.ml | 0 OCaml/lambda-96/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-96/metadata.json | 12 +++++++ OCaml/lambda-97/.dockerignore | 2 ++ OCaml/lambda-97/Dockerfile | 6 ++++ .../bug_97 => OCaml/lambda-97/buggy}/bug.ml | 0 OCaml/lambda-97/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-97/metadata.json | 12 +++++++ OCaml/lambda-98/.dockerignore | 2 ++ OCaml/lambda-98/Dockerfile | 6 ++++ .../bug_98 => OCaml/lambda-98/buggy}/bug.ml | 0 OCaml/lambda-98/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-98/metadata.json | 12 +++++++ OCaml/lambda-99/.dockerignore | 2 ++ OCaml/lambda-99/Dockerfile | 6 ++++ .../bug_99 => OCaml/lambda-99/buggy}/bug.ml | 0 OCaml/lambda-99/buggy/testcases | 35 +++++++++++++++++++ OCaml/lambda-99/metadata.json | 12 +++++++ 500 files changed, 5465 insertions(+) create mode 100644 OCaml/lambda-1/.dockerignore create mode 100644 OCaml/lambda-1/Dockerfile rename functional/OCaml/lambda/bugs/bug_1/bug.ml => OCaml/lambda-1/buggy/src.ml (100%) rename {functional/OCaml/lambda/src => OCaml/lambda-1/buggy}/testcases (100%) create mode 100644 OCaml/lambda-1/metadata.json create mode 100644 OCaml/lambda-10/.dockerignore create mode 100644 OCaml/lambda-10/Dockerfile rename {functional/OCaml/lambda/bugs/bug_10 => OCaml/lambda-10/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-10/buggy/testcases create mode 100644 OCaml/lambda-10/metadata.json create mode 100644 OCaml/lambda-100/.dockerignore create mode 100644 OCaml/lambda-100/Dockerfile rename {functional/OCaml/lambda/bugs/bug_100 => OCaml/lambda-100/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-100/buggy/testcases create mode 100644 OCaml/lambda-100/metadata.json create mode 100644 OCaml/lambda-11/.dockerignore create mode 100644 OCaml/lambda-11/Dockerfile rename {functional/OCaml/lambda/bugs/bug_11 => OCaml/lambda-11/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-11/buggy/testcases create mode 100644 OCaml/lambda-11/metadata.json create mode 100644 OCaml/lambda-12/.dockerignore create mode 100644 OCaml/lambda-12/Dockerfile rename {functional/OCaml/lambda/bugs/bug_12 => OCaml/lambda-12/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-12/buggy/testcases create mode 100644 OCaml/lambda-12/metadata.json create mode 100644 OCaml/lambda-13/.dockerignore create mode 100644 OCaml/lambda-13/Dockerfile rename {functional/OCaml/lambda/bugs/bug_13 => OCaml/lambda-13/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-13/buggy/testcases create mode 100644 OCaml/lambda-13/metadata.json create mode 100644 OCaml/lambda-14/.dockerignore create mode 100644 OCaml/lambda-14/Dockerfile rename {functional/OCaml/lambda/bugs/bug_14 => OCaml/lambda-14/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-14/buggy/testcases create mode 100644 OCaml/lambda-14/metadata.json create mode 100644 OCaml/lambda-15/.dockerignore create mode 100644 OCaml/lambda-15/Dockerfile rename {functional/OCaml/lambda/bugs/bug_15 => OCaml/lambda-15/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-15/buggy/testcases create mode 100644 OCaml/lambda-15/metadata.json create mode 100644 OCaml/lambda-16/.dockerignore create mode 100644 OCaml/lambda-16/Dockerfile rename {functional/OCaml/lambda/bugs/bug_16 => OCaml/lambda-16/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-16/buggy/testcases create mode 100644 OCaml/lambda-16/metadata.json create mode 100644 OCaml/lambda-17/.dockerignore create mode 100644 OCaml/lambda-17/Dockerfile rename {functional/OCaml/lambda/bugs/bug_17 => OCaml/lambda-17/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-17/buggy/testcases create mode 100644 OCaml/lambda-17/metadata.json create mode 100644 OCaml/lambda-18/.dockerignore create mode 100644 OCaml/lambda-18/Dockerfile rename {functional/OCaml/lambda/bugs/bug_18 => OCaml/lambda-18/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-18/buggy/testcases create mode 100644 OCaml/lambda-18/metadata.json create mode 100644 OCaml/lambda-19/.dockerignore create mode 100644 OCaml/lambda-19/Dockerfile rename {functional/OCaml/lambda/bugs/bug_19 => OCaml/lambda-19/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-19/buggy/testcases create mode 100644 OCaml/lambda-19/metadata.json create mode 100644 OCaml/lambda-2/.dockerignore create mode 100644 OCaml/lambda-2/Dockerfile rename {functional/OCaml/lambda/bugs/bug_2 => OCaml/lambda-2/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-2/buggy/testcases create mode 100644 OCaml/lambda-2/metadata.json create mode 100644 OCaml/lambda-20/.dockerignore create mode 100644 OCaml/lambda-20/Dockerfile rename {functional/OCaml/lambda/bugs/bug_20 => OCaml/lambda-20/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-20/buggy/testcases create mode 100644 OCaml/lambda-20/metadata.json create mode 100644 OCaml/lambda-21/.dockerignore create mode 100644 OCaml/lambda-21/Dockerfile rename {functional/OCaml/lambda/bugs/bug_21 => OCaml/lambda-21/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-21/buggy/testcases create mode 100644 OCaml/lambda-21/metadata.json create mode 100644 OCaml/lambda-22/.dockerignore create mode 100644 OCaml/lambda-22/Dockerfile rename {functional/OCaml/lambda/bugs/bug_22 => OCaml/lambda-22/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-22/buggy/testcases create mode 100644 OCaml/lambda-22/metadata.json create mode 100644 OCaml/lambda-23/.dockerignore create mode 100644 OCaml/lambda-23/Dockerfile rename {functional/OCaml/lambda/bugs/bug_23 => OCaml/lambda-23/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-23/buggy/testcases create mode 100644 OCaml/lambda-23/metadata.json create mode 100644 OCaml/lambda-24/.dockerignore create mode 100644 OCaml/lambda-24/Dockerfile rename {functional/OCaml/lambda/bugs/bug_24 => OCaml/lambda-24/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-24/buggy/testcases create mode 100644 OCaml/lambda-24/metadata.json create mode 100644 OCaml/lambda-25/.dockerignore create mode 100644 OCaml/lambda-25/Dockerfile rename {functional/OCaml/lambda/bugs/bug_25 => OCaml/lambda-25/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-25/buggy/testcases create mode 100644 OCaml/lambda-25/metadata.json create mode 100644 OCaml/lambda-26/.dockerignore create mode 100644 OCaml/lambda-26/Dockerfile rename {functional/OCaml/lambda/bugs/bug_26 => OCaml/lambda-26/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-26/buggy/testcases create mode 100644 OCaml/lambda-26/metadata.json create mode 100644 OCaml/lambda-27/.dockerignore create mode 100644 OCaml/lambda-27/Dockerfile rename {functional/OCaml/lambda/bugs/bug_27 => OCaml/lambda-27/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-27/buggy/testcases create mode 100644 OCaml/lambda-27/metadata.json create mode 100644 OCaml/lambda-28/.dockerignore create mode 100644 OCaml/lambda-28/Dockerfile rename {functional/OCaml/lambda/bugs/bug_28 => OCaml/lambda-28/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-28/buggy/testcases create mode 100644 OCaml/lambda-28/metadata.json create mode 100644 OCaml/lambda-29/.dockerignore create mode 100644 OCaml/lambda-29/Dockerfile rename {functional/OCaml/lambda/bugs/bug_29 => OCaml/lambda-29/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-29/buggy/testcases create mode 100644 OCaml/lambda-29/metadata.json create mode 100644 OCaml/lambda-3/.dockerignore create mode 100644 OCaml/lambda-3/Dockerfile rename {functional/OCaml/lambda/bugs/bug_3 => OCaml/lambda-3/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-3/buggy/testcases create mode 100644 OCaml/lambda-3/metadata.json create mode 100644 OCaml/lambda-30/.dockerignore create mode 100644 OCaml/lambda-30/Dockerfile rename {functional/OCaml/lambda/bugs/bug_30 => OCaml/lambda-30/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-30/buggy/testcases create mode 100644 OCaml/lambda-30/metadata.json create mode 100644 OCaml/lambda-31/.dockerignore create mode 100644 OCaml/lambda-31/Dockerfile rename {functional/OCaml/lambda/bugs/bug_31 => OCaml/lambda-31/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-31/buggy/testcases create mode 100644 OCaml/lambda-31/metadata.json create mode 100644 OCaml/lambda-32/.dockerignore create mode 100644 OCaml/lambda-32/Dockerfile rename {functional/OCaml/lambda/bugs/bug_32 => OCaml/lambda-32/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-32/buggy/testcases create mode 100644 OCaml/lambda-32/metadata.json create mode 100644 OCaml/lambda-33/.dockerignore create mode 100644 OCaml/lambda-33/Dockerfile rename {functional/OCaml/lambda/bugs/bug_33 => OCaml/lambda-33/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-33/buggy/testcases create mode 100644 OCaml/lambda-33/metadata.json create mode 100644 OCaml/lambda-34/.dockerignore create mode 100644 OCaml/lambda-34/Dockerfile rename {functional/OCaml/lambda/bugs/bug_34 => OCaml/lambda-34/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-34/buggy/testcases create mode 100644 OCaml/lambda-34/metadata.json create mode 100644 OCaml/lambda-35/.dockerignore create mode 100644 OCaml/lambda-35/Dockerfile rename {functional/OCaml/lambda/bugs/bug_35 => OCaml/lambda-35/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-35/buggy/testcases create mode 100644 OCaml/lambda-35/metadata.json create mode 100644 OCaml/lambda-36/.dockerignore create mode 100644 OCaml/lambda-36/Dockerfile rename {functional/OCaml/lambda/bugs/bug_36 => OCaml/lambda-36/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-36/buggy/testcases create mode 100644 OCaml/lambda-36/metadata.json create mode 100644 OCaml/lambda-37/.dockerignore create mode 100644 OCaml/lambda-37/Dockerfile rename {functional/OCaml/lambda/bugs/bug_37 => OCaml/lambda-37/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-37/buggy/testcases create mode 100644 OCaml/lambda-37/metadata.json create mode 100644 OCaml/lambda-38/.dockerignore create mode 100644 OCaml/lambda-38/Dockerfile rename {functional/OCaml/lambda/bugs/bug_38 => OCaml/lambda-38/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-38/buggy/testcases create mode 100644 OCaml/lambda-38/metadata.json create mode 100644 OCaml/lambda-39/.dockerignore create mode 100644 OCaml/lambda-39/Dockerfile rename {functional/OCaml/lambda/bugs/bug_39 => OCaml/lambda-39/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-39/buggy/testcases create mode 100644 OCaml/lambda-39/metadata.json create mode 100644 OCaml/lambda-4/.dockerignore create mode 100644 OCaml/lambda-4/Dockerfile rename {functional/OCaml/lambda/bugs/bug_4 => OCaml/lambda-4/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-4/buggy/testcases create mode 100644 OCaml/lambda-4/metadata.json create mode 100644 OCaml/lambda-40/.dockerignore create mode 100644 OCaml/lambda-40/Dockerfile rename {functional/OCaml/lambda/bugs/bug_40 => OCaml/lambda-40/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-40/buggy/testcases create mode 100644 OCaml/lambda-40/metadata.json create mode 100644 OCaml/lambda-41/.dockerignore create mode 100644 OCaml/lambda-41/Dockerfile rename {functional/OCaml/lambda/bugs/bug_41 => OCaml/lambda-41/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-41/buggy/testcases create mode 100644 OCaml/lambda-41/metadata.json create mode 100644 OCaml/lambda-42/.dockerignore create mode 100644 OCaml/lambda-42/Dockerfile rename {functional/OCaml/lambda/bugs/bug_42 => OCaml/lambda-42/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-42/buggy/testcases create mode 100644 OCaml/lambda-42/metadata.json create mode 100644 OCaml/lambda-43/.dockerignore create mode 100644 OCaml/lambda-43/Dockerfile rename {functional/OCaml/lambda/bugs/bug_43 => OCaml/lambda-43/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-43/buggy/testcases create mode 100644 OCaml/lambda-43/metadata.json create mode 100644 OCaml/lambda-44/.dockerignore create mode 100644 OCaml/lambda-44/Dockerfile rename {functional/OCaml/lambda/bugs/bug_44 => OCaml/lambda-44/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-44/buggy/testcases create mode 100644 OCaml/lambda-44/metadata.json create mode 100644 OCaml/lambda-45/.dockerignore create mode 100644 OCaml/lambda-45/Dockerfile rename {functional/OCaml/lambda/bugs/bug_45 => OCaml/lambda-45/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-45/buggy/testcases create mode 100644 OCaml/lambda-45/metadata.json create mode 100644 OCaml/lambda-46/.dockerignore create mode 100644 OCaml/lambda-46/Dockerfile rename {functional/OCaml/lambda/bugs/bug_46 => OCaml/lambda-46/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-46/buggy/testcases create mode 100644 OCaml/lambda-46/metadata.json create mode 100644 OCaml/lambda-47/.dockerignore create mode 100644 OCaml/lambda-47/Dockerfile rename {functional/OCaml/lambda/bugs/bug_47 => OCaml/lambda-47/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-47/buggy/testcases create mode 100644 OCaml/lambda-47/metadata.json create mode 100644 OCaml/lambda-48/.dockerignore create mode 100644 OCaml/lambda-48/Dockerfile rename {functional/OCaml/lambda/bugs/bug_48 => OCaml/lambda-48/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-48/buggy/testcases create mode 100644 OCaml/lambda-48/metadata.json create mode 100644 OCaml/lambda-49/.dockerignore create mode 100644 OCaml/lambda-49/Dockerfile rename {functional/OCaml/lambda/bugs/bug_49 => OCaml/lambda-49/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-49/buggy/testcases create mode 100644 OCaml/lambda-49/metadata.json create mode 100644 OCaml/lambda-5/.dockerignore create mode 100644 OCaml/lambda-5/Dockerfile rename {functional/OCaml/lambda/bugs/bug_5 => OCaml/lambda-5/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-5/buggy/testcases create mode 100644 OCaml/lambda-5/metadata.json create mode 100644 OCaml/lambda-50/.dockerignore create mode 100644 OCaml/lambda-50/Dockerfile rename {functional/OCaml/lambda/bugs/bug_50 => OCaml/lambda-50/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-50/buggy/testcases create mode 100644 OCaml/lambda-50/metadata.json create mode 100644 OCaml/lambda-51/.dockerignore create mode 100644 OCaml/lambda-51/Dockerfile rename {functional/OCaml/lambda/bugs/bug_51 => OCaml/lambda-51/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-51/buggy/testcases create mode 100644 OCaml/lambda-51/metadata.json create mode 100644 OCaml/lambda-52/.dockerignore create mode 100644 OCaml/lambda-52/Dockerfile rename {functional/OCaml/lambda/bugs/bug_52 => OCaml/lambda-52/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-52/buggy/testcases create mode 100644 OCaml/lambda-52/metadata.json create mode 100644 OCaml/lambda-53/.dockerignore create mode 100644 OCaml/lambda-53/Dockerfile rename {functional/OCaml/lambda/bugs/bug_53 => OCaml/lambda-53/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-53/buggy/testcases create mode 100644 OCaml/lambda-53/metadata.json create mode 100644 OCaml/lambda-54/.dockerignore create mode 100644 OCaml/lambda-54/Dockerfile rename {functional/OCaml/lambda/bugs/bug_54 => OCaml/lambda-54/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-54/buggy/testcases create mode 100644 OCaml/lambda-54/metadata.json create mode 100644 OCaml/lambda-55/.dockerignore create mode 100644 OCaml/lambda-55/Dockerfile rename {functional/OCaml/lambda/bugs/bug_55 => OCaml/lambda-55/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-55/buggy/testcases create mode 100644 OCaml/lambda-55/metadata.json create mode 100644 OCaml/lambda-56/.dockerignore create mode 100644 OCaml/lambda-56/Dockerfile rename {functional/OCaml/lambda/bugs/bug_56 => OCaml/lambda-56/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-56/buggy/testcases create mode 100644 OCaml/lambda-56/metadata.json create mode 100644 OCaml/lambda-57/.dockerignore create mode 100644 OCaml/lambda-57/Dockerfile rename {functional/OCaml/lambda/bugs/bug_57 => OCaml/lambda-57/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-57/buggy/testcases create mode 100644 OCaml/lambda-57/metadata.json create mode 100644 OCaml/lambda-58/.dockerignore create mode 100644 OCaml/lambda-58/Dockerfile rename {functional/OCaml/lambda/bugs/bug_58 => OCaml/lambda-58/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-58/buggy/testcases create mode 100644 OCaml/lambda-58/metadata.json create mode 100644 OCaml/lambda-59/.dockerignore create mode 100644 OCaml/lambda-59/Dockerfile rename {functional/OCaml/lambda/bugs/bug_59 => OCaml/lambda-59/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-59/buggy/testcases create mode 100644 OCaml/lambda-59/metadata.json create mode 100644 OCaml/lambda-6/.dockerignore create mode 100644 OCaml/lambda-6/Dockerfile rename {functional/OCaml/lambda/bugs/bug_6 => OCaml/lambda-6/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-6/buggy/testcases create mode 100644 OCaml/lambda-6/metadata.json create mode 100644 OCaml/lambda-60/.dockerignore create mode 100644 OCaml/lambda-60/Dockerfile rename {functional/OCaml/lambda/bugs/bug_60 => OCaml/lambda-60/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-60/buggy/testcases create mode 100644 OCaml/lambda-60/metadata.json create mode 100644 OCaml/lambda-61/.dockerignore create mode 100644 OCaml/lambda-61/Dockerfile rename {functional/OCaml/lambda/bugs/bug_61 => OCaml/lambda-61/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-61/buggy/testcases create mode 100644 OCaml/lambda-61/metadata.json create mode 100644 OCaml/lambda-62/.dockerignore create mode 100644 OCaml/lambda-62/Dockerfile rename {functional/OCaml/lambda/bugs/bug_62 => OCaml/lambda-62/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-62/buggy/testcases create mode 100644 OCaml/lambda-62/metadata.json create mode 100644 OCaml/lambda-63/.dockerignore create mode 100644 OCaml/lambda-63/Dockerfile rename {functional/OCaml/lambda/bugs/bug_63 => OCaml/lambda-63/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-63/buggy/testcases create mode 100644 OCaml/lambda-63/metadata.json create mode 100644 OCaml/lambda-64/.dockerignore create mode 100644 OCaml/lambda-64/Dockerfile rename {functional/OCaml/lambda/bugs/bug_64 => OCaml/lambda-64/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-64/buggy/testcases create mode 100644 OCaml/lambda-64/metadata.json create mode 100644 OCaml/lambda-65/.dockerignore create mode 100644 OCaml/lambda-65/Dockerfile rename {functional/OCaml/lambda/bugs/bug_65 => OCaml/lambda-65/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-65/buggy/testcases create mode 100644 OCaml/lambda-65/metadata.json create mode 100644 OCaml/lambda-66/.dockerignore create mode 100644 OCaml/lambda-66/Dockerfile rename {functional/OCaml/lambda/bugs/bug_66 => OCaml/lambda-66/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-66/buggy/testcases create mode 100644 OCaml/lambda-66/metadata.json create mode 100644 OCaml/lambda-67/.dockerignore create mode 100644 OCaml/lambda-67/Dockerfile rename {functional/OCaml/lambda/bugs/bug_67 => OCaml/lambda-67/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-67/buggy/testcases create mode 100644 OCaml/lambda-67/metadata.json create mode 100644 OCaml/lambda-68/.dockerignore create mode 100644 OCaml/lambda-68/Dockerfile rename {functional/OCaml/lambda/bugs/bug_68 => OCaml/lambda-68/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-68/buggy/testcases create mode 100644 OCaml/lambda-68/metadata.json create mode 100644 OCaml/lambda-69/.dockerignore create mode 100644 OCaml/lambda-69/Dockerfile rename {functional/OCaml/lambda/bugs/bug_69 => OCaml/lambda-69/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-69/buggy/testcases create mode 100644 OCaml/lambda-69/metadata.json create mode 100644 OCaml/lambda-7/.dockerignore create mode 100644 OCaml/lambda-7/Dockerfile rename {functional/OCaml/lambda/bugs/bug_7 => OCaml/lambda-7/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-7/buggy/testcases create mode 100644 OCaml/lambda-7/metadata.json create mode 100644 OCaml/lambda-70/.dockerignore create mode 100644 OCaml/lambda-70/Dockerfile rename {functional/OCaml/lambda/bugs/bug_70 => OCaml/lambda-70/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-70/buggy/testcases create mode 100644 OCaml/lambda-70/metadata.json create mode 100644 OCaml/lambda-71/.dockerignore create mode 100644 OCaml/lambda-71/Dockerfile rename {functional/OCaml/lambda/bugs/bug_71 => OCaml/lambda-71/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-71/buggy/testcases create mode 100644 OCaml/lambda-71/metadata.json create mode 100644 OCaml/lambda-72/.dockerignore create mode 100644 OCaml/lambda-72/Dockerfile rename {functional/OCaml/lambda/bugs/bug_72 => OCaml/lambda-72/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-72/buggy/testcases create mode 100644 OCaml/lambda-72/metadata.json create mode 100644 OCaml/lambda-73/.dockerignore create mode 100644 OCaml/lambda-73/Dockerfile rename {functional/OCaml/lambda/bugs/bug_73 => OCaml/lambda-73/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-73/buggy/testcases create mode 100644 OCaml/lambda-73/metadata.json create mode 100644 OCaml/lambda-74/.dockerignore create mode 100644 OCaml/lambda-74/Dockerfile rename {functional/OCaml/lambda/bugs/bug_74 => OCaml/lambda-74/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-74/buggy/testcases create mode 100644 OCaml/lambda-74/metadata.json create mode 100644 OCaml/lambda-75/.dockerignore create mode 100644 OCaml/lambda-75/Dockerfile rename {functional/OCaml/lambda/bugs/bug_75 => OCaml/lambda-75/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-75/buggy/testcases create mode 100644 OCaml/lambda-75/metadata.json create mode 100644 OCaml/lambda-76/.dockerignore create mode 100644 OCaml/lambda-76/Dockerfile rename {functional/OCaml/lambda/bugs/bug_76 => OCaml/lambda-76/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-76/buggy/testcases create mode 100644 OCaml/lambda-76/metadata.json create mode 100644 OCaml/lambda-77/.dockerignore create mode 100644 OCaml/lambda-77/Dockerfile rename {functional/OCaml/lambda/bugs/bug_77 => OCaml/lambda-77/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-77/buggy/testcases create mode 100644 OCaml/lambda-77/metadata.json create mode 100644 OCaml/lambda-78/.dockerignore create mode 100644 OCaml/lambda-78/Dockerfile rename {functional/OCaml/lambda/bugs/bug_78 => OCaml/lambda-78/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-78/buggy/testcases create mode 100644 OCaml/lambda-78/metadata.json create mode 100644 OCaml/lambda-79/.dockerignore create mode 100644 OCaml/lambda-79/Dockerfile rename {functional/OCaml/lambda/bugs/bug_79 => OCaml/lambda-79/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-79/buggy/testcases create mode 100644 OCaml/lambda-79/metadata.json create mode 100644 OCaml/lambda-8/.dockerignore create mode 100644 OCaml/lambda-8/Dockerfile rename {functional/OCaml/lambda/bugs/bug_8 => OCaml/lambda-8/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-8/buggy/testcases create mode 100644 OCaml/lambda-8/metadata.json create mode 100644 OCaml/lambda-80/.dockerignore create mode 100644 OCaml/lambda-80/Dockerfile rename {functional/OCaml/lambda/bugs/bug_80 => OCaml/lambda-80/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-80/buggy/testcases create mode 100644 OCaml/lambda-80/metadata.json create mode 100644 OCaml/lambda-81/.dockerignore create mode 100644 OCaml/lambda-81/Dockerfile rename {functional/OCaml/lambda/bugs/bug_81 => OCaml/lambda-81/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-81/buggy/testcases create mode 100644 OCaml/lambda-81/metadata.json create mode 100644 OCaml/lambda-82/.dockerignore create mode 100644 OCaml/lambda-82/Dockerfile rename {functional/OCaml/lambda/bugs/bug_82 => OCaml/lambda-82/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-82/buggy/testcases create mode 100644 OCaml/lambda-82/metadata.json create mode 100644 OCaml/lambda-83/.dockerignore create mode 100644 OCaml/lambda-83/Dockerfile rename {functional/OCaml/lambda/bugs/bug_83 => OCaml/lambda-83/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-83/buggy/testcases create mode 100644 OCaml/lambda-83/metadata.json create mode 100644 OCaml/lambda-84/.dockerignore create mode 100644 OCaml/lambda-84/Dockerfile rename {functional/OCaml/lambda/bugs/bug_84 => OCaml/lambda-84/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-84/buggy/testcases create mode 100644 OCaml/lambda-84/metadata.json create mode 100644 OCaml/lambda-85/.dockerignore create mode 100644 OCaml/lambda-85/Dockerfile rename {functional/OCaml/lambda/bugs/bug_85 => OCaml/lambda-85/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-85/buggy/testcases create mode 100644 OCaml/lambda-85/metadata.json create mode 100644 OCaml/lambda-86/.dockerignore create mode 100644 OCaml/lambda-86/Dockerfile rename {functional/OCaml/lambda/bugs/bug_86 => OCaml/lambda-86/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-86/buggy/testcases create mode 100644 OCaml/lambda-86/metadata.json create mode 100644 OCaml/lambda-87/.dockerignore create mode 100644 OCaml/lambda-87/Dockerfile rename {functional/OCaml/lambda/bugs/bug_87 => OCaml/lambda-87/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-87/buggy/testcases create mode 100644 OCaml/lambda-87/metadata.json create mode 100644 OCaml/lambda-88/.dockerignore create mode 100644 OCaml/lambda-88/Dockerfile rename {functional/OCaml/lambda/bugs/bug_88 => OCaml/lambda-88/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-88/buggy/testcases create mode 100644 OCaml/lambda-88/metadata.json create mode 100644 OCaml/lambda-89/.dockerignore create mode 100644 OCaml/lambda-89/Dockerfile rename {functional/OCaml/lambda/bugs/bug_89 => OCaml/lambda-89/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-89/buggy/testcases create mode 100644 OCaml/lambda-89/metadata.json create mode 100644 OCaml/lambda-9/.dockerignore create mode 100644 OCaml/lambda-9/Dockerfile rename {functional/OCaml/lambda/bugs/bug_9 => OCaml/lambda-9/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-9/buggy/testcases create mode 100644 OCaml/lambda-9/metadata.json create mode 100644 OCaml/lambda-90/.dockerignore create mode 100644 OCaml/lambda-90/Dockerfile rename {functional/OCaml/lambda/bugs/bug_90 => OCaml/lambda-90/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-90/buggy/testcases create mode 100644 OCaml/lambda-90/metadata.json create mode 100644 OCaml/lambda-91/.dockerignore create mode 100644 OCaml/lambda-91/Dockerfile rename {functional/OCaml/lambda/bugs/bug_91 => OCaml/lambda-91/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-91/buggy/testcases create mode 100644 OCaml/lambda-91/metadata.json create mode 100644 OCaml/lambda-92/.dockerignore create mode 100644 OCaml/lambda-92/Dockerfile rename {functional/OCaml/lambda/bugs/bug_92 => OCaml/lambda-92/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-92/buggy/testcases create mode 100644 OCaml/lambda-92/metadata.json create mode 100644 OCaml/lambda-93/.dockerignore create mode 100644 OCaml/lambda-93/Dockerfile rename {functional/OCaml/lambda/bugs/bug_93 => OCaml/lambda-93/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-93/buggy/testcases create mode 100644 OCaml/lambda-93/metadata.json create mode 100644 OCaml/lambda-94/.dockerignore create mode 100644 OCaml/lambda-94/Dockerfile rename {functional/OCaml/lambda/bugs/bug_94 => OCaml/lambda-94/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-94/buggy/testcases create mode 100644 OCaml/lambda-94/metadata.json create mode 100644 OCaml/lambda-95/.dockerignore create mode 100644 OCaml/lambda-95/Dockerfile rename {functional/OCaml/lambda/bugs/bug_95 => OCaml/lambda-95/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-95/buggy/testcases create mode 100644 OCaml/lambda-95/metadata.json create mode 100644 OCaml/lambda-96/.dockerignore create mode 100644 OCaml/lambda-96/Dockerfile rename {functional/OCaml/lambda/bugs/bug_96 => OCaml/lambda-96/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-96/buggy/testcases create mode 100644 OCaml/lambda-96/metadata.json create mode 100644 OCaml/lambda-97/.dockerignore create mode 100644 OCaml/lambda-97/Dockerfile rename {functional/OCaml/lambda/bugs/bug_97 => OCaml/lambda-97/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-97/buggy/testcases create mode 100644 OCaml/lambda-97/metadata.json create mode 100644 OCaml/lambda-98/.dockerignore create mode 100644 OCaml/lambda-98/Dockerfile rename {functional/OCaml/lambda/bugs/bug_98 => OCaml/lambda-98/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-98/buggy/testcases create mode 100644 OCaml/lambda-98/metadata.json create mode 100644 OCaml/lambda-99/.dockerignore create mode 100644 OCaml/lambda-99/Dockerfile rename {functional/OCaml/lambda/bugs/bug_99 => OCaml/lambda-99/buggy}/bug.ml (100%) create mode 100644 OCaml/lambda-99/buggy/testcases create mode 100644 OCaml/lambda-99/metadata.json diff --git a/OCaml/lambda-1/.dockerignore b/OCaml/lambda-1/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-1/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-1/Dockerfile b/OCaml/lambda-1/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-1/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_1/bug.ml b/OCaml/lambda-1/buggy/src.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_1/bug.ml rename to OCaml/lambda-1/buggy/src.ml diff --git a/functional/OCaml/lambda/src/testcases b/OCaml/lambda-1/buggy/testcases similarity index 100% rename from functional/OCaml/lambda/src/testcases rename to OCaml/lambda-1/buggy/testcases diff --git a/OCaml/lambda-1/metadata.json b/OCaml/lambda-1/metadata.json new file mode 100644 index 000000000..ffed40d08 --- /dev/null +++ b/OCaml/lambda-1/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-1", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-10/.dockerignore b/OCaml/lambda-10/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-10/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-10/Dockerfile b/OCaml/lambda-10/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-10/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_10/bug.ml b/OCaml/lambda-10/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_10/bug.ml rename to OCaml/lambda-10/buggy/bug.ml diff --git a/OCaml/lambda-10/buggy/testcases b/OCaml/lambda-10/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-10/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-10/metadata.json b/OCaml/lambda-10/metadata.json new file mode 100644 index 000000000..c7f954ea1 --- /dev/null +++ b/OCaml/lambda-10/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-10", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-100/.dockerignore b/OCaml/lambda-100/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-100/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-100/Dockerfile b/OCaml/lambda-100/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-100/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_100/bug.ml b/OCaml/lambda-100/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_100/bug.ml rename to OCaml/lambda-100/buggy/bug.ml diff --git a/OCaml/lambda-100/buggy/testcases b/OCaml/lambda-100/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-100/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-100/metadata.json b/OCaml/lambda-100/metadata.json new file mode 100644 index 000000000..95ec0ea08 --- /dev/null +++ b/OCaml/lambda-100/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-100", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-11/.dockerignore b/OCaml/lambda-11/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-11/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-11/Dockerfile b/OCaml/lambda-11/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-11/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_11/bug.ml b/OCaml/lambda-11/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_11/bug.ml rename to OCaml/lambda-11/buggy/bug.ml diff --git a/OCaml/lambda-11/buggy/testcases b/OCaml/lambda-11/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-11/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-11/metadata.json b/OCaml/lambda-11/metadata.json new file mode 100644 index 000000000..ab19c7810 --- /dev/null +++ b/OCaml/lambda-11/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-11", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-12/.dockerignore b/OCaml/lambda-12/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-12/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-12/Dockerfile b/OCaml/lambda-12/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-12/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_12/bug.ml b/OCaml/lambda-12/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_12/bug.ml rename to OCaml/lambda-12/buggy/bug.ml diff --git a/OCaml/lambda-12/buggy/testcases b/OCaml/lambda-12/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-12/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-12/metadata.json b/OCaml/lambda-12/metadata.json new file mode 100644 index 000000000..871e27eee --- /dev/null +++ b/OCaml/lambda-12/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-12", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-13/.dockerignore b/OCaml/lambda-13/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-13/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-13/Dockerfile b/OCaml/lambda-13/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-13/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_13/bug.ml b/OCaml/lambda-13/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_13/bug.ml rename to OCaml/lambda-13/buggy/bug.ml diff --git a/OCaml/lambda-13/buggy/testcases b/OCaml/lambda-13/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-13/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-13/metadata.json b/OCaml/lambda-13/metadata.json new file mode 100644 index 000000000..bd0ab4e29 --- /dev/null +++ b/OCaml/lambda-13/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-13", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-14/.dockerignore b/OCaml/lambda-14/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-14/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-14/Dockerfile b/OCaml/lambda-14/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-14/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_14/bug.ml b/OCaml/lambda-14/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_14/bug.ml rename to OCaml/lambda-14/buggy/bug.ml diff --git a/OCaml/lambda-14/buggy/testcases b/OCaml/lambda-14/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-14/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-14/metadata.json b/OCaml/lambda-14/metadata.json new file mode 100644 index 000000000..e3ea1d676 --- /dev/null +++ b/OCaml/lambda-14/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-14", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-15/.dockerignore b/OCaml/lambda-15/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-15/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-15/Dockerfile b/OCaml/lambda-15/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-15/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_15/bug.ml b/OCaml/lambda-15/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_15/bug.ml rename to OCaml/lambda-15/buggy/bug.ml diff --git a/OCaml/lambda-15/buggy/testcases b/OCaml/lambda-15/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-15/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-15/metadata.json b/OCaml/lambda-15/metadata.json new file mode 100644 index 000000000..49a0e86bf --- /dev/null +++ b/OCaml/lambda-15/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-15", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-16/.dockerignore b/OCaml/lambda-16/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-16/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-16/Dockerfile b/OCaml/lambda-16/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-16/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_16/bug.ml b/OCaml/lambda-16/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_16/bug.ml rename to OCaml/lambda-16/buggy/bug.ml diff --git a/OCaml/lambda-16/buggy/testcases b/OCaml/lambda-16/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-16/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-16/metadata.json b/OCaml/lambda-16/metadata.json new file mode 100644 index 000000000..b205500df --- /dev/null +++ b/OCaml/lambda-16/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-16", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-17/.dockerignore b/OCaml/lambda-17/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-17/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-17/Dockerfile b/OCaml/lambda-17/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-17/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_17/bug.ml b/OCaml/lambda-17/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_17/bug.ml rename to OCaml/lambda-17/buggy/bug.ml diff --git a/OCaml/lambda-17/buggy/testcases b/OCaml/lambda-17/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-17/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-17/metadata.json b/OCaml/lambda-17/metadata.json new file mode 100644 index 000000000..d2e73ae00 --- /dev/null +++ b/OCaml/lambda-17/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-17", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-18/.dockerignore b/OCaml/lambda-18/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-18/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-18/Dockerfile b/OCaml/lambda-18/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-18/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_18/bug.ml b/OCaml/lambda-18/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_18/bug.ml rename to OCaml/lambda-18/buggy/bug.ml diff --git a/OCaml/lambda-18/buggy/testcases b/OCaml/lambda-18/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-18/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-18/metadata.json b/OCaml/lambda-18/metadata.json new file mode 100644 index 000000000..29d77ee2c --- /dev/null +++ b/OCaml/lambda-18/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-18", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-19/.dockerignore b/OCaml/lambda-19/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-19/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-19/Dockerfile b/OCaml/lambda-19/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-19/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_19/bug.ml b/OCaml/lambda-19/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_19/bug.ml rename to OCaml/lambda-19/buggy/bug.ml diff --git a/OCaml/lambda-19/buggy/testcases b/OCaml/lambda-19/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-19/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-19/metadata.json b/OCaml/lambda-19/metadata.json new file mode 100644 index 000000000..d62a86049 --- /dev/null +++ b/OCaml/lambda-19/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-19", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-2/.dockerignore b/OCaml/lambda-2/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-2/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-2/Dockerfile b/OCaml/lambda-2/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-2/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_2/bug.ml b/OCaml/lambda-2/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_2/bug.ml rename to OCaml/lambda-2/buggy/bug.ml diff --git a/OCaml/lambda-2/buggy/testcases b/OCaml/lambda-2/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-2/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-2/metadata.json b/OCaml/lambda-2/metadata.json new file mode 100644 index 000000000..64581c0a5 --- /dev/null +++ b/OCaml/lambda-2/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-2", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-20/.dockerignore b/OCaml/lambda-20/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-20/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-20/Dockerfile b/OCaml/lambda-20/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-20/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_20/bug.ml b/OCaml/lambda-20/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_20/bug.ml rename to OCaml/lambda-20/buggy/bug.ml diff --git a/OCaml/lambda-20/buggy/testcases b/OCaml/lambda-20/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-20/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-20/metadata.json b/OCaml/lambda-20/metadata.json new file mode 100644 index 000000000..25be356a3 --- /dev/null +++ b/OCaml/lambda-20/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-20", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-21/.dockerignore b/OCaml/lambda-21/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-21/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-21/Dockerfile b/OCaml/lambda-21/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-21/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_21/bug.ml b/OCaml/lambda-21/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_21/bug.ml rename to OCaml/lambda-21/buggy/bug.ml diff --git a/OCaml/lambda-21/buggy/testcases b/OCaml/lambda-21/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-21/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-21/metadata.json b/OCaml/lambda-21/metadata.json new file mode 100644 index 000000000..c9a229319 --- /dev/null +++ b/OCaml/lambda-21/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-21", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-22/.dockerignore b/OCaml/lambda-22/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-22/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-22/Dockerfile b/OCaml/lambda-22/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-22/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_22/bug.ml b/OCaml/lambda-22/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_22/bug.ml rename to OCaml/lambda-22/buggy/bug.ml diff --git a/OCaml/lambda-22/buggy/testcases b/OCaml/lambda-22/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-22/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-22/metadata.json b/OCaml/lambda-22/metadata.json new file mode 100644 index 000000000..d51f74275 --- /dev/null +++ b/OCaml/lambda-22/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-22", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-23/.dockerignore b/OCaml/lambda-23/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-23/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-23/Dockerfile b/OCaml/lambda-23/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-23/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_23/bug.ml b/OCaml/lambda-23/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_23/bug.ml rename to OCaml/lambda-23/buggy/bug.ml diff --git a/OCaml/lambda-23/buggy/testcases b/OCaml/lambda-23/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-23/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-23/metadata.json b/OCaml/lambda-23/metadata.json new file mode 100644 index 000000000..b8a84f5ae --- /dev/null +++ b/OCaml/lambda-23/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-23", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-24/.dockerignore b/OCaml/lambda-24/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-24/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-24/Dockerfile b/OCaml/lambda-24/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-24/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_24/bug.ml b/OCaml/lambda-24/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_24/bug.ml rename to OCaml/lambda-24/buggy/bug.ml diff --git a/OCaml/lambda-24/buggy/testcases b/OCaml/lambda-24/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-24/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-24/metadata.json b/OCaml/lambda-24/metadata.json new file mode 100644 index 000000000..6231ff45e --- /dev/null +++ b/OCaml/lambda-24/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-24", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-25/.dockerignore b/OCaml/lambda-25/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-25/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-25/Dockerfile b/OCaml/lambda-25/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-25/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_25/bug.ml b/OCaml/lambda-25/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_25/bug.ml rename to OCaml/lambda-25/buggy/bug.ml diff --git a/OCaml/lambda-25/buggy/testcases b/OCaml/lambda-25/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-25/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-25/metadata.json b/OCaml/lambda-25/metadata.json new file mode 100644 index 000000000..b9bfa4dc6 --- /dev/null +++ b/OCaml/lambda-25/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-25", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-26/.dockerignore b/OCaml/lambda-26/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-26/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-26/Dockerfile b/OCaml/lambda-26/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-26/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_26/bug.ml b/OCaml/lambda-26/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_26/bug.ml rename to OCaml/lambda-26/buggy/bug.ml diff --git a/OCaml/lambda-26/buggy/testcases b/OCaml/lambda-26/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-26/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-26/metadata.json b/OCaml/lambda-26/metadata.json new file mode 100644 index 000000000..01ec8eaae --- /dev/null +++ b/OCaml/lambda-26/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-26", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-27/.dockerignore b/OCaml/lambda-27/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-27/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-27/Dockerfile b/OCaml/lambda-27/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-27/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_27/bug.ml b/OCaml/lambda-27/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_27/bug.ml rename to OCaml/lambda-27/buggy/bug.ml diff --git a/OCaml/lambda-27/buggy/testcases b/OCaml/lambda-27/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-27/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-27/metadata.json b/OCaml/lambda-27/metadata.json new file mode 100644 index 000000000..6a4b3cde2 --- /dev/null +++ b/OCaml/lambda-27/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-27", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-28/.dockerignore b/OCaml/lambda-28/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-28/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-28/Dockerfile b/OCaml/lambda-28/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-28/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_28/bug.ml b/OCaml/lambda-28/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_28/bug.ml rename to OCaml/lambda-28/buggy/bug.ml diff --git a/OCaml/lambda-28/buggy/testcases b/OCaml/lambda-28/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-28/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-28/metadata.json b/OCaml/lambda-28/metadata.json new file mode 100644 index 000000000..d02476d98 --- /dev/null +++ b/OCaml/lambda-28/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-28", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-29/.dockerignore b/OCaml/lambda-29/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-29/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-29/Dockerfile b/OCaml/lambda-29/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-29/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_29/bug.ml b/OCaml/lambda-29/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_29/bug.ml rename to OCaml/lambda-29/buggy/bug.ml diff --git a/OCaml/lambda-29/buggy/testcases b/OCaml/lambda-29/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-29/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-29/metadata.json b/OCaml/lambda-29/metadata.json new file mode 100644 index 000000000..165eacba2 --- /dev/null +++ b/OCaml/lambda-29/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-29", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-3/.dockerignore b/OCaml/lambda-3/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-3/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-3/Dockerfile b/OCaml/lambda-3/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-3/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_3/bug.ml b/OCaml/lambda-3/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_3/bug.ml rename to OCaml/lambda-3/buggy/bug.ml diff --git a/OCaml/lambda-3/buggy/testcases b/OCaml/lambda-3/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-3/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-3/metadata.json b/OCaml/lambda-3/metadata.json new file mode 100644 index 000000000..994c64a50 --- /dev/null +++ b/OCaml/lambda-3/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-3", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-30/.dockerignore b/OCaml/lambda-30/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-30/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-30/Dockerfile b/OCaml/lambda-30/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-30/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_30/bug.ml b/OCaml/lambda-30/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_30/bug.ml rename to OCaml/lambda-30/buggy/bug.ml diff --git a/OCaml/lambda-30/buggy/testcases b/OCaml/lambda-30/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-30/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-30/metadata.json b/OCaml/lambda-30/metadata.json new file mode 100644 index 000000000..457ebb4fa --- /dev/null +++ b/OCaml/lambda-30/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-30", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-31/.dockerignore b/OCaml/lambda-31/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-31/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-31/Dockerfile b/OCaml/lambda-31/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-31/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_31/bug.ml b/OCaml/lambda-31/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_31/bug.ml rename to OCaml/lambda-31/buggy/bug.ml diff --git a/OCaml/lambda-31/buggy/testcases b/OCaml/lambda-31/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-31/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-31/metadata.json b/OCaml/lambda-31/metadata.json new file mode 100644 index 000000000..1ba9ac196 --- /dev/null +++ b/OCaml/lambda-31/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-31", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-32/.dockerignore b/OCaml/lambda-32/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-32/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-32/Dockerfile b/OCaml/lambda-32/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-32/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_32/bug.ml b/OCaml/lambda-32/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_32/bug.ml rename to OCaml/lambda-32/buggy/bug.ml diff --git a/OCaml/lambda-32/buggy/testcases b/OCaml/lambda-32/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-32/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-32/metadata.json b/OCaml/lambda-32/metadata.json new file mode 100644 index 000000000..67d247b5f --- /dev/null +++ b/OCaml/lambda-32/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-32", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-33/.dockerignore b/OCaml/lambda-33/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-33/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-33/Dockerfile b/OCaml/lambda-33/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-33/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_33/bug.ml b/OCaml/lambda-33/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_33/bug.ml rename to OCaml/lambda-33/buggy/bug.ml diff --git a/OCaml/lambda-33/buggy/testcases b/OCaml/lambda-33/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-33/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-33/metadata.json b/OCaml/lambda-33/metadata.json new file mode 100644 index 000000000..12ee69093 --- /dev/null +++ b/OCaml/lambda-33/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-33", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-34/.dockerignore b/OCaml/lambda-34/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-34/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-34/Dockerfile b/OCaml/lambda-34/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-34/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_34/bug.ml b/OCaml/lambda-34/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_34/bug.ml rename to OCaml/lambda-34/buggy/bug.ml diff --git a/OCaml/lambda-34/buggy/testcases b/OCaml/lambda-34/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-34/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-34/metadata.json b/OCaml/lambda-34/metadata.json new file mode 100644 index 000000000..64b30b3ef --- /dev/null +++ b/OCaml/lambda-34/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-34", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-35/.dockerignore b/OCaml/lambda-35/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-35/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-35/Dockerfile b/OCaml/lambda-35/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-35/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_35/bug.ml b/OCaml/lambda-35/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_35/bug.ml rename to OCaml/lambda-35/buggy/bug.ml diff --git a/OCaml/lambda-35/buggy/testcases b/OCaml/lambda-35/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-35/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-35/metadata.json b/OCaml/lambda-35/metadata.json new file mode 100644 index 000000000..194e597ae --- /dev/null +++ b/OCaml/lambda-35/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-35", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-36/.dockerignore b/OCaml/lambda-36/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-36/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-36/Dockerfile b/OCaml/lambda-36/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-36/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_36/bug.ml b/OCaml/lambda-36/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_36/bug.ml rename to OCaml/lambda-36/buggy/bug.ml diff --git a/OCaml/lambda-36/buggy/testcases b/OCaml/lambda-36/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-36/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-36/metadata.json b/OCaml/lambda-36/metadata.json new file mode 100644 index 000000000..2ae08d001 --- /dev/null +++ b/OCaml/lambda-36/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-36", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-37/.dockerignore b/OCaml/lambda-37/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-37/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-37/Dockerfile b/OCaml/lambda-37/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-37/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_37/bug.ml b/OCaml/lambda-37/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_37/bug.ml rename to OCaml/lambda-37/buggy/bug.ml diff --git a/OCaml/lambda-37/buggy/testcases b/OCaml/lambda-37/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-37/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-37/metadata.json b/OCaml/lambda-37/metadata.json new file mode 100644 index 000000000..4ee0512a2 --- /dev/null +++ b/OCaml/lambda-37/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-37", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-38/.dockerignore b/OCaml/lambda-38/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-38/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-38/Dockerfile b/OCaml/lambda-38/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-38/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_38/bug.ml b/OCaml/lambda-38/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_38/bug.ml rename to OCaml/lambda-38/buggy/bug.ml diff --git a/OCaml/lambda-38/buggy/testcases b/OCaml/lambda-38/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-38/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-38/metadata.json b/OCaml/lambda-38/metadata.json new file mode 100644 index 000000000..2f7a92d8a --- /dev/null +++ b/OCaml/lambda-38/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-38", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-39/.dockerignore b/OCaml/lambda-39/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-39/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-39/Dockerfile b/OCaml/lambda-39/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-39/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_39/bug.ml b/OCaml/lambda-39/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_39/bug.ml rename to OCaml/lambda-39/buggy/bug.ml diff --git a/OCaml/lambda-39/buggy/testcases b/OCaml/lambda-39/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-39/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-39/metadata.json b/OCaml/lambda-39/metadata.json new file mode 100644 index 000000000..1db9a89f1 --- /dev/null +++ b/OCaml/lambda-39/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-39", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-4/.dockerignore b/OCaml/lambda-4/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-4/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-4/Dockerfile b/OCaml/lambda-4/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-4/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_4/bug.ml b/OCaml/lambda-4/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_4/bug.ml rename to OCaml/lambda-4/buggy/bug.ml diff --git a/OCaml/lambda-4/buggy/testcases b/OCaml/lambda-4/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-4/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-4/metadata.json b/OCaml/lambda-4/metadata.json new file mode 100644 index 000000000..6101b0657 --- /dev/null +++ b/OCaml/lambda-4/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-4", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-40/.dockerignore b/OCaml/lambda-40/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-40/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-40/Dockerfile b/OCaml/lambda-40/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-40/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_40/bug.ml b/OCaml/lambda-40/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_40/bug.ml rename to OCaml/lambda-40/buggy/bug.ml diff --git a/OCaml/lambda-40/buggy/testcases b/OCaml/lambda-40/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-40/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-40/metadata.json b/OCaml/lambda-40/metadata.json new file mode 100644 index 000000000..4bff01540 --- /dev/null +++ b/OCaml/lambda-40/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-40", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-41/.dockerignore b/OCaml/lambda-41/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-41/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-41/Dockerfile b/OCaml/lambda-41/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-41/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_41/bug.ml b/OCaml/lambda-41/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_41/bug.ml rename to OCaml/lambda-41/buggy/bug.ml diff --git a/OCaml/lambda-41/buggy/testcases b/OCaml/lambda-41/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-41/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-41/metadata.json b/OCaml/lambda-41/metadata.json new file mode 100644 index 000000000..24fdbe289 --- /dev/null +++ b/OCaml/lambda-41/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-41", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-42/.dockerignore b/OCaml/lambda-42/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-42/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-42/Dockerfile b/OCaml/lambda-42/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-42/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_42/bug.ml b/OCaml/lambda-42/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_42/bug.ml rename to OCaml/lambda-42/buggy/bug.ml diff --git a/OCaml/lambda-42/buggy/testcases b/OCaml/lambda-42/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-42/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-42/metadata.json b/OCaml/lambda-42/metadata.json new file mode 100644 index 000000000..f759fd040 --- /dev/null +++ b/OCaml/lambda-42/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-42", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-43/.dockerignore b/OCaml/lambda-43/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-43/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-43/Dockerfile b/OCaml/lambda-43/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-43/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_43/bug.ml b/OCaml/lambda-43/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_43/bug.ml rename to OCaml/lambda-43/buggy/bug.ml diff --git a/OCaml/lambda-43/buggy/testcases b/OCaml/lambda-43/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-43/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-43/metadata.json b/OCaml/lambda-43/metadata.json new file mode 100644 index 000000000..40c19f5da --- /dev/null +++ b/OCaml/lambda-43/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-43", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-44/.dockerignore b/OCaml/lambda-44/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-44/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-44/Dockerfile b/OCaml/lambda-44/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-44/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_44/bug.ml b/OCaml/lambda-44/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_44/bug.ml rename to OCaml/lambda-44/buggy/bug.ml diff --git a/OCaml/lambda-44/buggy/testcases b/OCaml/lambda-44/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-44/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-44/metadata.json b/OCaml/lambda-44/metadata.json new file mode 100644 index 000000000..ad6e8f894 --- /dev/null +++ b/OCaml/lambda-44/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-44", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-45/.dockerignore b/OCaml/lambda-45/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-45/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-45/Dockerfile b/OCaml/lambda-45/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-45/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_45/bug.ml b/OCaml/lambda-45/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_45/bug.ml rename to OCaml/lambda-45/buggy/bug.ml diff --git a/OCaml/lambda-45/buggy/testcases b/OCaml/lambda-45/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-45/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-45/metadata.json b/OCaml/lambda-45/metadata.json new file mode 100644 index 000000000..afdefe3b5 --- /dev/null +++ b/OCaml/lambda-45/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-45", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-46/.dockerignore b/OCaml/lambda-46/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-46/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-46/Dockerfile b/OCaml/lambda-46/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-46/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_46/bug.ml b/OCaml/lambda-46/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_46/bug.ml rename to OCaml/lambda-46/buggy/bug.ml diff --git a/OCaml/lambda-46/buggy/testcases b/OCaml/lambda-46/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-46/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-46/metadata.json b/OCaml/lambda-46/metadata.json new file mode 100644 index 000000000..0a43a27a3 --- /dev/null +++ b/OCaml/lambda-46/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-46", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-47/.dockerignore b/OCaml/lambda-47/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-47/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-47/Dockerfile b/OCaml/lambda-47/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-47/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_47/bug.ml b/OCaml/lambda-47/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_47/bug.ml rename to OCaml/lambda-47/buggy/bug.ml diff --git a/OCaml/lambda-47/buggy/testcases b/OCaml/lambda-47/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-47/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-47/metadata.json b/OCaml/lambda-47/metadata.json new file mode 100644 index 000000000..dc5b8db11 --- /dev/null +++ b/OCaml/lambda-47/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-47", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-48/.dockerignore b/OCaml/lambda-48/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-48/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-48/Dockerfile b/OCaml/lambda-48/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-48/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_48/bug.ml b/OCaml/lambda-48/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_48/bug.ml rename to OCaml/lambda-48/buggy/bug.ml diff --git a/OCaml/lambda-48/buggy/testcases b/OCaml/lambda-48/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-48/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-48/metadata.json b/OCaml/lambda-48/metadata.json new file mode 100644 index 000000000..0b454f6c4 --- /dev/null +++ b/OCaml/lambda-48/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-48", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-49/.dockerignore b/OCaml/lambda-49/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-49/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-49/Dockerfile b/OCaml/lambda-49/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-49/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_49/bug.ml b/OCaml/lambda-49/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_49/bug.ml rename to OCaml/lambda-49/buggy/bug.ml diff --git a/OCaml/lambda-49/buggy/testcases b/OCaml/lambda-49/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-49/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-49/metadata.json b/OCaml/lambda-49/metadata.json new file mode 100644 index 000000000..e7d2ee58c --- /dev/null +++ b/OCaml/lambda-49/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-49", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-5/.dockerignore b/OCaml/lambda-5/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-5/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-5/Dockerfile b/OCaml/lambda-5/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-5/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_5/bug.ml b/OCaml/lambda-5/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_5/bug.ml rename to OCaml/lambda-5/buggy/bug.ml diff --git a/OCaml/lambda-5/buggy/testcases b/OCaml/lambda-5/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-5/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-5/metadata.json b/OCaml/lambda-5/metadata.json new file mode 100644 index 000000000..8fbab5022 --- /dev/null +++ b/OCaml/lambda-5/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-5", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-50/.dockerignore b/OCaml/lambda-50/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-50/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-50/Dockerfile b/OCaml/lambda-50/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-50/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_50/bug.ml b/OCaml/lambda-50/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_50/bug.ml rename to OCaml/lambda-50/buggy/bug.ml diff --git a/OCaml/lambda-50/buggy/testcases b/OCaml/lambda-50/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-50/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-50/metadata.json b/OCaml/lambda-50/metadata.json new file mode 100644 index 000000000..36e868b0c --- /dev/null +++ b/OCaml/lambda-50/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-50", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-51/.dockerignore b/OCaml/lambda-51/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-51/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-51/Dockerfile b/OCaml/lambda-51/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-51/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_51/bug.ml b/OCaml/lambda-51/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_51/bug.ml rename to OCaml/lambda-51/buggy/bug.ml diff --git a/OCaml/lambda-51/buggy/testcases b/OCaml/lambda-51/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-51/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-51/metadata.json b/OCaml/lambda-51/metadata.json new file mode 100644 index 000000000..5bd98dbfc --- /dev/null +++ b/OCaml/lambda-51/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-51", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-52/.dockerignore b/OCaml/lambda-52/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-52/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-52/Dockerfile b/OCaml/lambda-52/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-52/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_52/bug.ml b/OCaml/lambda-52/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_52/bug.ml rename to OCaml/lambda-52/buggy/bug.ml diff --git a/OCaml/lambda-52/buggy/testcases b/OCaml/lambda-52/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-52/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-52/metadata.json b/OCaml/lambda-52/metadata.json new file mode 100644 index 000000000..06adcc87a --- /dev/null +++ b/OCaml/lambda-52/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-52", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-53/.dockerignore b/OCaml/lambda-53/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-53/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-53/Dockerfile b/OCaml/lambda-53/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-53/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_53/bug.ml b/OCaml/lambda-53/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_53/bug.ml rename to OCaml/lambda-53/buggy/bug.ml diff --git a/OCaml/lambda-53/buggy/testcases b/OCaml/lambda-53/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-53/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-53/metadata.json b/OCaml/lambda-53/metadata.json new file mode 100644 index 000000000..1d3d264f8 --- /dev/null +++ b/OCaml/lambda-53/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-53", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-54/.dockerignore b/OCaml/lambda-54/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-54/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-54/Dockerfile b/OCaml/lambda-54/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-54/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_54/bug.ml b/OCaml/lambda-54/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_54/bug.ml rename to OCaml/lambda-54/buggy/bug.ml diff --git a/OCaml/lambda-54/buggy/testcases b/OCaml/lambda-54/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-54/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-54/metadata.json b/OCaml/lambda-54/metadata.json new file mode 100644 index 000000000..0e0e4215f --- /dev/null +++ b/OCaml/lambda-54/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-54", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-55/.dockerignore b/OCaml/lambda-55/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-55/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-55/Dockerfile b/OCaml/lambda-55/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-55/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_55/bug.ml b/OCaml/lambda-55/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_55/bug.ml rename to OCaml/lambda-55/buggy/bug.ml diff --git a/OCaml/lambda-55/buggy/testcases b/OCaml/lambda-55/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-55/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-55/metadata.json b/OCaml/lambda-55/metadata.json new file mode 100644 index 000000000..96062a6ae --- /dev/null +++ b/OCaml/lambda-55/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-55", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-56/.dockerignore b/OCaml/lambda-56/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-56/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-56/Dockerfile b/OCaml/lambda-56/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-56/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_56/bug.ml b/OCaml/lambda-56/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_56/bug.ml rename to OCaml/lambda-56/buggy/bug.ml diff --git a/OCaml/lambda-56/buggy/testcases b/OCaml/lambda-56/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-56/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-56/metadata.json b/OCaml/lambda-56/metadata.json new file mode 100644 index 000000000..9e9a187cc --- /dev/null +++ b/OCaml/lambda-56/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-56", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-57/.dockerignore b/OCaml/lambda-57/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-57/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-57/Dockerfile b/OCaml/lambda-57/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-57/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_57/bug.ml b/OCaml/lambda-57/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_57/bug.ml rename to OCaml/lambda-57/buggy/bug.ml diff --git a/OCaml/lambda-57/buggy/testcases b/OCaml/lambda-57/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-57/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-57/metadata.json b/OCaml/lambda-57/metadata.json new file mode 100644 index 000000000..08fcc2f6e --- /dev/null +++ b/OCaml/lambda-57/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-57", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-58/.dockerignore b/OCaml/lambda-58/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-58/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-58/Dockerfile b/OCaml/lambda-58/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-58/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_58/bug.ml b/OCaml/lambda-58/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_58/bug.ml rename to OCaml/lambda-58/buggy/bug.ml diff --git a/OCaml/lambda-58/buggy/testcases b/OCaml/lambda-58/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-58/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-58/metadata.json b/OCaml/lambda-58/metadata.json new file mode 100644 index 000000000..3afb571c9 --- /dev/null +++ b/OCaml/lambda-58/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-58", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-59/.dockerignore b/OCaml/lambda-59/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-59/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-59/Dockerfile b/OCaml/lambda-59/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-59/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_59/bug.ml b/OCaml/lambda-59/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_59/bug.ml rename to OCaml/lambda-59/buggy/bug.ml diff --git a/OCaml/lambda-59/buggy/testcases b/OCaml/lambda-59/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-59/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-59/metadata.json b/OCaml/lambda-59/metadata.json new file mode 100644 index 000000000..0ffc6e580 --- /dev/null +++ b/OCaml/lambda-59/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-59", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-6/.dockerignore b/OCaml/lambda-6/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-6/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-6/Dockerfile b/OCaml/lambda-6/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-6/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_6/bug.ml b/OCaml/lambda-6/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_6/bug.ml rename to OCaml/lambda-6/buggy/bug.ml diff --git a/OCaml/lambda-6/buggy/testcases b/OCaml/lambda-6/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-6/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-6/metadata.json b/OCaml/lambda-6/metadata.json new file mode 100644 index 000000000..aeea8b8cd --- /dev/null +++ b/OCaml/lambda-6/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-6", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-60/.dockerignore b/OCaml/lambda-60/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-60/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-60/Dockerfile b/OCaml/lambda-60/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-60/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_60/bug.ml b/OCaml/lambda-60/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_60/bug.ml rename to OCaml/lambda-60/buggy/bug.ml diff --git a/OCaml/lambda-60/buggy/testcases b/OCaml/lambda-60/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-60/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-60/metadata.json b/OCaml/lambda-60/metadata.json new file mode 100644 index 000000000..3bd36cfba --- /dev/null +++ b/OCaml/lambda-60/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-60", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-61/.dockerignore b/OCaml/lambda-61/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-61/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-61/Dockerfile b/OCaml/lambda-61/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-61/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_61/bug.ml b/OCaml/lambda-61/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_61/bug.ml rename to OCaml/lambda-61/buggy/bug.ml diff --git a/OCaml/lambda-61/buggy/testcases b/OCaml/lambda-61/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-61/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-61/metadata.json b/OCaml/lambda-61/metadata.json new file mode 100644 index 000000000..e87fffb9e --- /dev/null +++ b/OCaml/lambda-61/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-61", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-62/.dockerignore b/OCaml/lambda-62/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-62/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-62/Dockerfile b/OCaml/lambda-62/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-62/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_62/bug.ml b/OCaml/lambda-62/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_62/bug.ml rename to OCaml/lambda-62/buggy/bug.ml diff --git a/OCaml/lambda-62/buggy/testcases b/OCaml/lambda-62/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-62/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-62/metadata.json b/OCaml/lambda-62/metadata.json new file mode 100644 index 000000000..97c2d2996 --- /dev/null +++ b/OCaml/lambda-62/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-62", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-63/.dockerignore b/OCaml/lambda-63/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-63/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-63/Dockerfile b/OCaml/lambda-63/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-63/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_63/bug.ml b/OCaml/lambda-63/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_63/bug.ml rename to OCaml/lambda-63/buggy/bug.ml diff --git a/OCaml/lambda-63/buggy/testcases b/OCaml/lambda-63/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-63/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-63/metadata.json b/OCaml/lambda-63/metadata.json new file mode 100644 index 000000000..05379dddc --- /dev/null +++ b/OCaml/lambda-63/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-63", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-64/.dockerignore b/OCaml/lambda-64/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-64/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-64/Dockerfile b/OCaml/lambda-64/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-64/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_64/bug.ml b/OCaml/lambda-64/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_64/bug.ml rename to OCaml/lambda-64/buggy/bug.ml diff --git a/OCaml/lambda-64/buggy/testcases b/OCaml/lambda-64/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-64/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-64/metadata.json b/OCaml/lambda-64/metadata.json new file mode 100644 index 000000000..a23eca4e8 --- /dev/null +++ b/OCaml/lambda-64/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-64", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-65/.dockerignore b/OCaml/lambda-65/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-65/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-65/Dockerfile b/OCaml/lambda-65/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-65/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_65/bug.ml b/OCaml/lambda-65/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_65/bug.ml rename to OCaml/lambda-65/buggy/bug.ml diff --git a/OCaml/lambda-65/buggy/testcases b/OCaml/lambda-65/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-65/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-65/metadata.json b/OCaml/lambda-65/metadata.json new file mode 100644 index 000000000..ccb260d4f --- /dev/null +++ b/OCaml/lambda-65/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-65", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-66/.dockerignore b/OCaml/lambda-66/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-66/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-66/Dockerfile b/OCaml/lambda-66/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-66/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_66/bug.ml b/OCaml/lambda-66/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_66/bug.ml rename to OCaml/lambda-66/buggy/bug.ml diff --git a/OCaml/lambda-66/buggy/testcases b/OCaml/lambda-66/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-66/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-66/metadata.json b/OCaml/lambda-66/metadata.json new file mode 100644 index 000000000..34f5e591c --- /dev/null +++ b/OCaml/lambda-66/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-66", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-67/.dockerignore b/OCaml/lambda-67/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-67/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-67/Dockerfile b/OCaml/lambda-67/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-67/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_67/bug.ml b/OCaml/lambda-67/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_67/bug.ml rename to OCaml/lambda-67/buggy/bug.ml diff --git a/OCaml/lambda-67/buggy/testcases b/OCaml/lambda-67/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-67/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-67/metadata.json b/OCaml/lambda-67/metadata.json new file mode 100644 index 000000000..ac8e7679f --- /dev/null +++ b/OCaml/lambda-67/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-67", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-68/.dockerignore b/OCaml/lambda-68/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-68/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-68/Dockerfile b/OCaml/lambda-68/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-68/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_68/bug.ml b/OCaml/lambda-68/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_68/bug.ml rename to OCaml/lambda-68/buggy/bug.ml diff --git a/OCaml/lambda-68/buggy/testcases b/OCaml/lambda-68/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-68/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-68/metadata.json b/OCaml/lambda-68/metadata.json new file mode 100644 index 000000000..3bff1519a --- /dev/null +++ b/OCaml/lambda-68/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-68", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-69/.dockerignore b/OCaml/lambda-69/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-69/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-69/Dockerfile b/OCaml/lambda-69/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-69/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_69/bug.ml b/OCaml/lambda-69/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_69/bug.ml rename to OCaml/lambda-69/buggy/bug.ml diff --git a/OCaml/lambda-69/buggy/testcases b/OCaml/lambda-69/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-69/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-69/metadata.json b/OCaml/lambda-69/metadata.json new file mode 100644 index 000000000..beabbb31d --- /dev/null +++ b/OCaml/lambda-69/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-69", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-7/.dockerignore b/OCaml/lambda-7/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-7/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-7/Dockerfile b/OCaml/lambda-7/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-7/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_7/bug.ml b/OCaml/lambda-7/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_7/bug.ml rename to OCaml/lambda-7/buggy/bug.ml diff --git a/OCaml/lambda-7/buggy/testcases b/OCaml/lambda-7/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-7/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-7/metadata.json b/OCaml/lambda-7/metadata.json new file mode 100644 index 000000000..17035d0ca --- /dev/null +++ b/OCaml/lambda-7/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-7", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-70/.dockerignore b/OCaml/lambda-70/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-70/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-70/Dockerfile b/OCaml/lambda-70/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-70/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_70/bug.ml b/OCaml/lambda-70/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_70/bug.ml rename to OCaml/lambda-70/buggy/bug.ml diff --git a/OCaml/lambda-70/buggy/testcases b/OCaml/lambda-70/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-70/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-70/metadata.json b/OCaml/lambda-70/metadata.json new file mode 100644 index 000000000..980d13972 --- /dev/null +++ b/OCaml/lambda-70/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-70", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-71/.dockerignore b/OCaml/lambda-71/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-71/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-71/Dockerfile b/OCaml/lambda-71/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-71/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_71/bug.ml b/OCaml/lambda-71/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_71/bug.ml rename to OCaml/lambda-71/buggy/bug.ml diff --git a/OCaml/lambda-71/buggy/testcases b/OCaml/lambda-71/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-71/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-71/metadata.json b/OCaml/lambda-71/metadata.json new file mode 100644 index 000000000..01fc145da --- /dev/null +++ b/OCaml/lambda-71/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-71", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-72/.dockerignore b/OCaml/lambda-72/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-72/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-72/Dockerfile b/OCaml/lambda-72/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-72/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_72/bug.ml b/OCaml/lambda-72/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_72/bug.ml rename to OCaml/lambda-72/buggy/bug.ml diff --git a/OCaml/lambda-72/buggy/testcases b/OCaml/lambda-72/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-72/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-72/metadata.json b/OCaml/lambda-72/metadata.json new file mode 100644 index 000000000..0f9d6dd5b --- /dev/null +++ b/OCaml/lambda-72/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-72", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-73/.dockerignore b/OCaml/lambda-73/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-73/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-73/Dockerfile b/OCaml/lambda-73/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-73/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_73/bug.ml b/OCaml/lambda-73/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_73/bug.ml rename to OCaml/lambda-73/buggy/bug.ml diff --git a/OCaml/lambda-73/buggy/testcases b/OCaml/lambda-73/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-73/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-73/metadata.json b/OCaml/lambda-73/metadata.json new file mode 100644 index 000000000..ffa765a9d --- /dev/null +++ b/OCaml/lambda-73/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-73", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-74/.dockerignore b/OCaml/lambda-74/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-74/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-74/Dockerfile b/OCaml/lambda-74/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-74/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_74/bug.ml b/OCaml/lambda-74/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_74/bug.ml rename to OCaml/lambda-74/buggy/bug.ml diff --git a/OCaml/lambda-74/buggy/testcases b/OCaml/lambda-74/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-74/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-74/metadata.json b/OCaml/lambda-74/metadata.json new file mode 100644 index 000000000..1a9d800a1 --- /dev/null +++ b/OCaml/lambda-74/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-74", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-75/.dockerignore b/OCaml/lambda-75/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-75/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-75/Dockerfile b/OCaml/lambda-75/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-75/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_75/bug.ml b/OCaml/lambda-75/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_75/bug.ml rename to OCaml/lambda-75/buggy/bug.ml diff --git a/OCaml/lambda-75/buggy/testcases b/OCaml/lambda-75/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-75/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-75/metadata.json b/OCaml/lambda-75/metadata.json new file mode 100644 index 000000000..f379f613e --- /dev/null +++ b/OCaml/lambda-75/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-75", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-76/.dockerignore b/OCaml/lambda-76/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-76/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-76/Dockerfile b/OCaml/lambda-76/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-76/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_76/bug.ml b/OCaml/lambda-76/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_76/bug.ml rename to OCaml/lambda-76/buggy/bug.ml diff --git a/OCaml/lambda-76/buggy/testcases b/OCaml/lambda-76/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-76/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-76/metadata.json b/OCaml/lambda-76/metadata.json new file mode 100644 index 000000000..a2425ed09 --- /dev/null +++ b/OCaml/lambda-76/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-76", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-77/.dockerignore b/OCaml/lambda-77/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-77/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-77/Dockerfile b/OCaml/lambda-77/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-77/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_77/bug.ml b/OCaml/lambda-77/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_77/bug.ml rename to OCaml/lambda-77/buggy/bug.ml diff --git a/OCaml/lambda-77/buggy/testcases b/OCaml/lambda-77/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-77/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-77/metadata.json b/OCaml/lambda-77/metadata.json new file mode 100644 index 000000000..94d393de0 --- /dev/null +++ b/OCaml/lambda-77/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-77", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-78/.dockerignore b/OCaml/lambda-78/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-78/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-78/Dockerfile b/OCaml/lambda-78/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-78/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_78/bug.ml b/OCaml/lambda-78/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_78/bug.ml rename to OCaml/lambda-78/buggy/bug.ml diff --git a/OCaml/lambda-78/buggy/testcases b/OCaml/lambda-78/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-78/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-78/metadata.json b/OCaml/lambda-78/metadata.json new file mode 100644 index 000000000..f691d2a00 --- /dev/null +++ b/OCaml/lambda-78/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-78", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-79/.dockerignore b/OCaml/lambda-79/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-79/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-79/Dockerfile b/OCaml/lambda-79/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-79/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_79/bug.ml b/OCaml/lambda-79/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_79/bug.ml rename to OCaml/lambda-79/buggy/bug.ml diff --git a/OCaml/lambda-79/buggy/testcases b/OCaml/lambda-79/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-79/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-79/metadata.json b/OCaml/lambda-79/metadata.json new file mode 100644 index 000000000..8beb9ff4c --- /dev/null +++ b/OCaml/lambda-79/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-79", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-8/.dockerignore b/OCaml/lambda-8/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-8/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-8/Dockerfile b/OCaml/lambda-8/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-8/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_8/bug.ml b/OCaml/lambda-8/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_8/bug.ml rename to OCaml/lambda-8/buggy/bug.ml diff --git a/OCaml/lambda-8/buggy/testcases b/OCaml/lambda-8/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-8/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-8/metadata.json b/OCaml/lambda-8/metadata.json new file mode 100644 index 000000000..ed3c5bdd6 --- /dev/null +++ b/OCaml/lambda-8/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-8", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-80/.dockerignore b/OCaml/lambda-80/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-80/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-80/Dockerfile b/OCaml/lambda-80/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-80/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_80/bug.ml b/OCaml/lambda-80/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_80/bug.ml rename to OCaml/lambda-80/buggy/bug.ml diff --git a/OCaml/lambda-80/buggy/testcases b/OCaml/lambda-80/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-80/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-80/metadata.json b/OCaml/lambda-80/metadata.json new file mode 100644 index 000000000..d77b731bd --- /dev/null +++ b/OCaml/lambda-80/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-80", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-81/.dockerignore b/OCaml/lambda-81/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-81/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-81/Dockerfile b/OCaml/lambda-81/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-81/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_81/bug.ml b/OCaml/lambda-81/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_81/bug.ml rename to OCaml/lambda-81/buggy/bug.ml diff --git a/OCaml/lambda-81/buggy/testcases b/OCaml/lambda-81/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-81/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-81/metadata.json b/OCaml/lambda-81/metadata.json new file mode 100644 index 000000000..76d0ae634 --- /dev/null +++ b/OCaml/lambda-81/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-81", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-82/.dockerignore b/OCaml/lambda-82/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-82/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-82/Dockerfile b/OCaml/lambda-82/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-82/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_82/bug.ml b/OCaml/lambda-82/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_82/bug.ml rename to OCaml/lambda-82/buggy/bug.ml diff --git a/OCaml/lambda-82/buggy/testcases b/OCaml/lambda-82/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-82/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-82/metadata.json b/OCaml/lambda-82/metadata.json new file mode 100644 index 000000000..9e08367d0 --- /dev/null +++ b/OCaml/lambda-82/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-82", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-83/.dockerignore b/OCaml/lambda-83/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-83/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-83/Dockerfile b/OCaml/lambda-83/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-83/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_83/bug.ml b/OCaml/lambda-83/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_83/bug.ml rename to OCaml/lambda-83/buggy/bug.ml diff --git a/OCaml/lambda-83/buggy/testcases b/OCaml/lambda-83/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-83/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-83/metadata.json b/OCaml/lambda-83/metadata.json new file mode 100644 index 000000000..5e16e5326 --- /dev/null +++ b/OCaml/lambda-83/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-83", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-84/.dockerignore b/OCaml/lambda-84/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-84/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-84/Dockerfile b/OCaml/lambda-84/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-84/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_84/bug.ml b/OCaml/lambda-84/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_84/bug.ml rename to OCaml/lambda-84/buggy/bug.ml diff --git a/OCaml/lambda-84/buggy/testcases b/OCaml/lambda-84/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-84/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-84/metadata.json b/OCaml/lambda-84/metadata.json new file mode 100644 index 000000000..654d3eb29 --- /dev/null +++ b/OCaml/lambda-84/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-84", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-85/.dockerignore b/OCaml/lambda-85/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-85/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-85/Dockerfile b/OCaml/lambda-85/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-85/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_85/bug.ml b/OCaml/lambda-85/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_85/bug.ml rename to OCaml/lambda-85/buggy/bug.ml diff --git a/OCaml/lambda-85/buggy/testcases b/OCaml/lambda-85/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-85/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-85/metadata.json b/OCaml/lambda-85/metadata.json new file mode 100644 index 000000000..89f53afa8 --- /dev/null +++ b/OCaml/lambda-85/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-85", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-86/.dockerignore b/OCaml/lambda-86/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-86/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-86/Dockerfile b/OCaml/lambda-86/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-86/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_86/bug.ml b/OCaml/lambda-86/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_86/bug.ml rename to OCaml/lambda-86/buggy/bug.ml diff --git a/OCaml/lambda-86/buggy/testcases b/OCaml/lambda-86/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-86/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-86/metadata.json b/OCaml/lambda-86/metadata.json new file mode 100644 index 000000000..4933e697d --- /dev/null +++ b/OCaml/lambda-86/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-86", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-87/.dockerignore b/OCaml/lambda-87/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-87/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-87/Dockerfile b/OCaml/lambda-87/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-87/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_87/bug.ml b/OCaml/lambda-87/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_87/bug.ml rename to OCaml/lambda-87/buggy/bug.ml diff --git a/OCaml/lambda-87/buggy/testcases b/OCaml/lambda-87/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-87/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-87/metadata.json b/OCaml/lambda-87/metadata.json new file mode 100644 index 000000000..cdf880160 --- /dev/null +++ b/OCaml/lambda-87/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-87", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-88/.dockerignore b/OCaml/lambda-88/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-88/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-88/Dockerfile b/OCaml/lambda-88/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-88/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_88/bug.ml b/OCaml/lambda-88/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_88/bug.ml rename to OCaml/lambda-88/buggy/bug.ml diff --git a/OCaml/lambda-88/buggy/testcases b/OCaml/lambda-88/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-88/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-88/metadata.json b/OCaml/lambda-88/metadata.json new file mode 100644 index 000000000..9970a39b6 --- /dev/null +++ b/OCaml/lambda-88/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-88", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-89/.dockerignore b/OCaml/lambda-89/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-89/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-89/Dockerfile b/OCaml/lambda-89/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-89/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_89/bug.ml b/OCaml/lambda-89/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_89/bug.ml rename to OCaml/lambda-89/buggy/bug.ml diff --git a/OCaml/lambda-89/buggy/testcases b/OCaml/lambda-89/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-89/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-89/metadata.json b/OCaml/lambda-89/metadata.json new file mode 100644 index 000000000..9fa3e74bf --- /dev/null +++ b/OCaml/lambda-89/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-89", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-9/.dockerignore b/OCaml/lambda-9/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-9/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-9/Dockerfile b/OCaml/lambda-9/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-9/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_9/bug.ml b/OCaml/lambda-9/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_9/bug.ml rename to OCaml/lambda-9/buggy/bug.ml diff --git a/OCaml/lambda-9/buggy/testcases b/OCaml/lambda-9/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-9/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-9/metadata.json b/OCaml/lambda-9/metadata.json new file mode 100644 index 000000000..9882969c4 --- /dev/null +++ b/OCaml/lambda-9/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-9", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-90/.dockerignore b/OCaml/lambda-90/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-90/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-90/Dockerfile b/OCaml/lambda-90/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-90/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_90/bug.ml b/OCaml/lambda-90/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_90/bug.ml rename to OCaml/lambda-90/buggy/bug.ml diff --git a/OCaml/lambda-90/buggy/testcases b/OCaml/lambda-90/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-90/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-90/metadata.json b/OCaml/lambda-90/metadata.json new file mode 100644 index 000000000..4d5d03b3a --- /dev/null +++ b/OCaml/lambda-90/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-90", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-91/.dockerignore b/OCaml/lambda-91/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-91/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-91/Dockerfile b/OCaml/lambda-91/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-91/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_91/bug.ml b/OCaml/lambda-91/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_91/bug.ml rename to OCaml/lambda-91/buggy/bug.ml diff --git a/OCaml/lambda-91/buggy/testcases b/OCaml/lambda-91/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-91/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-91/metadata.json b/OCaml/lambda-91/metadata.json new file mode 100644 index 000000000..b6f62d255 --- /dev/null +++ b/OCaml/lambda-91/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-91", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-92/.dockerignore b/OCaml/lambda-92/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-92/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-92/Dockerfile b/OCaml/lambda-92/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-92/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_92/bug.ml b/OCaml/lambda-92/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_92/bug.ml rename to OCaml/lambda-92/buggy/bug.ml diff --git a/OCaml/lambda-92/buggy/testcases b/OCaml/lambda-92/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-92/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-92/metadata.json b/OCaml/lambda-92/metadata.json new file mode 100644 index 000000000..35c53140e --- /dev/null +++ b/OCaml/lambda-92/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-92", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-93/.dockerignore b/OCaml/lambda-93/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-93/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-93/Dockerfile b/OCaml/lambda-93/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-93/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_93/bug.ml b/OCaml/lambda-93/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_93/bug.ml rename to OCaml/lambda-93/buggy/bug.ml diff --git a/OCaml/lambda-93/buggy/testcases b/OCaml/lambda-93/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-93/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-93/metadata.json b/OCaml/lambda-93/metadata.json new file mode 100644 index 000000000..e0e46b38c --- /dev/null +++ b/OCaml/lambda-93/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-93", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-94/.dockerignore b/OCaml/lambda-94/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-94/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-94/Dockerfile b/OCaml/lambda-94/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-94/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_94/bug.ml b/OCaml/lambda-94/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_94/bug.ml rename to OCaml/lambda-94/buggy/bug.ml diff --git a/OCaml/lambda-94/buggy/testcases b/OCaml/lambda-94/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-94/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-94/metadata.json b/OCaml/lambda-94/metadata.json new file mode 100644 index 000000000..666109015 --- /dev/null +++ b/OCaml/lambda-94/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-94", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-95/.dockerignore b/OCaml/lambda-95/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-95/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-95/Dockerfile b/OCaml/lambda-95/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-95/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_95/bug.ml b/OCaml/lambda-95/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_95/bug.ml rename to OCaml/lambda-95/buggy/bug.ml diff --git a/OCaml/lambda-95/buggy/testcases b/OCaml/lambda-95/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-95/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-95/metadata.json b/OCaml/lambda-95/metadata.json new file mode 100644 index 000000000..074014e9c --- /dev/null +++ b/OCaml/lambda-95/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-95", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-96/.dockerignore b/OCaml/lambda-96/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-96/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-96/Dockerfile b/OCaml/lambda-96/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-96/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_96/bug.ml b/OCaml/lambda-96/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_96/bug.ml rename to OCaml/lambda-96/buggy/bug.ml diff --git a/OCaml/lambda-96/buggy/testcases b/OCaml/lambda-96/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-96/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-96/metadata.json b/OCaml/lambda-96/metadata.json new file mode 100644 index 000000000..b3ccf8f3b --- /dev/null +++ b/OCaml/lambda-96/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-96", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-97/.dockerignore b/OCaml/lambda-97/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-97/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-97/Dockerfile b/OCaml/lambda-97/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-97/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_97/bug.ml b/OCaml/lambda-97/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_97/bug.ml rename to OCaml/lambda-97/buggy/bug.ml diff --git a/OCaml/lambda-97/buggy/testcases b/OCaml/lambda-97/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-97/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-97/metadata.json b/OCaml/lambda-97/metadata.json new file mode 100644 index 000000000..a718fc19e --- /dev/null +++ b/OCaml/lambda-97/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-97", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-98/.dockerignore b/OCaml/lambda-98/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-98/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-98/Dockerfile b/OCaml/lambda-98/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-98/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_98/bug.ml b/OCaml/lambda-98/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_98/bug.ml rename to OCaml/lambda-98/buggy/bug.ml diff --git a/OCaml/lambda-98/buggy/testcases b/OCaml/lambda-98/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-98/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-98/metadata.json b/OCaml/lambda-98/metadata.json new file mode 100644 index 000000000..60a1a7b62 --- /dev/null +++ b/OCaml/lambda-98/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-98", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file diff --git a/OCaml/lambda-99/.dockerignore b/OCaml/lambda-99/.dockerignore new file mode 100644 index 000000000..6e19512a0 --- /dev/null +++ b/OCaml/lambda-99/.dockerignore @@ -0,0 +1,2 @@ +.dockerignore +Dockerfile diff --git a/OCaml/lambda-99/Dockerfile b/OCaml/lambda-99/Dockerfile new file mode 100644 index 000000000..5782789a8 --- /dev/null +++ b/OCaml/lambda-99/Dockerfile @@ -0,0 +1,6 @@ +FROM ghcr.io/sambyeol/ocaml-devcontainer:4.14.1-debian-root + +USER root +RUN mkdir -p /workspace +WORKDIR /workspace +COPY . /workspace diff --git a/functional/OCaml/lambda/bugs/bug_99/bug.ml b/OCaml/lambda-99/buggy/bug.ml similarity index 100% rename from functional/OCaml/lambda/bugs/bug_99/bug.ml rename to OCaml/lambda-99/buggy/bug.ml diff --git a/OCaml/lambda-99/buggy/testcases b/OCaml/lambda-99/buggy/testcases new file mode 100644 index 000000000..2f99f52d3 --- /dev/null +++ b/OCaml/lambda-99/buggy/testcases @@ -0,0 +1,35 @@ +{ + V ("X") => false; + (C (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))), V "z")) => false; + (C (V "h", C (C (V "f", V "f"), V "y"))) => false; + (P ("y", P ("g", C (V "f", V "f")))) => false; + (C (C (V "b", P ("c", V "c")), P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (C (V "h", V "y")) => false; + (P ("g", P ("x", V "y"))) => false; + (C (P ("y", P ("c", C (C (V "f", V "f"), V "c"))), C (C (V "f", V "f"), V "y"))) => false; + (C (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))), P ("b", C (V "f", V "f")))) => false; + (C (C (C (V "z", P ("x", V "y")), P ("y", P ("c", C (C (V "f", V "f"), V "c")))), C (V "x", V "h"))) => false; + (P ("h", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => false; + (P ("c", V "c")) => true; + (P ("h", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("h", P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("g", P ("h", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))))) => true; + (P ("x", P ("c", V "c"))) => true; + (P ("b", P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c")))))) => true; + (P ("f", P ("y", P ("c", C (C (V "f", V "f"), V "c"))))) => true; + (P ("h", C (P ("x", P ("c", V "c")), V "h"))) => true; + (P ("a", P ("b", C(V "a", V "b")))) => true; + C ((P (("x", V ("x"))), P (("x", V ("x"))))) => true; + C ((P (("x", V ("x"))), V ("x"))) => false; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_0"))))))) => false; + P (("x_1", P (("x_0", C ((V ("x_1"), V ("x_1"))))))) => true; + P (("x_0", P (("x_1", P (("x_2", C ((V ("x_0"), V ("x_1"))))))))) => true; + P (("x", P (("x", P (("x", V ("x"))))))) => true; + P (("x_0", C ((V ("x_1"), P (("x_1", V ("x_1"))))))) => false; + P (("x_0", C ((P (("x_1", V ("x_1"))), V ("x_1"))))) => false; + P (("x_0", C ((V ("x_0"), V ("x_1"))))) => false; + P (("x_1", C ((P (("x_0", C ((V ("x_0"), V ("x_1"))))), V ("x_1"))))) => true; + C ((P (("x", V ("x"))), C ((V ("x"), P (("x", V ("x"))))))) => false; + C ((C ((V ("x"), P (("x", V ("x"))))), P (("x", V ("x"))))) => false; +} diff --git a/OCaml/lambda-99/metadata.json b/OCaml/lambda-99/metadata.json new file mode 100644 index 000000000..3947fcc46 --- /dev/null +++ b/OCaml/lambda-99/metadata.json @@ -0,0 +1,12 @@ +{ + "language": "ocaml", + "id": "lambda-99", + + "buggyPath": "buggy", + "referencePath": null, + + "buildCommand": "ocamlc src.ml", + "testCommand": null, + + "categories": ["functional"] +} \ No newline at end of file From 17db2e968084c66083792bb0eca7a4051adf711a Mon Sep 17 00:00:00 2001 From: Henry Lee Date: Wed, 8 Nov 2023 17:33:48 +0900 Subject: [PATCH 2/4] refactor: rename source code name --- OCaml/lambda-10/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-100/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-11/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-12/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-13/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-14/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-15/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-16/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-17/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-18/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-19/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-2/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-20/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-21/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-22/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-23/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-24/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-25/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-26/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-27/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-28/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-29/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-3/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-30/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-31/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-32/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-33/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-34/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-35/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-36/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-37/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-38/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-39/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-4/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-40/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-41/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-42/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-43/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-44/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-45/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-46/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-47/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-48/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-49/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-5/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-50/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-51/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-52/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-53/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-54/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-55/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-56/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-57/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-58/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-59/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-6/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-60/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-61/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-62/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-63/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-64/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-65/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-66/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-67/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-68/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-69/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-7/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-70/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-71/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-72/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-73/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-74/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-75/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-76/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-77/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-78/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-79/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-8/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-80/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-81/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-82/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-83/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-84/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-85/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-86/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-87/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-88/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-89/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-9/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-90/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-91/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-92/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-93/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-94/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-95/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-96/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-97/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-98/buggy/{bug.ml => src.ml} | 0 OCaml/lambda-99/buggy/{bug.ml => src.ml} | 0 99 files changed, 0 insertions(+), 0 deletions(-) rename OCaml/lambda-10/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-100/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-11/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-12/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-13/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-14/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-15/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-16/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-17/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-18/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-19/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-2/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-20/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-21/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-22/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-23/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-24/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-25/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-26/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-27/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-28/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-29/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-3/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-30/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-31/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-32/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-33/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-34/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-35/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-36/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-37/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-38/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-39/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-4/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-40/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-41/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-42/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-43/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-44/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-45/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-46/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-47/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-48/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-49/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-5/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-50/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-51/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-52/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-53/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-54/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-55/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-56/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-57/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-58/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-59/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-6/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-60/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-61/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-62/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-63/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-64/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-65/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-66/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-67/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-68/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-69/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-7/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-70/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-71/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-72/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-73/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-74/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-75/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-76/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-77/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-78/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-79/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-8/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-80/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-81/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-82/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-83/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-84/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-85/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-86/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-87/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-88/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-89/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-9/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-90/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-91/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-92/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-93/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-94/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-95/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-96/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-97/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-98/buggy/{bug.ml => src.ml} (100%) rename OCaml/lambda-99/buggy/{bug.ml => src.ml} (100%) diff --git a/OCaml/lambda-10/buggy/bug.ml b/OCaml/lambda-10/buggy/src.ml similarity index 100% rename from OCaml/lambda-10/buggy/bug.ml rename to OCaml/lambda-10/buggy/src.ml diff --git a/OCaml/lambda-100/buggy/bug.ml b/OCaml/lambda-100/buggy/src.ml similarity index 100% rename from OCaml/lambda-100/buggy/bug.ml rename to OCaml/lambda-100/buggy/src.ml diff --git a/OCaml/lambda-11/buggy/bug.ml b/OCaml/lambda-11/buggy/src.ml similarity index 100% rename from OCaml/lambda-11/buggy/bug.ml rename to OCaml/lambda-11/buggy/src.ml diff --git a/OCaml/lambda-12/buggy/bug.ml b/OCaml/lambda-12/buggy/src.ml similarity index 100% rename from OCaml/lambda-12/buggy/bug.ml rename to OCaml/lambda-12/buggy/src.ml diff --git a/OCaml/lambda-13/buggy/bug.ml b/OCaml/lambda-13/buggy/src.ml similarity index 100% rename from OCaml/lambda-13/buggy/bug.ml rename to OCaml/lambda-13/buggy/src.ml diff --git a/OCaml/lambda-14/buggy/bug.ml b/OCaml/lambda-14/buggy/src.ml similarity index 100% rename from OCaml/lambda-14/buggy/bug.ml rename to OCaml/lambda-14/buggy/src.ml diff --git a/OCaml/lambda-15/buggy/bug.ml b/OCaml/lambda-15/buggy/src.ml similarity index 100% rename from OCaml/lambda-15/buggy/bug.ml rename to OCaml/lambda-15/buggy/src.ml diff --git a/OCaml/lambda-16/buggy/bug.ml b/OCaml/lambda-16/buggy/src.ml similarity index 100% rename from OCaml/lambda-16/buggy/bug.ml rename to OCaml/lambda-16/buggy/src.ml diff --git a/OCaml/lambda-17/buggy/bug.ml b/OCaml/lambda-17/buggy/src.ml similarity index 100% rename from OCaml/lambda-17/buggy/bug.ml rename to OCaml/lambda-17/buggy/src.ml diff --git a/OCaml/lambda-18/buggy/bug.ml b/OCaml/lambda-18/buggy/src.ml similarity index 100% rename from OCaml/lambda-18/buggy/bug.ml rename to OCaml/lambda-18/buggy/src.ml diff --git a/OCaml/lambda-19/buggy/bug.ml b/OCaml/lambda-19/buggy/src.ml similarity index 100% rename from OCaml/lambda-19/buggy/bug.ml rename to OCaml/lambda-19/buggy/src.ml diff --git a/OCaml/lambda-2/buggy/bug.ml b/OCaml/lambda-2/buggy/src.ml similarity index 100% rename from OCaml/lambda-2/buggy/bug.ml rename to OCaml/lambda-2/buggy/src.ml diff --git a/OCaml/lambda-20/buggy/bug.ml b/OCaml/lambda-20/buggy/src.ml similarity index 100% rename from OCaml/lambda-20/buggy/bug.ml rename to OCaml/lambda-20/buggy/src.ml diff --git a/OCaml/lambda-21/buggy/bug.ml b/OCaml/lambda-21/buggy/src.ml similarity index 100% rename from OCaml/lambda-21/buggy/bug.ml rename to OCaml/lambda-21/buggy/src.ml diff --git a/OCaml/lambda-22/buggy/bug.ml b/OCaml/lambda-22/buggy/src.ml similarity index 100% rename from OCaml/lambda-22/buggy/bug.ml rename to OCaml/lambda-22/buggy/src.ml diff --git a/OCaml/lambda-23/buggy/bug.ml b/OCaml/lambda-23/buggy/src.ml similarity index 100% rename from OCaml/lambda-23/buggy/bug.ml rename to OCaml/lambda-23/buggy/src.ml diff --git a/OCaml/lambda-24/buggy/bug.ml b/OCaml/lambda-24/buggy/src.ml similarity index 100% rename from OCaml/lambda-24/buggy/bug.ml rename to OCaml/lambda-24/buggy/src.ml diff --git a/OCaml/lambda-25/buggy/bug.ml b/OCaml/lambda-25/buggy/src.ml similarity index 100% rename from OCaml/lambda-25/buggy/bug.ml rename to OCaml/lambda-25/buggy/src.ml diff --git a/OCaml/lambda-26/buggy/bug.ml b/OCaml/lambda-26/buggy/src.ml similarity index 100% rename from OCaml/lambda-26/buggy/bug.ml rename to OCaml/lambda-26/buggy/src.ml diff --git a/OCaml/lambda-27/buggy/bug.ml b/OCaml/lambda-27/buggy/src.ml similarity index 100% rename from OCaml/lambda-27/buggy/bug.ml rename to OCaml/lambda-27/buggy/src.ml diff --git a/OCaml/lambda-28/buggy/bug.ml b/OCaml/lambda-28/buggy/src.ml similarity index 100% rename from OCaml/lambda-28/buggy/bug.ml rename to OCaml/lambda-28/buggy/src.ml diff --git a/OCaml/lambda-29/buggy/bug.ml b/OCaml/lambda-29/buggy/src.ml similarity index 100% rename from OCaml/lambda-29/buggy/bug.ml rename to OCaml/lambda-29/buggy/src.ml diff --git a/OCaml/lambda-3/buggy/bug.ml b/OCaml/lambda-3/buggy/src.ml similarity index 100% rename from OCaml/lambda-3/buggy/bug.ml rename to OCaml/lambda-3/buggy/src.ml diff --git a/OCaml/lambda-30/buggy/bug.ml b/OCaml/lambda-30/buggy/src.ml similarity index 100% rename from OCaml/lambda-30/buggy/bug.ml rename to OCaml/lambda-30/buggy/src.ml diff --git a/OCaml/lambda-31/buggy/bug.ml b/OCaml/lambda-31/buggy/src.ml similarity index 100% rename from OCaml/lambda-31/buggy/bug.ml rename to OCaml/lambda-31/buggy/src.ml diff --git a/OCaml/lambda-32/buggy/bug.ml b/OCaml/lambda-32/buggy/src.ml similarity index 100% rename from OCaml/lambda-32/buggy/bug.ml rename to OCaml/lambda-32/buggy/src.ml diff --git a/OCaml/lambda-33/buggy/bug.ml b/OCaml/lambda-33/buggy/src.ml similarity index 100% rename from OCaml/lambda-33/buggy/bug.ml rename to OCaml/lambda-33/buggy/src.ml diff --git a/OCaml/lambda-34/buggy/bug.ml b/OCaml/lambda-34/buggy/src.ml similarity index 100% rename from OCaml/lambda-34/buggy/bug.ml rename to OCaml/lambda-34/buggy/src.ml diff --git a/OCaml/lambda-35/buggy/bug.ml b/OCaml/lambda-35/buggy/src.ml similarity index 100% rename from OCaml/lambda-35/buggy/bug.ml rename to OCaml/lambda-35/buggy/src.ml diff --git a/OCaml/lambda-36/buggy/bug.ml b/OCaml/lambda-36/buggy/src.ml similarity index 100% rename from OCaml/lambda-36/buggy/bug.ml rename to OCaml/lambda-36/buggy/src.ml diff --git a/OCaml/lambda-37/buggy/bug.ml b/OCaml/lambda-37/buggy/src.ml similarity index 100% rename from OCaml/lambda-37/buggy/bug.ml rename to OCaml/lambda-37/buggy/src.ml diff --git a/OCaml/lambda-38/buggy/bug.ml b/OCaml/lambda-38/buggy/src.ml similarity index 100% rename from OCaml/lambda-38/buggy/bug.ml rename to OCaml/lambda-38/buggy/src.ml diff --git a/OCaml/lambda-39/buggy/bug.ml b/OCaml/lambda-39/buggy/src.ml similarity index 100% rename from OCaml/lambda-39/buggy/bug.ml rename to OCaml/lambda-39/buggy/src.ml diff --git a/OCaml/lambda-4/buggy/bug.ml b/OCaml/lambda-4/buggy/src.ml similarity index 100% rename from OCaml/lambda-4/buggy/bug.ml rename to OCaml/lambda-4/buggy/src.ml diff --git a/OCaml/lambda-40/buggy/bug.ml b/OCaml/lambda-40/buggy/src.ml similarity index 100% rename from OCaml/lambda-40/buggy/bug.ml rename to OCaml/lambda-40/buggy/src.ml diff --git a/OCaml/lambda-41/buggy/bug.ml b/OCaml/lambda-41/buggy/src.ml similarity index 100% rename from OCaml/lambda-41/buggy/bug.ml rename to OCaml/lambda-41/buggy/src.ml diff --git a/OCaml/lambda-42/buggy/bug.ml b/OCaml/lambda-42/buggy/src.ml similarity index 100% rename from OCaml/lambda-42/buggy/bug.ml rename to OCaml/lambda-42/buggy/src.ml diff --git a/OCaml/lambda-43/buggy/bug.ml b/OCaml/lambda-43/buggy/src.ml similarity index 100% rename from OCaml/lambda-43/buggy/bug.ml rename to OCaml/lambda-43/buggy/src.ml diff --git a/OCaml/lambda-44/buggy/bug.ml b/OCaml/lambda-44/buggy/src.ml similarity index 100% rename from OCaml/lambda-44/buggy/bug.ml rename to OCaml/lambda-44/buggy/src.ml diff --git a/OCaml/lambda-45/buggy/bug.ml b/OCaml/lambda-45/buggy/src.ml similarity index 100% rename from OCaml/lambda-45/buggy/bug.ml rename to OCaml/lambda-45/buggy/src.ml diff --git a/OCaml/lambda-46/buggy/bug.ml b/OCaml/lambda-46/buggy/src.ml similarity index 100% rename from OCaml/lambda-46/buggy/bug.ml rename to OCaml/lambda-46/buggy/src.ml diff --git a/OCaml/lambda-47/buggy/bug.ml b/OCaml/lambda-47/buggy/src.ml similarity index 100% rename from OCaml/lambda-47/buggy/bug.ml rename to OCaml/lambda-47/buggy/src.ml diff --git a/OCaml/lambda-48/buggy/bug.ml b/OCaml/lambda-48/buggy/src.ml similarity index 100% rename from OCaml/lambda-48/buggy/bug.ml rename to OCaml/lambda-48/buggy/src.ml diff --git a/OCaml/lambda-49/buggy/bug.ml b/OCaml/lambda-49/buggy/src.ml similarity index 100% rename from OCaml/lambda-49/buggy/bug.ml rename to OCaml/lambda-49/buggy/src.ml diff --git a/OCaml/lambda-5/buggy/bug.ml b/OCaml/lambda-5/buggy/src.ml similarity index 100% rename from OCaml/lambda-5/buggy/bug.ml rename to OCaml/lambda-5/buggy/src.ml diff --git a/OCaml/lambda-50/buggy/bug.ml b/OCaml/lambda-50/buggy/src.ml similarity index 100% rename from OCaml/lambda-50/buggy/bug.ml rename to OCaml/lambda-50/buggy/src.ml diff --git a/OCaml/lambda-51/buggy/bug.ml b/OCaml/lambda-51/buggy/src.ml similarity index 100% rename from OCaml/lambda-51/buggy/bug.ml rename to OCaml/lambda-51/buggy/src.ml diff --git a/OCaml/lambda-52/buggy/bug.ml b/OCaml/lambda-52/buggy/src.ml similarity index 100% rename from OCaml/lambda-52/buggy/bug.ml rename to OCaml/lambda-52/buggy/src.ml diff --git a/OCaml/lambda-53/buggy/bug.ml b/OCaml/lambda-53/buggy/src.ml similarity index 100% rename from OCaml/lambda-53/buggy/bug.ml rename to OCaml/lambda-53/buggy/src.ml diff --git a/OCaml/lambda-54/buggy/bug.ml b/OCaml/lambda-54/buggy/src.ml similarity index 100% rename from OCaml/lambda-54/buggy/bug.ml rename to OCaml/lambda-54/buggy/src.ml diff --git a/OCaml/lambda-55/buggy/bug.ml b/OCaml/lambda-55/buggy/src.ml similarity index 100% rename from OCaml/lambda-55/buggy/bug.ml rename to OCaml/lambda-55/buggy/src.ml diff --git a/OCaml/lambda-56/buggy/bug.ml b/OCaml/lambda-56/buggy/src.ml similarity index 100% rename from OCaml/lambda-56/buggy/bug.ml rename to OCaml/lambda-56/buggy/src.ml diff --git a/OCaml/lambda-57/buggy/bug.ml b/OCaml/lambda-57/buggy/src.ml similarity index 100% rename from OCaml/lambda-57/buggy/bug.ml rename to OCaml/lambda-57/buggy/src.ml diff --git a/OCaml/lambda-58/buggy/bug.ml b/OCaml/lambda-58/buggy/src.ml similarity index 100% rename from OCaml/lambda-58/buggy/bug.ml rename to OCaml/lambda-58/buggy/src.ml diff --git a/OCaml/lambda-59/buggy/bug.ml b/OCaml/lambda-59/buggy/src.ml similarity index 100% rename from OCaml/lambda-59/buggy/bug.ml rename to OCaml/lambda-59/buggy/src.ml diff --git a/OCaml/lambda-6/buggy/bug.ml b/OCaml/lambda-6/buggy/src.ml similarity index 100% rename from OCaml/lambda-6/buggy/bug.ml rename to OCaml/lambda-6/buggy/src.ml diff --git a/OCaml/lambda-60/buggy/bug.ml b/OCaml/lambda-60/buggy/src.ml similarity index 100% rename from OCaml/lambda-60/buggy/bug.ml rename to OCaml/lambda-60/buggy/src.ml diff --git a/OCaml/lambda-61/buggy/bug.ml b/OCaml/lambda-61/buggy/src.ml similarity index 100% rename from OCaml/lambda-61/buggy/bug.ml rename to OCaml/lambda-61/buggy/src.ml diff --git a/OCaml/lambda-62/buggy/bug.ml b/OCaml/lambda-62/buggy/src.ml similarity index 100% rename from OCaml/lambda-62/buggy/bug.ml rename to OCaml/lambda-62/buggy/src.ml diff --git a/OCaml/lambda-63/buggy/bug.ml b/OCaml/lambda-63/buggy/src.ml similarity index 100% rename from OCaml/lambda-63/buggy/bug.ml rename to OCaml/lambda-63/buggy/src.ml diff --git a/OCaml/lambda-64/buggy/bug.ml b/OCaml/lambda-64/buggy/src.ml similarity index 100% rename from OCaml/lambda-64/buggy/bug.ml rename to OCaml/lambda-64/buggy/src.ml diff --git a/OCaml/lambda-65/buggy/bug.ml b/OCaml/lambda-65/buggy/src.ml similarity index 100% rename from OCaml/lambda-65/buggy/bug.ml rename to OCaml/lambda-65/buggy/src.ml diff --git a/OCaml/lambda-66/buggy/bug.ml b/OCaml/lambda-66/buggy/src.ml similarity index 100% rename from OCaml/lambda-66/buggy/bug.ml rename to OCaml/lambda-66/buggy/src.ml diff --git a/OCaml/lambda-67/buggy/bug.ml b/OCaml/lambda-67/buggy/src.ml similarity index 100% rename from OCaml/lambda-67/buggy/bug.ml rename to OCaml/lambda-67/buggy/src.ml diff --git a/OCaml/lambda-68/buggy/bug.ml b/OCaml/lambda-68/buggy/src.ml similarity index 100% rename from OCaml/lambda-68/buggy/bug.ml rename to OCaml/lambda-68/buggy/src.ml diff --git a/OCaml/lambda-69/buggy/bug.ml b/OCaml/lambda-69/buggy/src.ml similarity index 100% rename from OCaml/lambda-69/buggy/bug.ml rename to OCaml/lambda-69/buggy/src.ml diff --git a/OCaml/lambda-7/buggy/bug.ml b/OCaml/lambda-7/buggy/src.ml similarity index 100% rename from OCaml/lambda-7/buggy/bug.ml rename to OCaml/lambda-7/buggy/src.ml diff --git a/OCaml/lambda-70/buggy/bug.ml b/OCaml/lambda-70/buggy/src.ml similarity index 100% rename from OCaml/lambda-70/buggy/bug.ml rename to OCaml/lambda-70/buggy/src.ml diff --git a/OCaml/lambda-71/buggy/bug.ml b/OCaml/lambda-71/buggy/src.ml similarity index 100% rename from OCaml/lambda-71/buggy/bug.ml rename to OCaml/lambda-71/buggy/src.ml diff --git a/OCaml/lambda-72/buggy/bug.ml b/OCaml/lambda-72/buggy/src.ml similarity index 100% rename from OCaml/lambda-72/buggy/bug.ml rename to OCaml/lambda-72/buggy/src.ml diff --git a/OCaml/lambda-73/buggy/bug.ml b/OCaml/lambda-73/buggy/src.ml similarity index 100% rename from OCaml/lambda-73/buggy/bug.ml rename to OCaml/lambda-73/buggy/src.ml diff --git a/OCaml/lambda-74/buggy/bug.ml b/OCaml/lambda-74/buggy/src.ml similarity index 100% rename from OCaml/lambda-74/buggy/bug.ml rename to OCaml/lambda-74/buggy/src.ml diff --git a/OCaml/lambda-75/buggy/bug.ml b/OCaml/lambda-75/buggy/src.ml similarity index 100% rename from OCaml/lambda-75/buggy/bug.ml rename to OCaml/lambda-75/buggy/src.ml diff --git a/OCaml/lambda-76/buggy/bug.ml b/OCaml/lambda-76/buggy/src.ml similarity index 100% rename from OCaml/lambda-76/buggy/bug.ml rename to OCaml/lambda-76/buggy/src.ml diff --git a/OCaml/lambda-77/buggy/bug.ml b/OCaml/lambda-77/buggy/src.ml similarity index 100% rename from OCaml/lambda-77/buggy/bug.ml rename to OCaml/lambda-77/buggy/src.ml diff --git a/OCaml/lambda-78/buggy/bug.ml b/OCaml/lambda-78/buggy/src.ml similarity index 100% rename from OCaml/lambda-78/buggy/bug.ml rename to OCaml/lambda-78/buggy/src.ml diff --git a/OCaml/lambda-79/buggy/bug.ml b/OCaml/lambda-79/buggy/src.ml similarity index 100% rename from OCaml/lambda-79/buggy/bug.ml rename to OCaml/lambda-79/buggy/src.ml diff --git a/OCaml/lambda-8/buggy/bug.ml b/OCaml/lambda-8/buggy/src.ml similarity index 100% rename from OCaml/lambda-8/buggy/bug.ml rename to OCaml/lambda-8/buggy/src.ml diff --git a/OCaml/lambda-80/buggy/bug.ml b/OCaml/lambda-80/buggy/src.ml similarity index 100% rename from OCaml/lambda-80/buggy/bug.ml rename to OCaml/lambda-80/buggy/src.ml diff --git a/OCaml/lambda-81/buggy/bug.ml b/OCaml/lambda-81/buggy/src.ml similarity index 100% rename from OCaml/lambda-81/buggy/bug.ml rename to OCaml/lambda-81/buggy/src.ml diff --git a/OCaml/lambda-82/buggy/bug.ml b/OCaml/lambda-82/buggy/src.ml similarity index 100% rename from OCaml/lambda-82/buggy/bug.ml rename to OCaml/lambda-82/buggy/src.ml diff --git a/OCaml/lambda-83/buggy/bug.ml b/OCaml/lambda-83/buggy/src.ml similarity index 100% rename from OCaml/lambda-83/buggy/bug.ml rename to OCaml/lambda-83/buggy/src.ml diff --git a/OCaml/lambda-84/buggy/bug.ml b/OCaml/lambda-84/buggy/src.ml similarity index 100% rename from OCaml/lambda-84/buggy/bug.ml rename to OCaml/lambda-84/buggy/src.ml diff --git a/OCaml/lambda-85/buggy/bug.ml b/OCaml/lambda-85/buggy/src.ml similarity index 100% rename from OCaml/lambda-85/buggy/bug.ml rename to OCaml/lambda-85/buggy/src.ml diff --git a/OCaml/lambda-86/buggy/bug.ml b/OCaml/lambda-86/buggy/src.ml similarity index 100% rename from OCaml/lambda-86/buggy/bug.ml rename to OCaml/lambda-86/buggy/src.ml diff --git a/OCaml/lambda-87/buggy/bug.ml b/OCaml/lambda-87/buggy/src.ml similarity index 100% rename from OCaml/lambda-87/buggy/bug.ml rename to OCaml/lambda-87/buggy/src.ml diff --git a/OCaml/lambda-88/buggy/bug.ml b/OCaml/lambda-88/buggy/src.ml similarity index 100% rename from OCaml/lambda-88/buggy/bug.ml rename to OCaml/lambda-88/buggy/src.ml diff --git a/OCaml/lambda-89/buggy/bug.ml b/OCaml/lambda-89/buggy/src.ml similarity index 100% rename from OCaml/lambda-89/buggy/bug.ml rename to OCaml/lambda-89/buggy/src.ml diff --git a/OCaml/lambda-9/buggy/bug.ml b/OCaml/lambda-9/buggy/src.ml similarity index 100% rename from OCaml/lambda-9/buggy/bug.ml rename to OCaml/lambda-9/buggy/src.ml diff --git a/OCaml/lambda-90/buggy/bug.ml b/OCaml/lambda-90/buggy/src.ml similarity index 100% rename from OCaml/lambda-90/buggy/bug.ml rename to OCaml/lambda-90/buggy/src.ml diff --git a/OCaml/lambda-91/buggy/bug.ml b/OCaml/lambda-91/buggy/src.ml similarity index 100% rename from OCaml/lambda-91/buggy/bug.ml rename to OCaml/lambda-91/buggy/src.ml diff --git a/OCaml/lambda-92/buggy/bug.ml b/OCaml/lambda-92/buggy/src.ml similarity index 100% rename from OCaml/lambda-92/buggy/bug.ml rename to OCaml/lambda-92/buggy/src.ml diff --git a/OCaml/lambda-93/buggy/bug.ml b/OCaml/lambda-93/buggy/src.ml similarity index 100% rename from OCaml/lambda-93/buggy/bug.ml rename to OCaml/lambda-93/buggy/src.ml diff --git a/OCaml/lambda-94/buggy/bug.ml b/OCaml/lambda-94/buggy/src.ml similarity index 100% rename from OCaml/lambda-94/buggy/bug.ml rename to OCaml/lambda-94/buggy/src.ml diff --git a/OCaml/lambda-95/buggy/bug.ml b/OCaml/lambda-95/buggy/src.ml similarity index 100% rename from OCaml/lambda-95/buggy/bug.ml rename to OCaml/lambda-95/buggy/src.ml diff --git a/OCaml/lambda-96/buggy/bug.ml b/OCaml/lambda-96/buggy/src.ml similarity index 100% rename from OCaml/lambda-96/buggy/bug.ml rename to OCaml/lambda-96/buggy/src.ml diff --git a/OCaml/lambda-97/buggy/bug.ml b/OCaml/lambda-97/buggy/src.ml similarity index 100% rename from OCaml/lambda-97/buggy/bug.ml rename to OCaml/lambda-97/buggy/src.ml diff --git a/OCaml/lambda-98/buggy/bug.ml b/OCaml/lambda-98/buggy/src.ml similarity index 100% rename from OCaml/lambda-98/buggy/bug.ml rename to OCaml/lambda-98/buggy/src.ml diff --git a/OCaml/lambda-99/buggy/bug.ml b/OCaml/lambda-99/buggy/src.ml similarity index 100% rename from OCaml/lambda-99/buggy/bug.ml rename to OCaml/lambda-99/buggy/src.ml From b2ae1b477cb5b77d9e1da059114cb129873d3e0f Mon Sep 17 00:00:00 2001 From: sdw0316 Date: Wed, 8 Nov 2023 17:40:27 +0900 Subject: [PATCH 3/4] [fix] lambda-12 syntax --- OCaml/lambda-12/buggy/src.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OCaml/lambda-12/buggy/src.ml b/OCaml/lambda-12/buggy/src.ml index 945f2d21e..95db508c9 100644 --- a/OCaml/lambda-12/buggy/src.ml +++ b/OCaml/lambda-12/buggy/src.ml @@ -18,4 +18,4 @@ let rec check (m : lambda) : bool = | C (m0, m1) -> check_sub (m0, l) && check_sub (m1, l) in - match m with V s -> raise Invalid_input "V only" | _ -> check_sub (m, []) + match m with V s -> raise (Invalid_input "V only") | _ -> check_sub (m, []) From 92ace6ae1a982e1d619695156b9854ec0f16889b Mon Sep 17 00:00:00 2001 From: Henry Lee Date: Wed, 8 Nov 2023 18:02:37 +0900 Subject: [PATCH 4/4] fix: fix cases with syntax errors --- OCaml/lambda-13/buggy/src.ml | 4 ++-- OCaml/lambda-14/buggy/src.ml | 4 ++-- OCaml/lambda-6/buggy/src.ml | 2 +- OCaml/lambda-95/buggy/src.ml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/OCaml/lambda-13/buggy/src.ml b/OCaml/lambda-13/buggy/src.ml index e10acbf80..cbfceac5b 100644 --- a/OCaml/lambda-13/buggy/src.ml +++ b/OCaml/lambda-13/buggy/src.ml @@ -4,8 +4,8 @@ and var = string let rec check (a : lambda) : bool = match a with - | V _ -> raise Invalid_argument "check" - | C (a, b) -> raise Invalid_argument "check" + | V _ -> raise (Invalid_argument "check") + | C (a, b) -> raise (Invalid_argument "check") | P (a, V b) -> if a = b then true else false | P (a, C (V b, V c)) -> if a = b || a = c then true else false | P (a, C (P (b, V c), V d)) -> if a = c || a = d then true else false diff --git a/OCaml/lambda-14/buggy/src.ml b/OCaml/lambda-14/buggy/src.ml index d04652d0e..148651d7d 100644 --- a/OCaml/lambda-14/buggy/src.ml +++ b/OCaml/lambda-14/buggy/src.ml @@ -4,8 +4,8 @@ and var = string let rec check (a : lambda) : bool = match a with - | V _ -> raise Invalid_argument "check" - | C (a, b) -> raise Invalid_argument "check" + | V _ -> raise (Invalid_argument "check") + | C (a, b) -> raise (Invalid_argument "check") | P (a, V b) -> if a = b then true else false | P (a, C (V b, V c)) -> if a = b || a = c then true else false | P (a, C (P (b, V c), V d)) -> if a = c && a = d then true else false diff --git a/OCaml/lambda-6/buggy/src.ml b/OCaml/lambda-6/buggy/src.ml index fa06e79f0..aabac5f52 100644 --- a/OCaml/lambda-6/buggy/src.ml +++ b/OCaml/lambda-6/buggy/src.ml @@ -18,4 +18,4 @@ let rec check (met : lambda) : bool = | _ -> check2 a x && check2 a x ) in - match met with P (b, c) -> check2 b c | _ -> raise Error "Illegal input" + match met with P (b, c) -> check2 b c | _ -> raise (Error "Illegal input") diff --git a/OCaml/lambda-95/buggy/src.ml b/OCaml/lambda-95/buggy/src.ml index e5e7b3248..644d525dd 100644 --- a/OCaml/lambda-95/buggy/src.ml +++ b/OCaml/lambda-95/buggy/src.ml @@ -4,7 +4,7 @@ and var = string let isinthelist (l : 'a list) a : bool = let temp : 'a list = - List.filter (fun x y -> if x != y then false else true a) l + List.filter ((fun x y -> if x != y then false else true) a) l in match temp with [] -> false | hd :: tl -> true @@ -12,7 +12,7 @@ let isinthelist (l : 'a list) a : bool = let isnotinthelist (l : 'b list) (a : string) : bool = let temp : 'b list = - List.filter (fun x y -> if x != y then false else true a) l + List.filter ((fun x y -> if x != y then false else true) a) l in match temp with [] -> true | hd :: tl -> false