equinor / equinor/dot

Add data classes for gathering information in issues

Open
#8 0 comments 0 reactions 1 assignee Claimed by @MathiasAlerini View on GitHub
Dominant language
Python
Stars
4
Forks
3
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Issue data model contains several fields which could be gathered in individual data classes.
For example, information regarding uncertainty could be represented by some Uncertainty data model and so on.

**Describe the solution you'd like**
- Make a DecisionData class
- Make a UncertaintyData class
- Make a ValueMetricData class

```Python
class UncertaintyData(DOTModel):
probability: ProbabilityData | None = None
key: str = "False"
source: str = ""

class DecisionData(DOTModel):
states: list[Literal["Focus", "Tactical", "Strategic"]] | None = None
decision_type: str | None = None

class ValueMetricData(DOTModel):
decision_path:
expected_result:
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.