Skip to content

Changes to use Green Algorithms core package instead of existing backend - #29

Merged
Navirah merged 10 commits into
devfrom
ga-core-refactor-navirah
Jul 27, 2026
Merged

Changes to use Green Algorithms core package instead of existing backend#29
Navirah merged 10 commits into
devfrom
ga-core-refactor-navirah

Conversation

@Navirah

@Navirah Navirah commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

This PR includes changes for using Green Algorithms core package instead of the old GA_tools implementation. This is done to keep GA4HPC updated with the latest changes to the core Green Algorithms methodology. Any old logic that is now housed within ga_core has been removed.

TESTS:

A test suite has been implemented that is set up to run automatically for main and dev branches (push and PRs both)
Some basic test cases have been added to test the backend pipeline to check if the configurations are created correctly and all the different stages in the pipeline work as expected.

NOTE: The test do not validate the numerical correctness of the output - but the general schema of the output and the pipeline flow. Since the backend mainly calls ga_core, testing numerical accuracy here is redundant since it is already done in the ga_core package.

Comment thread backend/__init__.py Outdated
@Navirah
Navirah requested review from Llannelongue and ens-lgil July 20, 2026 16:05

@Llannelongue Llannelongue left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good to me! Just added a question.
For later, it will also be good to have some tests that include the frontend.

Comment thread requirements.txt Outdated
@Navirah
Navirah changed the base branch from main to dev July 27, 2026 13:41
@Navirah
Navirah merged commit e49da9a into dev Jul 27, 2026
1 check passed
@Navirah
Navirah deleted the ga-core-refactor-navirah branch July 27, 2026 15:22
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.

3 participants