Skip to content

Commit

Permalink
Corrected file encoding in causal test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhanika committed Jun 6, 2024
1 parent 9e55c66 commit 8450fe6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/clojure/conexp/fca/causal_implications_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

(def birds-ctx (read-context "testing-data/Bird-Diet.ctx"))
(def birds-rule (make-implication #{"haferflocken"} #{"insekten"}))
(def birds-fair-data-set (seq [#{"baumläufer" "wintergoldhähnchen"}]))
(def birds-fair-data-set (seq [#{"baumläufer" "wintergoldhähnchen"}]))
(def birds-fair-odds-ratio 0)


Expand Down Expand Up @@ -123,7 +123,7 @@

(is (= (fair-data-set birds-ctx
birds-rule
#{"beeren" "hirse" "meisenring" "sonnenblume" "talg" "äpfel"})
#{"beeren" "hirse" "meisenring" "sonnenblume" "talg" "äpfel"})
birds-fair-data-set))
)

Expand All @@ -139,7 +139,7 @@

(is (causally-relevant? smoking-ctx #{"smoking"} #{"cancer"} 1.9))
(is (causally-relevant? smoking-ctx #{"male"} #{"cancer"} 1.9))
(is (not (causally-relevant? birds-ctx #{"hirse"} #{"äpfel"} 1.9)))
(is (not (causally-relevant? birds-ctx #{"hirse"} #{"äpfel"} 1.9)))
(is (not (causally-relevant? birds-ctx #{"insekten"} #{"hirse"} 1.9)))

)
Expand Down

0 comments on commit 8450fe6

Please sign in to comment.