summaryrefslogtreecommitdiff
path: root/prolog/problems/sets/subset_2
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/sets/subset_2')
-rw-r--r--prolog/problems/sets/subset_2/bugs.json235
1 files changed, 235 insertions, 0 deletions
diff --git a/prolog/problems/sets/subset_2/bugs.json b/prolog/problems/sets/subset_2/bugs.json
new file mode 100644
index 0000000..7d778ef
--- /dev/null
+++ b/prolog/problems/sets/subset_2/bugs.json
@@ -0,0 +1,235 @@
+{
+ "patterns": [
+ "(clause (head (compound (functor \"subset\") (args (list (t variable))))) (compound (functor \"subset\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (args \"[]\")))))",
+ "(clause (head (compound (functor \"subset\") (args \"[]\"))))",
+ "(clause (head (compound (functor \"subset\") (args \"[]\" (args \"[]\")))))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (binop variable \"=\"))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"subset\") (args (args variable))))",
+ "(clause (head (compound (functor \"subset\") (args (list (h variable))))))",
+ "(clause (head (compound (functor \"subset\") (args (list (h variable)) (args (list (h variable)))))))",
+ "(clause (head (compound (functor \"subset\") (args (args (list (t variable)))))) (compound (functor \"subset\") (args (args variable))))",
+ "(clause (binop variable \"=\"))",
+ "(clause (head (compound (functor \"subset\") (args (list (h variable))))) (binop \"=\" (list (h variable))))",
+ "(clause (compound (functor \"subset\") (args (args variable))) (binop \"=\" (list (t variable))))",
+ "(clause (head (compound (functor \"subset\") (args variable (args variable)))))",
+ "(clause (compound (functor \"subset\") (args (args variable))) (binop \"=\" variable))",
+ "(clause (head (compound (functor \"subset\") (args variable))))",
+ "(clause (compound (functor \"subset\") (args (args variable))))",
+ "(clause (binop \"=\" (list (t variable))))",
+ "(clause (head (compound (functor \"subset\") (args variable (args \"[]\")))))",
+ "(clause (compound (functor \"subset\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args variable))) (compound (functor \"is_subset\") (args (args variable))))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"is_subset\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))))",
+ "(clause (head (compound (functor \"subset\") (args (list (h variable))))) (compound (functor \"subset\") (args (args (list (h variable))))))",
+ "(clause (binop \"=\" variable))",
+ "(clause (head (compound (functor \"subset\") (args variable))) (compound (functor \"conc\") (args (args (args variable)))))",
+ "(clause (head (compound (functor \"subset\") (args variable))) (compound (functor \"sublist\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"conc\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"conc\") (args (args (args variable)))))",
+ "(clause (compound (functor \"conc\") (args (args variable))) (compound (functor \"conc\") (args (args (args variable)))))",
+ "(clause (compound (functor \"subset\") (args variable)) (compound (functor \"subset\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (list (t variable))))))",
+ "(clause (compound (functor \"conc\") (args variable)) (compound (functor \"conc\") (args (args variable))))",
+ "(clause (binop \"=\" (list (h variable))))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"subset\") (args (args (list (t variable))))))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"sublist\") (args (args variable))))",
+ "(clause (head (compound (functor \"subset\") (args (args (list (h variable)))))))",
+ "(clause (compound (functor \"conc\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"diff\") (args (args (args variable)))))",
+ "(clause (head (compound (functor \"subset\") (args variable))) (compound (functor \"diff\") (args variable)))",
+ "(clause (binop \"=\" (list (t variable))) (compound (functor \"subset\") (args (args variable))))",
+ "(clause (head (compound (functor \"subset\") (args (list (h variable))))) (binop \"=\" variable))",
+ "(clause (compound (functor \"subset\") (args (args variable))) (compound (functor \"conc\") (args (args variable))))",
+ "(clause (head (compound (functor \"subset\") (args variable))) (compound (functor \"is_subset\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (args (list (t variable)))))))",
+ "(clause (head (compound (functor \"permute\") (args (args variable)))))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"is_subset\") (args (args variable))))",
+ "(clause (compound (functor \"conc\") (args (args variable))))",
+ "(clause (head (compound (functor \"subset\") (args variable))) (compound (functor \"permute\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (args (list (t variable)))))) (compound (functor \"subset\") (args (args (list (t variable))))))",
+ "(clause (head (compound (functor \"subset\") (args \"[]\" (args variable)))))",
+ "(clause (compound (functor \"subset\") (args (args variable))) (binop \"=\" (list (t (list (h variable))))))",
+ "(clause (head (compound (functor \"subset\") (args variable))) (compound (functor \"subset\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"memb\") (args (args variable))))",
+ "(clause (compound (functor \"subset\") (args (args variable))) (compound (functor \"subset\") (args (args (list (t variable))))))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"permute\") (args (args variable))))",
+ "(clause (head (compound (functor \"subset\") (args variable))) (binop variable \"=\"))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"intersect\") (args (args (args variable)))))",
+ "(clause (head (compound (functor \"subset\") (args (list (h variable))))) (compound (functor \"insert\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (list (h variable))))) (compound (functor \"conc\") (args (args (args (list (h variable)))))))",
+ "(clause (head (compound (functor \"subset\") (args (args (list (h variable)))))) (compound (functor \"subset\") (args (args (list (h variable))))))",
+ "(clause (head (compound (functor \"subset\") (args (list (h variable))))) (compound (functor \"memb\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (list (h variable))))) (compound (functor \"conc\") (args (args (list (h variable))))))",
+ "(clause (compound (functor \"sublist\") (args (args variable))) (binop \"=\" variable))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"conc\") (args (args variable))))",
+ "(clause (compound (functor \"conc\") (args (args (args variable)))))",
+ "(clause (compound (functor \"diff\") (args variable)))",
+ "(clause (binop \"=\" (list (t variable))) (compound (functor \"subset\") (args variable)))",
+ "(clause (compound (functor \"diff\") (args (args (args variable)))))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"union\") (args (args (args variable)))))",
+ "(clause (compound (functor \"union\") (args variable (args variable))))",
+ "(clause (binop \"=\" (list (t (list (h variable))))))",
+ "(clause (compound (functor \"memb\") (args (args variable))) (compound (functor \"subset\") (args (args variable))))",
+ "(clause (compound (functor \"diff\") (args (args variable))))",
+ "(clause (head (compound (functor \"subset\") (args variable))) (compound (functor \"del\") (args (args variable))))",
+ "(clause (compound (functor \"conc\") (args (args variable))) (compound (functor \"conc\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (list (h variable))))) (compound (functor \"conc\") (args variable)))",
+ "(clause (head (compound (functor \"sublist\") (args (args variable)))) (compound (functor \"conc\") (args variable)))",
+ "(clause (compound (functor \"is_subset\") (args variable)) (binop \"=\" variable))",
+ "(clause (head (compound (functor \"subset\") (args (list (t variable))))) (binop \"=\" variable))",
+ "(clause (compound (functor \"sublist\") (args (args variable))) (compound (functor \"is_subset\") (args variable)))",
+ "(clause (binop \"\\==\" variable) (compound (functor \"subset\") (args (args (list (h variable))))))",
+ "(clause (head (compound (functor \"permute\") (args variable))))",
+ "(clause (head (compound (functor \"subset\") (args (args (list (h variable)))))) (binop \"\\==\" variable))",
+ "(clause (compound (functor \"subset\") (args (args (list (t variable))))))",
+ "(clause (head (compound (functor \"subset\") (args variable))) (compound (functor \"memb\") (args (args variable))))",
+ "(clause (head (compound (functor \"sublist\") (args variable))) (compound (functor \"conc\") (args (args (args variable)))))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"subset\") (args variable)))",
+ "(clause (head (compound (functor \"subset\") (args (list (t (list (h variable))))))) (compound (functor \"subset\") (args variable)))",
+ "(clause (compound (functor \"diff\") (args (args (list (h variable) (t variable))))))",
+ "(clause (head (compound (functor \"subset\") (args (list (t variable))))) (compound (functor \"conc\") (args variable)))",
+ "(clause (binop variable \"=\" \"[]\"))",
+ "(clause (binop \"=\" variable) (compound (functor \"subset\") (args (args variable))))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"subset\") (args (args (list (t (list (h variable))))))))",
+ "(clause (head (compound (functor \"subset\") (args (list (h variable))))) (binop variable \"\\==\"))",
+ "(clause (binop \"=\" \"[]\"))"
+ ],
+ "rules": [
+ {
+ "class": false,
+ "condition": [
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"is_subset\") (args variable)))"
+ ],
+ "distribution": [
+ 35,
+ 0
+ ],
+ "quality": 0.9472341826090998
+ },
+ {
+ "class": false,
+ "condition": [
+ "(clause (head (compound (functor \"subset\") (args (args variable)))))"
+ ],
+ "distribution": [
+ 30,
+ 0
+ ],
+ "quality": 0.9360037505255554
+ },
+ {
+ "class": false,
+ "condition": [
+ "(clause (head (compound (functor \"subset\") (args (list (h variable))))) (compound (functor \"subset\") (args (args (list (h variable))))))"
+ ],
+ "distribution": [
+ 28,
+ 0
+ ],
+ "quality": 0.9310345353291157
+ },
+ {
+ "class": true,
+ "condition": [
+ "(clause (head (compound (functor \"subset\") (args (args \"[]\")))))",
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"subset\") (args (args variable))))",
+ "(clause (head (compound (functor \"subset\") (args (args (list (t variable)))))) (compound (functor \"subset\") (args (args variable))))"
+ ],
+ "distribution": [
+ 4,
+ 80
+ ],
+ "quality": 0.913934983699415
+ },
+ {
+ "class": false,
+ "condition": [
+ "(clause (head (compound (functor \"subset\") (args variable))) (compound (functor \"is_subset\") (args (args variable))))"
+ ],
+ "distribution": [
+ 36,
+ 1
+ ],
+ "quality": 0.9120822311563208
+ },
+ {
+ "class": false,
+ "condition": [
+ "(clause (head (compound (functor \"subset\") (args variable))) (compound (functor \"sublist\") (args variable)))"
+ ],
+ "distribution": [
+ 18,
+ 0
+ ],
+ "quality": 0.8860152000671373
+ },
+ {
+ "class": false,
+ "condition": [
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"conc\") (args variable)))"
+ ],
+ "distribution": [
+ 18,
+ 0
+ ],
+ "quality": 0.8860152000671373
+ },
+ {
+ "class": false,
+ "condition": [
+ "(clause (compound (functor \"subset\") (args variable)) (compound (functor \"subset\") (args variable)))"
+ ],
+ "distribution": [
+ 17,
+ 0
+ ],
+ "quality": 0.876899140771019
+ },
+ {
+ "class": false,
+ "condition": [
+ "(clause (head (compound (functor \"subset\") (args (args variable)))) (compound (functor \"subset\") (args (args (list (t variable))))))"
+ ],
+ "distribution": [
+ 14,
+ 0
+ ],
+ "quality": 0.8459240264915695
+ },
+ {
+ "class": false,
+ "condition": [
+ "(clause (head (compound (functor \"subset\") (args (args (list (h variable)))))))"
+ ],
+ "distribution": [
+ 13,
+ 0
+ ],
+ "quality": 0.8313514577864842
+ },
+ {
+ "class": false,
+ "condition": [
+ "(clause (head (compound (functor \"subset\") (args (list (h variable))))) (binop \"=\" variable))"
+ ],
+ "distribution": [
+ 11,
+ 0
+ ],
+ "quality": 0.7970465980763067
+ },
+ {
+ "class": false,
+ "condition": [
+ "(clause (head (compound (functor \"subset\") (args variable))) (compound (functor \"is_subset\") (args variable)))"
+ ],
+ "distribution": [
+ 10,
+ 0
+ ],
+ "quality": 0.7726607891166476
+ }
+ ]
+} \ No newline at end of file