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

Reconsider design of Civi model relationships #1438

Open
brylie opened this issue Oct 19, 2022 · 0 comments
Open

Reconsider design of Civi model relationships #1438

brylie opened this issue Oct 19, 2022 · 0 comments
Labels
community help wanted triage Issues that have not been categorized or prioritized

Comments

@brylie
Copy link
Member

brylie commented Oct 19, 2022

Idea summary

Currently, we are using a somewhat linear relationship between Civis, where problems have causes and causes have solutions. However, the relationships between problems, causes, and solutions are non-linear. For example, a solution to one problem might cause others (e.g., climate engineering solutions may cause widespread problems.). Likewise, a solution to one problem may also solve others.

Further details

Given the complexity of the problem, cause, and solution space, our data model should be a bit more flexible and resilient, allowing us to capture the nuance of human agency.

For example, we currently do or are discussing the following.

This issue proposes we clarify the intended flexibility of the Civi data model. We should also consider how to implement a more graph-like structure where we can traverse Civis via links like "causes," "caused by," "fixes," etc., as described in #149

Some examples

  • Problem <- ´caused_by´ <- Cause <- ´fixed_by´ <- Solution <- ´caused_by <- Problem
@brylie brylie added help wanted community triage Issues that have not been categorized or prioritized labels Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community help wanted triage Issues that have not been categorized or prioritized
Projects
None yet
Development

No branches or pull requests

1 participant