-
Notifications
You must be signed in to change notification settings - Fork 8
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
Various improvements for the log operators #401
base: 2024-06
Are you sure you want to change the base?
Conversation
lesquoyb
commented
Jan 20, 2025
- adds log operators for any base
- fixes wrong warning messages (addresses partly [code] runtime errors and warnings are often directly thrown in the code instead of passing through reportAndThrowIfNeeded #398)
- makes the warnings non-blocking : log will return -Infinity in case of wrong operands as is default in java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.00 (9.10 -> 9.10)
- Improving Code Health: 1 findings(s) ✅
@@ -18,6 +18,7 @@ | |||
import gama.annotations.precompiler.GamlAnnotations.test; | |||
import gama.annotations.precompiler.GamlAnnotations.usage; | |||
import gama.core.common.interfaces.IKeyword; | |||
import gama.core.runtime.GAMA; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Getting better: Primitive Obsession
The ratio of primitive types in function arguments decreases from 82.95% to 81.56%, threshold = 30.0%
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.02 (8.52 -> 8.54)
- Improving Code Health: 1 findings(s) ✅
Add a "describe" gama server command to get a model description which gives : - The species names and related actions - The experiments and related parameters