Commit 90996c0
authored
Aggregator shouldn't refer to persistence DB in case of evaluation (#1632)
* Enhance Collaborator module with improved error handling and documentation.
Refactor the `run` method to include detailed error logging and a new `_execute_collaborator_rounds` method for better task management. Update the `start_` function to handle exceptions during collaborator initialization and execution, ensuring critical errors are logged and communicated to the user.
Additionally, improve type hints and docstrings for better code clarity and maintainability.
Signed-off-by: Rahul Garg <rahul.garg@intel.com>
* Improve error logging in Collaborator class by ensuring consistent formatting of log messages. This change enhances the clarity of critical error messages and maintains a uniform style across the logging functionality.
Signed-off-by: Rahul Garg <rahul.garg@intel.com>
* .DS_Store banished!
* Refine persistent checkpoint handling in Aggregator class to prevent recovery during evaluation mode. Update logging messages for clarity on checkpoint status. This change ensures that the system behaves correctly in different operational contexts.
Signed-off-by: Rahul Garg <rahul.garg@intel.com>
* Refine logging message in Aggregator class to clarify conditions for persistent checkpoint usage. The updated message improves understanding by specifying when checkpoints are disabled or when the experiment is in evaluation mode.
Signed-off-by: Rahul Garg <rahul.garg@intel.com>
---------
Signed-off-by: Rahul Garg <rahul.garg@intel.com>1 parent 6524c75 commit 90996c0
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
| |||
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
228 | | - | |
229 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
230 | 234 | | |
231 | 235 | | |
232 | 236 | | |
| |||
0 commit comments