The Core Algorithmn does not work anymore! Please read this! #137
Replies: 3 comments 4 replies
-
@drbacke yes, PRs have been merged too fast. I would suggest to invest half an hour into bringing everybody who's contributing maintenance work onto the same page, also with respect to how things work and why. #126 is coming to fix the Docker setup #128 cleans up the test for the optimization parts to the point where the test is easier to work with and extend. (Please take a look at this) |
Beta Was this translation helpful? Give feedback.
-
@drbacke, I appreciate going on with a more test driven development. As you merged the server test #135, can you please also merge #125. Even if you plan to make a cleanup in this area. #125 only adds back load_profiles.npz to the data directory. Without #125 all tests will fail (rightly, because load_profiles.npz is missing). |
Beta Was this translation helpful? Give feedback.
-
Sorry but the code is entirely destroyed. The whole JSON format is destroyed, the algorithm returns 9000 all the time. There are so many bugs in the code, I dont know where to start. |
Beta Was this translation helpful? Give feedback.
-
I'm afraid that I may not be able to save the code. So many changes have been made to the two files (class_ems / class_optimize), both files are very complex.
In particular, it is very important to pay attention to the times, hour start status and end status. Parts of the calculation are simply gone.
The JSON implementation is also completly broken.
I would urge all developers not to change any more files from the core algorithm. You can't optimize anything without having understood it!
At least until all unit tests are sufficiently good and we have a halfway decent documentation / API documentation. A Docker release would also be nice to make it easier to install.
I will take some time over the next few days and try to remove all the bugs. I may have to revert, though.
Hopefully not
Beta Was this translation helpful? Give feedback.
All reactions