Skip to content

chore: add THIRD-PARTY-NOTICES.md#964

Merged
noahho merged 3 commits into
mainfrom
chore/add-third-party-notices
May 13, 2026
Merged

chore: add THIRD-PARTY-NOTICES.md#964
noahho merged 3 commits into
mainfrom
chore/add-third-party-notices

Conversation

@noahho
Copy link
Copy Markdown
Collaborator

@noahho noahho commented May 13, 2026

Summary

  • Add THIRD-PARTY-NOTICES.md documenting third-party code adapted or copied into this repository, with upstream attribution preserved.
  • Upstream licenses verified via the GitHub API.

Test plan

  • CI green
  • THIRD-PARTY-NOTICES.md shows on repo landing page

Document third-party code adapted into this repository with upstream
attribution. Mirrors the format used in fomo-fitting. Surfaced during
pre-submission self-scan for the BearingPoint code review.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@noahho noahho requested a review from a team as a code owner May 13, 2026 15:10
@noahho noahho requested review from Copilot and priorphil and removed request for a team May 13, 2026 15:10
Copy link
Copy Markdown
Contributor

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

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 introduces a THIRD-PARTY-NOTICES.md file to document third-party code adapted into the repository. The reviewer suggested updating the summary table and the local path descriptions to correctly include the Torch implementation of the SquashingScaler for better accuracy and completeness.

Comment thread THIRD-PARTY-NOTICES.md Outdated
Comment thread THIRD-PARTY-NOTICES.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a top-level third-party notices document to track vendored/adapted upstream code and its attribution, aligning the repo with compliance expectations for externally sourced code.

Changes:

  • Add THIRD-PARTY-NOTICES.md with a summary table of adapted upstream code.
  • Document the skrub SquashingScaler adaptation and provide contributor guidance for future entries.
Comments suppressed due to low confidence (2)

THIRD-PARTY-NOTICES.md:6

  • The statement about “Transitive dependencies … (see pyproject.toml for the canonical list)” is inaccurate: pyproject.toml only lists direct/project dependencies, not the full resolved/transitive set. Consider rewording to distinguish direct deps vs transitive deps, and (if you want a canonical resolved list) point to whatever lockfile / license-audit output the project actually uses.
upstream attribution preserved. Transitive dependencies installed via
`pip` are governed by their own licenses (see `pyproject.toml` for the
canonical list).

THIRD-PARTY-NOTICES.md:26

  • For the skrub entry, the notice currently records only the SPDX identifier (BSD-3-Clause). For BSD-3-Clause redistribution compliance you typically need to reproduce the full license text and copyright notice in the distribution (or vendor the upstream LICENSE/NOTICE file). Consider either embedding the relevant BSD-3-Clause text + copyright holder(s) here, or adding a vendored LICENSE/NOTICE file for skrub and referencing its local path in this notice.
### skrub — SquashingScaler

**Upstream:** https://github.com/skrub-data/skrub
**Local path:** `src/tabpfn/preprocessing/steps/squashing_scaler_transformer.py`
**License:** BSD-3-Clause
**Modifications:** Adapted to fit TabPFN's preprocessing pipeline; algorithmic logic preserved.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread THIRD-PARTY-NOTICES.md
- Add upstream copyright lines to adapted source files (skrub, lucidrains
  rotary-embedding-torch). Upstream projects don't ship per-file headers,
  so we add an inline attribution block citing the upstream URL,
  copyright holder, and SPDX identifier.
- Update NOTICE entries to include the upstream copyright lines.
- Clarify the "Adding new entries" policy to distinguish whole-directory
  vendoring (vendor LICENSE alongside) from single-file adaptation
  (in-file attribution + NOTICE is sufficient).

Same pattern just applied in tabpfn-time-series#129 in response to a
gemini-code-assist review.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@priorphil priorphil left a comment

Choose a reason for hiding this comment

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

Thanks!

- Add `torch_squashing_scaler.py` to the NOTICE entry; it is a PyTorch
  port of the same skrub-derived algorithm. Attribution block added to
  the source file (PriorLabs copyright preserved + skrub credit + SPDX).
- Add changelog fragment for #964.

Addresses gemini-code-assist review feedback and fixes the "Check
Changelog" CI gate.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@noahho noahho merged commit 8375498 into main May 13, 2026
10 of 11 checks passed
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