Support having abstract classes in `MatchCdOd`
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by locating MatchCdOd and its configuration checker, then inspect how allowed mutations and completelyInhabited are represented. Define the abstract-class behavior, including the relationship-name issue noted here, and ensure the configuration rule is enforced before considering the work done.
Written by the indexing model from the issue text.
Description
In doing so this needs to be considered:
I assume we will never (also in the future not) use a mutation in
MatchCdOdthat removes or adds a class. Because the fact that some class is missing would lead to too trivial matchings (or ruling out matchings) on the ODs.But turning a concrete class diagram abstract might actually be an interesting feature in this context, since it would allow to check additional knowledge about class diagrams, and it would be non-trivial to solve such instances.
So, maybe it should at least be preserved as an issue somewhere,
that supporting abstract classes in
MatchCdOdmight become relevant,that if this is done there is the equivalent of the problem found here for relationship names lurking,
and that it would probably be addressed by ensuring that if "turn a class abstract" is contained in the allowed mutations in a
MatchCdOdconfig, then the config checker should make sure thatcompletelyInhabitedis set toNothing.
Originally posted by @jvoigtlaender in #275
- Dominant language
- Haskell
- Stars
- 0
- Forks
- 3
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fmidue/modelling-tasks
-
bug cd-od testing
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
fmidue/modelling-tasks#508 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
fmidue/modelling-tasks#692 ·
-
Find new configOpen
Difficulty 3/5 1-2 days Newbie friendliness 45/100
fmidue/modelling-tasks#688 · 1 comment ·
-
Cleanup / remove dead codePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
fmidue/modelling-tasks#687 ·
-
cd-od enhancement
Difficulty 5/5 Over a week Newbie friendliness 45/100
fmidue/modelling-tasks#680 ·
All issues in fmidue/modelling-tasks
Similar issues
-
plutus
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
IntersectMBO/cardano-ledger#6152 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
fmidue/prolog-programming-task#55 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
objectionary/phino#1752 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day