Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

causy

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

causy - npm Package Compare versions

Comparing version
0.1.44
to
0.1.45
+9
-3
causy/causal_discovery/constraint/orientation_rules/pc.py

@@ -253,2 +253,3 @@ import enum

breakflag = False
if graph.only_directed_edge_exists(x, z) and graph.undirected_edge_exists(

@@ -258,3 +259,5 @@ z, y

for node in graph.nodes:
if graph.only_directed_edge_exists(graph.nodes[node], y):
if graph.only_directed_edge_exists(
graph.nodes[node], y
) and not graph.edge_exists(graph.nodes[node], z):
breakflag = True

@@ -283,5 +286,8 @@ break

for node in graph.nodes:
if graph.only_directed_edge_exists(graph.nodes[node], x):
if graph.only_directed_edge_exists(
graph.nodes[node], x
) and not graph.edge_exists(graph.nodes[node], z):
breakflag = True
break
if breakflag is True:

@@ -301,3 +307,3 @@ return TestResult(

action=TestResultAction.REMOVE_EDGE_DIRECTED,
data={},
data={"between": {"x": x, "y": y, "z": z}},
)

@@ -304,0 +310,0 @@

@@ -49,2 +49,3 @@ import time

) = graph_model_instance_.execute_pipeline_step(pipeline_step)
steps.append(

@@ -51,0 +52,0 @@ ActionHistoryStep(

Metadata-Version: 2.1
Name: causy
Version: 0.1.44
Version: 0.1.45
Summary: Causal discovery made easy.

@@ -5,0 +5,0 @@ License: MIT