Replace proprietary headers with Apache 2.0 copyright headers in PrivacyGuard shadow_model_training#98
Closed
mgrange1998 wants to merge 1 commit intofacebookresearch:mainfrom
Closed
Conversation
…acyGuard shadow_model_training Summary: Adds Apache License 2.0 copyright headers to seven source and test files under privacy_guard/shadow_model_training, replacing the internal confidential header. This aligns the repo with OSS compliance and satisfies the COPYRIGHT_HEADERS_EXIST check from the Open Source Automated Checkup. These files were recently added w/ the shadow model training module. ``` COPYRIGHT_HEADERS_EXIST: Copyright Headers **************************************** FIX IT! https://our.intern.facebook.com/intern/opensource/github/repo/2059348974551169/repo_settings/header_exemptions/ Every project specific source file must contain a doc block with an appropriate copyright header. Unrelated files must be listed as exceptions in the Copyright Headers Exceptions page in the repo dashboard. A copyright header clearly indicates that the code is owned by Meta. Every open source file must start with a comment containing "Meta Platforms, Inc. and affiliates" https://github.com/facebookresearch/PrivacyGuard/blob/main/privacy_guard/shadow_model_training/dataset.py: The first 16 lines of 'privacy_guard/shadow_model_training/dataset.py' do not contain the patterns: Copyright https://github.com/facebookresearch/PrivacyGuard/blob/main/privacy_guard/shadow_model_training/model.py: The first 16 lines of 'privacy_guard/shadow_model_training/model.py' do not contain the patterns: Copyright https://github.com/facebookresearch/PrivacyGuard/blob/main/privacy_guard/shadow_model_training/training.py: The first 16 lines of 'privacy_guard/shadow_model_training/training.py' do not contain the patterns: Copyright https://github.com/facebookresearch/PrivacyGuard/blob/main/privacy_guard/shadow_model_training/visualization.py: The first 16 lines of 'privacy_guard/shadow_model_training/visualization.py' do not contain the patterns: Copyright https://github.com/facebookresearch/PrivacyGuard/blob/main/privacy_guard/shadow_model_training/tests/test_dataset.py: The first 16 lines of 'privacy_guard/shadow_model_training/tests/test_dataset.py' do not contain the patterns: Copyright https://github.com/facebookresearch/PrivacyGuard/blob/main/privacy_guard/shadow_model_training/tests/test_model.py: The first 16 lines of 'privacy_guard/shadow_model_training/tests/test_model.py' do not contain the patterns: Copyright https://github.com/facebookresearch/PrivacyGuard/blob/main/privacy_guard/shadow_model_training/tests/test_training.py: The first 16 lines of 'privacy_guard/shadow_model_training/tests/test_training.py' do not contain the patterns: Copyright ``` --- Session: DEV42745488 Differential Revision: D91036757
|
@mgrange1998 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D91036757. |
|
This pull request has been merged in 59c8b05. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Adds Apache License 2.0 copyright headers to seven source and test files under privacy_guard/shadow_model_training, replacing the internal confidential header. This aligns the repo with OSS compliance and satisfies the COPYRIGHT_HEADERS_EXIST check from the Open Source Automated Checkup.
These files were recently added w/ the shadow model training module.
Session: DEV42745488
Differential Revision: D91036757