Skip to content

use proper ShowMapping options for DifferentNames task variants#615

Merged
jvoigtlaender merged 3 commits intodevfrom
issue-614
Mar 24, 2026
Merged

use proper ShowMapping options for DifferentNames task variants#615
jvoigtlaender merged 3 commits intodevfrom
issue-614

Conversation

@guard-who
Copy link
Copy Markdown
Member

close #614

@guard-who
Copy link
Copy Markdown
Member Author

For task2025_21, is it also meaningful to print CD? Because it only shows a scenario description instead of a CD, I think that printing CD may help students bridge the association between the description and the OD. In other words, should we add an option of printing both CD and OD?

@jvoigtlaender
Copy link
Copy Markdown
Member

Yes, probably in task2025_21 both class and object diagram should be printed, with the injected concept names.

And maybe even for task2025_22 one could argue that it would make sense to at least have the option of also printing the according class diagram in the feedback. In the sense of: "this could have been the underlying model".

A more general question arises here of whether even after these enhancements, the feedback texts for these two types of task would be fully appropriate. That is, whether the text printed by differentNamesEvaluation makes sense for these task variants.

Adapting those texts would probably only be possible by using flex-tasks configuration, since one really needs to "dynamically change the code", not just change stuff in the stored instances.

But this should probably be dealt with in a separate issue.

@jvoigtlaender
Copy link
Copy Markdown
Member

Within the issue here, maybe even for task2025_13 and task2025_14 a switch from ShowMapping to ShowMappingAndReprintOD would be reasonable, since even for the fully artificially named instances, it is probably easier for students (when trying to understand why the printed solution is the correct one) to compare a relabelled OD to the given OD then to mentally have to relabel the OD with the printed correct mapping on their own in order to check it against the original CD.

Probably the text in

ShowMappingAndReprintOD -> do
paragraph $ translate $ do
english "Compare with the correctly labeled object diagram:"
german "Vergleichen Sie mit dem korrekt beschrifteten Objektdiagramm:"
should be slightly adapted then, to not talk of "Compare ...".

@jvoigtlaender jvoigtlaender merged commit 5b74b0b into dev Mar 24, 2026
27 checks passed
@jvoigtlaender jvoigtlaender deleted the issue-614 branch March 24, 2026 12:04
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.

Modify configs of various DifferentNames tasks using correct ShowMapping options

2 participants