Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and test a helper function for causal necessity constraints #245

Closed
eb8680 opened this issue Sep 4, 2023 · 0 comments · Fixed by #268
Closed

Add and test a helper function for causal necessity constraints #245

eb8680 opened this issue Sep 4, 2023 · 0 comments · Fixed by #268
Assignees
Labels
enhancement New feature or request module:explainable

Comments

@eb8680
Copy link
Contributor

eb8680 commented Sep 4, 2023

The design in #240 and previous iterations includes a number of new components on which the overall correctness of causation and explanation query implementations depends. To reduce the difficulty of reasoning about these implementations and make incremental progress toward landing causation and explanation queries in master, we should pull out these components and specify and test them in isolation.

One of these components is a helper function for defining log-factors (used in conjunction with the Factors handler added in #238) that enforce the constraint that the value of a consequent in a counterfactual world should differ from its value in the factual world. In the draft design in #240 this function is called consequent_differs:

def consequent_differs(...) -> Callable[[Tensor], Tensor]: ...
@eb8680 eb8680 added enhancement New feature or request module:explainable labels Sep 4, 2023
@eb8680 eb8680 linked a pull request Sep 20, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module:explainable
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants