From 92c49ac708e04e545da6e7aafe91cac8f223f475 Mon Sep 17 00:00:00 2001
From: Timotej Lazar <timotej.lazar@fri.uni-lj.si>
Date: Mon, 27 Feb 2017 18:35:01 +0100
Subject: Prolog: add bugs files for the first six groups

---
 .../problems/family_relations/mother_2/bugs.json   | 84 ++++++++++++++++++++++
 1 file changed, 84 insertions(+)
 create mode 100644 prolog/problems/family_relations/mother_2/bugs.json

(limited to 'prolog/problems/family_relations/mother_2')

diff --git a/prolog/problems/family_relations/mother_2/bugs.json b/prolog/problems/family_relations/mother_2/bugs.json
new file mode 100644
index 0000000..a65eb29
--- /dev/null
+++ b/prolog/problems/family_relations/mother_2/bugs.json
@@ -0,0 +1,84 @@
+{
+  "patterns": [
+    "(clause (head (compound (functor \"mother\") (args variable))) (compound (functor \"parent\") (args variable)))",
+    "(clause (head (compound (functor \"mother\") (args (args variable)))) (compound (functor \"parent\") (args (args variable))))",
+    "(clause (head (compound (functor \"mother\") (args variable))) (compound (functor \"female\") (args variable)))",
+    "(clause (compound (functor \"parent\") (args variable)) (compound (functor \"female\") (args variable)))",
+    "(clause (compound (functor \"female\") (args variable)) (compound (functor \"parent\") (args variable)))",
+    "(clause (head (compound (functor \"mother\") (args (args variable)))))",
+    "(clause (head (compound (functor \"mother\") (args variable))))",
+    "(clause (compound (functor \"parent\") (args (args variable))) (compound (functor \"female\") (args variable)))",
+    "(clause (head (compound (functor \"mother\") (args (args variable)))) (compound (functor \"female\") (args variable)))",
+    "(clause (head (binop variable \"=\")))"
+  ],
+  "rules": [
+    {
+      "class": true,
+      "condition": [
+        "(clause (head (compound (functor \"mother\") (args (args variable)))) (compound (functor \"parent\") (args (args variable))))",
+        "(clause (compound (functor \"parent\") (args variable)) (compound (functor \"female\") (args variable)))"
+      ],
+      "distribution": [
+        1,
+        178
+      ],
+      "quality": 0.987052705253526
+    },
+    {
+      "class": true,
+      "condition": [
+        "(clause (head (compound (functor \"mother\") (args (args variable)))) (compound (functor \"parent\") (args (args variable))))",
+        "(clause (compound (functor \"female\") (args variable)) (compound (functor \"parent\") (args variable)))"
+      ],
+      "distribution": [
+        0,
+        79
+      ],
+      "quality": 0.9826262170902895
+    },
+    {
+      "class": false,
+      "condition": [
+        "(clause (head (compound (functor \"mother\") (args (args variable)))))"
+      ],
+      "distribution": [
+        18,
+        0
+      ],
+      "quality": 0.890899775723019
+    },
+    {
+      "class": false,
+      "condition": [
+        "(clause (head (compound (functor \"mother\") (args variable))))"
+      ],
+      "distribution": [
+        9,
+        0
+      ],
+      "quality": 0.7987809210948922
+    },
+    {
+      "class": false,
+      "condition": [
+        "(clause (compound (functor \"parent\") (args (args variable))) (compound (functor \"female\") (args variable)))"
+      ],
+      "distribution": [
+        6,
+        0
+      ],
+      "quality": 0.720112523275646
+    },
+    {
+      "class": false,
+      "condition": [
+        "(clause (head (binop variable \"=\")))"
+      ],
+      "distribution": [
+        4,
+        0
+      ],
+      "quality": 0.6198615754492156
+    }
+  ]
+}
\ No newline at end of file
-- 
cgit v1.2.1