Skip to content

Commit

Permalink
fixes RWTH Aachen example
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Jan 17, 2024
1 parent a589737 commit b059826
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
22 changes: 11 additions & 11 deletions dcm_examples/rwth_aachen_master_informatik.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -529,37 +529,37 @@ aspects:
facets: []
levels:
- name: 1,0 - 95%
id: 10-95
id: 10 - 95
level: 10
- name: 1,3 - 90%
id: 13-90
id: 13 - 90
level: 9
- name: 1,7 - 85%
id: 17-85
id: 17 - 85
level: 8
- name: 2,0 - 80%
id: 20-80
id: 20 - 80
level: 7
- name: 2,3 - 75%
id: 23-75
id: 23 - 75
level: 6
- name: 2,7 - 70%
id: 27-70
id: 27 - 70
level: 5
- name: 3,0 - 65%
id: 30-65
id: 30 - 65
level: 4
- name: 3,3 - 60%
id: 33-60
id: 33 - 60
level: 3
- name: 3,7 - 55%
id: 37-55
id: 37 - 55
level: 2
- name: 4,0 - 50%
id: 40-50
id: 40 - 50
level: 1
element_names:
- tree: Study plan
tree: Study plan
aspect: Study area
area: Module
facet: Module element
Expand Down
17 changes: 8 additions & 9 deletions tests/test_rwth_aachen_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,14 @@ def create_competence_tree(self, json_node: dict, url: str):
CompetenceLevel(name="3,7 - 55%", level=2),
CompetenceLevel(name="4,0 - 50%", level=1),
]
tree.element_names = (
{
"tree": "Study plan",
"aspect": "Study area",
"area": "Module",
"facet": "Module element",
"level": "Grade",
},
)
tree.element_names = {
"tree": "Study plan",
"aspect": "Study area",
"area": "Module",
"facet": "Module element",
"level": "Grade",
}


return tree

Expand Down

0 comments on commit b059826

Please sign in to comment.