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

PlausibilityConstraint - Add calculated value to log #367

Closed
beistehen opened this issue Jan 27, 2023 · 0 comments
Closed

PlausibilityConstraint - Add calculated value to log #367

beistehen opened this issue Jan 27, 2023 · 0 comments
Milestone

Comments

@beistehen
Copy link
Contributor

Ausgangslage

PlausibilityConstraints wie

CONSTRAINT >= 57% DEFINED(Finanzierung);

(also eine Bedingung, die zu einem gewissen Prozentsatz erfüllt sein muss)

erscheinen im Logfile entweder so:

Info: validate plausibility constraint <modelname>.<topicname>.<classname>.<constraintname>...

oder so:

Info: validate plausibility constraint <modelname>.<topicname>.<classname>.<constraintname>...
Error: Plausibility Constraint <modelname>.<topicname>.<classname>.<constraintname> is not true.

Wunsch

Angabe des effektiven Wertes (Prozentzahl), der festgestellt wurde (unabhängig davon, ob der Constraint nun erfüllt wurde oder nicht).

Beispielhafte Ausgabe im Logfile:

Info: validate plausibility constraint <modelname>.<topicname>.<classname>.<constraintname>...
Info: calculated value is 41%, expected value is >= 57%.
Error: Plausibility Constraint <modelname>.<topicname>.<classname>.<constraintname> is not true.

oder

Info: validate plausibility constraint <modelname>.<topicname>.<classname>.<constraintname>...
Info: calculated value is 85%, expected value is >= 57%.
claeis added a commit that referenced this issue Feb 22, 2023
@claeis claeis added this to the 1.13.2 milestone Feb 22, 2023
@claeis claeis closed this as completed Feb 22, 2023
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

No branches or pull requests

2 participants