Skip to content

Commit

Permalink
refactor 'ml/strategies'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanna Imshenetska authored and Hanna Imshenetska committed Nov 20, 2024
1 parent b36190d commit 5af3dcf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/syngen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.52rc24
0.9.52rc25
5 changes: 0 additions & 5 deletions src/syngen/ml/strategies/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,8 @@ def add_handler(self):

def add_reporters(self, **kwargs):
table_name = self.config.table_name
source = self.config.paths["source_path"]
loader = self.config.loader
if (
not table_name.endswith("_fk")
and source is not None
and loader is None
and os.path.exists(source)
and "sample" in self.config.reports
):
sample_reporter = SampleAccuracyReporter(
Expand Down

0 comments on commit 5af3dcf

Please sign in to comment.