generated from amosproj/amos202Xss0Y-projname
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix/235 all steps bdc errors (#239)
* fix minor error in regionalatlas step + moved scrape address step to deprecated + added new bdc config Signed-off-by: Lucca Baumgärtner <[email protected]> * undo change to input filename Signed-off-by: Lucca Baumgärtner <[email protected]> * Adjust gpt caching error logging Signed-off-by: Lucca Baumgärtner <[email protected]> * change input file location back to original Signed-off-by: Lucca Baumgärtner <[email protected]> * Add explanation for deprecation of scrape_addresses.py Signed-off-by: Lucca Baumgärtner <[email protected]> * Adjust error logging for review analysis Signed-off-by: Lucca Baumgärtner <[email protected]> * remove deprecated steps from tests Signed-off-by: Lucca Baumgärtner <[email protected]> --------- Signed-off-by: Lucca Baumgärtner <[email protected]>
- Loading branch information
Showing
15 changed files
with
101 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"description": "This config runs all steps with force_refresh set to true.", | ||
"config": { | ||
"steps": [ | ||
{ | ||
"name": "HashGenerator", | ||
"force_refresh": true | ||
}, | ||
{ | ||
"name": "AnalyzeEmails", | ||
"force_refresh": true | ||
}, | ||
{ | ||
"name": "PreprocessPhonenumbers", | ||
"force_refresh": true | ||
}, | ||
{ | ||
"name": "GooglePlaces", | ||
"force_refresh": true | ||
}, | ||
{ | ||
"name": "GooglePlacesDetailed", | ||
"force_refresh": true | ||
}, | ||
{ | ||
"name": "GPTReviewSentimentAnalyzer", | ||
"force_refresh": true | ||
}, | ||
{ | ||
"name": "GPTSummarizer", | ||
"force_refresh": true | ||
}, | ||
{ | ||
"name": "SmartReviewInsightsEnhancer", | ||
"force_refresh": true | ||
}, | ||
{ | ||
"name": "RegionalAtlas", | ||
"force_refresh": true | ||
} | ||
] | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
src/demo/pipeline_configs/force_refresh_all_steps.json.license
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SPDX-License-Identifier: MIT | ||
SPDX-FileCopyrightText: 2023 Berkay Bozkurt <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"description": "This config runs all steps with force_refresh set to true.", | ||
"config": { | ||
"steps": [ | ||
{ | ||
"name": "HashGenerator", | ||
"force_refresh": true | ||
}, | ||
{ | ||
"name": "AnalyzeEmails", | ||
"force_refresh": true | ||
}, | ||
{ | ||
"name": "PreprocessPhonenumbers", | ||
"force_refresh": true | ||
}, | ||
{ | ||
"name": "GooglePlaces", | ||
"force_refresh": true | ||
}, | ||
{ | ||
"name": "RegionalAtlas", | ||
"force_refresh": true | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SPDX-License-Identifier: MIT | ||
SPDX-FileCopyrightText: 2023 Lucca Baumgärtner <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# SPDX-License-Identifier: MIT | ||
# SPDX-FileCopyrightText: 2024 Felix Zailskas <[email protected]> | ||
|
||
import os | ||
import unittest | ||
from unittest.mock import MagicMock, mock_open, patch | ||
|
||
|
@@ -22,7 +21,6 @@ def test_get_pipeline_steps(self): | |
[ | ||
(HashGenerator, "Hash Generator", ""), | ||
(AnalyzeEmails, "Analyze Emails", ""), | ||
(ScrapeAddress, "Scrape Address", "(will take a long time)"), | ||
( | ||
SearchOffeneRegister, | ||
"Search OffeneRegister", | ||
|
@@ -73,7 +71,6 @@ def test_get_pipeline_additional_steps(self): | |
additional_steps = get_pipeline_additional_steps() | ||
self.assertEqual( | ||
[ | ||
(ScrapeAddress, "Scrape Address", "(will take a long time)"), | ||
( | ||
SearchOffeneRegister, | ||
"Search OffeneRegister", | ||
|