Skip to content

Refactor hashed_fold_scaffold and sha256 in random_split.py and scaffold_network.py#2

Open
lianghsun wants to merge 2 commits intomelloddy:mainfrom
lianghsun:main
Open

Refactor hashed_fold_scaffold and sha256 in random_split.py and scaffold_network.py#2
lianghsun wants to merge 2 commits intomelloddy:mainfrom
lianghsun:main

Conversation

@lianghsun
Copy link

Hi there,

I've made some changes to the random_split.py and scaffold_network.py files, specifically in the hashed_fold_scaffold and sha256 functions. Here are the main modifications:

  • Removed commented-out code.
  • Enhanced the hashed_fold_scaffold function by utilizing the sha256 function and improved the seeding logic.

These changes are aimed at streamlining the code and ensuring that the encryption is applied uniformly.
Please review the changes and let me know if any adjustments are required.

Thank you.

Remove the rows with duplicate functions.
Make it consistent with scaffold_network.py.
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.

1 participant