unified the way comment evaluation and refinement

are handled
This commit is contained in:
Karma Riuk
2025-05-18 22:19:13 +02:00
parent 77b64843ac
commit ad20b03dd8
4 changed files with 46 additions and 44 deletions

View File

@ -56,7 +56,7 @@ class Subject:
def notifyComplete(self, results: dict):
self.status = Status.COMPLETE
for observer in self.observers:
observer.updateComplete(results)
observer.updateComplete({"type": self.type, "results": results})
self.results = results
# TODO: maybe save results to disk here?