Can we remove some of the bookkeeping modules? #633
Replies: 4 comments 5 replies
-
|
@keckler Here is a starting point for our discussion. @ntouran We'd love your input here. |
Beta Was this translation helpful? Give feedback.
-
|
I have seriously cleaned up Also, I removed some unused/broken code, and increased the code coverage. |
Beta Was this translation helpful? Give feedback.
-
|
I have uncovered that some of the cruft in the
|
Beta Was this translation helpful? Give feedback.
-
|
@john-science , @ntouran Giving this a bump. Can we remove db/database.py? It only contains the Database class and seems to be only inherited by database3.py::Database3:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The "bookkeeping" module has some important database tools in it, but it also feels like a grab bag of random stuff. Much of it isn't really used in ARMI, and most of it seems to have been written ad-hoc with little-to-no tests.
Which of the following modules is used, and for what? (If it is important, great, but I just want to know before I spend serious time testing and improving this code.)
armi/bookkeepinghistoryTracker.py(60% -> now 82%) - Why is the use-case for this?memoryProfiler.py(50% -> now 85%)db/database3.py(88%)compareDB3.py(25% -> now 83%)report/data.py(55%)reportingUtils.py(71%)newReports.py(90%) - How is this different from thereportmodule?newReportUtils.py(95%)Beta Was this translation helpful? Give feedback.
All reactions