cleaning path for intergations

This commit is contained in:
2026-02-28 14:11:39 +01:00
parent 5444a4ea13
commit 56585b3de8
2 changed files with 4 additions and 4 deletions

View File

@@ -91,10 +91,8 @@ DEFAULT_CFG = {
def _truthy(value: str | bool | None) -> bool: def _truthy(value: str | bool | None) -> bool:
if isinstance(value, bool): if isinstance(value, bool): return value
return value if value is None: return False
if value is None:
return False
return str(value).strip().lower() in {"1", "true", "yes", "on"} return str(value).strip().lower() in {"1", "true", "yes", "on"}

View File

@@ -254,3 +254,5 @@ if __name__ == "__main__":
f"{sum(len(t) for t in joint_mdp['transitions'].values())} transitions") f"{sum(len(t) for t in joint_mdp['transitions'].values())} transitions")
if joint_mdp['states']: if joint_mdp['states']:
visualize_mdp(joint_model, threshold=0.05, output="joint_mdp_viz", fmt="pdf", export_dot=True) visualize_mdp(joint_model, threshold=0.05, output="joint_mdp_viz", fmt="pdf", export_dot=True)
# TODO: setup intra class divergence as baseline for evaluating and adding significance to the divergence which we observe across class