Skip to content

Conversation

MathiasAlerini
Copy link
Collaborator

@MathiasAlerini MathiasAlerini commented Apr 3, 2025

This branch aimed at simplifying the data format conversion between the data model responses and the format used for the influence diagram and decision tree (and later for the general quantitative part of the tool).

It introduces classes in the service layer with validation tools and conversion to and from json objects. It also introduce an analysis module for the computation part. Classes defines new types with limited associated functionalities (methods). Main actions on these classes are externalized in different modules. This replaces the module src.v0.services.structure_utils which has been suppressed (together with its associated tests).

@MathiasAlerini MathiasAlerini linked an issue Apr 3, 2025 that may be closed by this pull request
@MathiasAlerini
Copy link
Collaborator Author

@IboTobi , @Bellout :
I leave this PR as draft as the code should be refactored. I leave this branch to illustrate what I had in mind. The Oil Wildcatter example doesn't work as I suspect I did not properly handle the case all values in the probability distribution are None.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

conversion between DB and computational data
1 participant