Closed renzocom closed 4 years ago
Thanks for the PR @renzocom! The next thing to do is update the tests so that they check the new behavior (and pass); see here for how to run the tests on your local machine.
@renzocom sup
@renzocom sup
SUP WILL
Nice work Renzo🥇
In actual causation, when computing causal links, it often occurs that purviews have the same alpha. Currently, the
find_causal_link()
method returns one arbitrary purview from the ones with maximum alpha. Thefind_causal_link()
method now adds a hidden attribute_extended_purview
to the returnedCausalLink
with all the purviews with equivalent maximum alpha which are not supersets of each other. For example, if purviews (A,B), (B,C), (A,B,D) have the same maximum alpha, the extended purview is ((A,B),(B,C)).I've also added pretty formatting methods to print the CausalLinks when they have extended purviews so they look like: α = 0.415 [[S1, A], [A, D]] ◀━━ [M1]