Skip to content

Commit

Permalink
refactor the class Report
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanna Imshenetska authored and Hanna Imshenetska committed Nov 14, 2024
1 parent 68eb640 commit 0ea9c42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/syngen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.52rc9
0.9.52rc10
4 changes: 2 additions & 2 deletions src/syngen/ml/reporters/reporters.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def generate_report(cls, type_of_process: str):
delta = 0.25 / len(reporters)

for reporter in reporters:
cls._process_reporter(reporter, delta)
cls._launch_reporter(reporter, delta)

MlflowTracker().end_run()

Expand All @@ -262,7 +262,7 @@ def _start_mlflow_run(table_name: str):
)

@classmethod
def _process_reporter(cls, reporter, delta: float):
def _launch_reporter(cls, reporter, delta: float):
cls._log_and_update_progress(
delta,
f"The calculation of {reporter.__class__.report_type} metrics for the table - "
Expand Down

0 comments on commit 0ea9c42

Please sign in to comment.