Skip to content

Ejscreen semi-automatic#1184

Open
Rohit231998 wants to merge 26 commits into
datacommonsorg:masterfrom
Rohit231998:Ejscreen
Open

Ejscreen semi-automatic#1184
Rohit231998 wants to merge 26 commits into
datacommonsorg:masterfrom
Rohit231998:Ejscreen

Conversation

@Rohit231998

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread scripts/us_epa/ejscreen/ejscreen.py Outdated
Comment thread scripts/us_epa/ejscreen/ejscreen.py Outdated
Comment thread scripts/us_epa/ejscreen/config.json
Comment thread scripts/us_epa/ejscreen/ejscreen.py Outdated
Comment thread scripts/us_epa/ejscreen/ejscreen.py
Comment thread scripts/us_epa/ejscreen/ejscreen.py Outdated
Comment thread scripts/us_epa/ejscreen/ejscreen.py Outdated
Comment thread scripts/us_epa/ejscreen/ejscreen.py
Comment thread scripts/us_epa/ejscreen/manifest.json Outdated
Comment thread scripts/us_epa/ejscreen/ejscreen.py Outdated
Comment thread scripts/us_epa/ejscreen/ejscreen.py Outdated
Comment thread scripts/us_epa/ejscreen/manifest.json Outdated

@krishnaswamypradeep krishnaswamypradeep left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the comments provided.

@krishnaswamypradeep krishnaswamypradeep left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the config file in PR as well

@krishnaswamypradeep krishnaswamypradeep left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Rohit. Looks good

@Rohit231998 Rohit231998 requested a review from vish-cs January 31, 2025 05:59
Comment thread scripts/us_epa/ejscreen/ejscreen.tmcf
Comment thread scripts/us_epa/ejscreen/README.md
Comment thread scripts/us_epa/ejscreen/config.json
Comment thread scripts/us_epa/ejscreen/config.json
Comment thread scripts/us_epa/ejscreen/config.json
Comment thread scripts/us_epa/ejscreen/README.md
Comment thread scripts/us_epa/ejscreen/config.json
Comment thread scripts/us_epa/ejscreen/ejscreen.py
Comment thread scripts/us_epa/ejscreen/manifest.json
Comment thread scripts/us_epa/ejscreen/manifest.json Outdated
@hareesh-ms

Copy link
Copy Markdown
Contributor

@gemini-code-assist review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the EJScreen import script to be configuration-driven, which is a great improvement for maintainability. The introduction of config.json centralizes parameters and makes adding new data years much easier. My review focuses on several critical issues in the new implementation, including a security vulnerability from disabling SSL verification, bugs in error handling and MCF file generation that would cause the script to fail or produce incorrect output. I've also included suggestions to improve code quality by removing global variables and to fix minor issues in the documentation and test files.

Comment thread scripts/us_epa/ejscreen/ejscreen.py Outdated
Comment thread scripts/us_epa/ejscreen/ejscreen.py Outdated
Comment thread scripts/us_epa/ejscreen/ejscreen.py Outdated
Comment thread scripts/us_epa/ejscreen/ejscreen.py Outdated
Comment thread scripts/us_epa/ejscreen/ejscreen.py
Comment thread scripts/us_epa/ejscreen/README.md
Comment thread scripts/us_epa/ejscreen/config.json Outdated
Comment thread scripts/us_epa/ejscreen/manifest.json Outdated
Comment thread scripts/us_epa/ejscreen/ejscreen.py
Comment thread scripts/us_epa/ejscreen/ejscreen_test.py Outdated
Comment thread scripts/us_epa/ejscreen/ejscreen.py
Comment thread scripts/us_epa/ejscreen/ejscreen_test.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants