Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ExtraHintsOnAssociativity configurable in TreeToFormula? #202

Open
jvoigtlaender opened this issue Nov 3, 2024 · 0 comments · May be fixed by #244
Open

Make ExtraHintsOnAssociativity configurable in TreeToFormula? #202

jvoigtlaender opened this issue Nov 3, 2024 · 0 comments · May be fixed by #244

Comments

@jvoigtlaender
Copy link
Member

In ComposeFormula und DecomposeFormula gibt es:

when addExtraHintsOnAssociativity $ instruct $ do
english "Remark: Do not try to use associativity in order to omit brackets in this task."
german "Hinweis: Sie dürfen bei dieser Aufgabe nicht Klammern durch Verwendung von Assoziativität weglassen."
und
when addExtraHintsOnAssociativity $ instruct $ do
english "Remark: Do not try to use associativity in order to omit brackets in this task."
german "Hinweis: Sie dürfen bei dieser Aufgabe nicht Klammern durch Verwendung von Assoziativität weglassen."

Hingegen in TreeToFormula ist das unter addExtraHintsOnSemanticEquivalence subsumiert:

when addExtraHintsOnSemanticEquivalence $ instruct $ do
english "Remarks: The exact formula of the syntax tree must be specified. Other formulas that are semantically equivalent to this formula are incorrect solutions! You are also not allowed to use associativity in this task in order to save brackets."
german "Hinweise: Es muss die exakte Formel des Syntaxbaums angegeben werden. Andere, selbst zu dieser Formel semantisch äquivalente Formeln sind keine korrekte Lösung! Auch dürfen Sie bei dieser Aufgabe nicht Assoziativität verwenden, um Klammern einzusparen."

Unter Umständen wäre es besser, auch bei TreeToFormula unabhängig konfigurierbar zu machen.

Oder vielleicht sollten einfach sowohl extraHintsOnSemanticEquivalence als auch extraHintsOnAssociativity einfach abgeschafft werden und stattdessen - wenn nötig - einfach Gebrauch von extraText gemacht werden.

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

Successfully merging a pull request may close this issue.

1 participant