You are working on the pgmpy/pgmpy repository. The source code is checked out at /testbed at commit…
You are working on the pgmpy/pgmpy repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). Changes Required: 1. The DAG.add node specifies a weight argument as well. I had a quick look, but I don't see it getting used anywhere. If it's not…
The task
Changes Required: 1. The `DAG.add_node` specifies a `weight` argument as well. I had a quick look, but I don't see it getting used anywhere. If it's not getting used, we can get rid of it. 2. Use the `GraphRolesMixin` to store the latent variables, similar to how other roles (such as exposure, outcome, etc.) are…
Part of Lego-X/Lego-RL-2699.