summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/mother_2/bugs.json
blob: a65eb29439299118e24c970a63d079e5b24d8819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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
    }
  ]
}