Skip to content

Conversation

@safaricd
Copy link
Contributor

@safaricd safaricd commented Sep 9, 2025

Motivation and Context

This PR introduces fully anonymous usage analytics to help us understand how the library is being used and guide future improvements.

Telemetry is GDPR-compliant and designed with data minimization in mind — no personal data, code, inputs, or outputs are ever collected.

By default, analytics are enabled in an opt-in, transparent manner, and users can easily disable them at any time via the TABPFN_DISABLE_TELEMETRY=1 environment variable.

Public API Changes

  • No Public API changes

Checklist

  • The changes have been tested locally.
  • Documentation has been updated (if the public API or usage changes).
  • A entry has been added to CHANGELOG.md (if relevant for users).
  • The code follows the project's style guidelines.
  • I have considered the impact of these changes on the public API.

@CLAassistant
Copy link

CLAassistant commented Sep 9, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
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 anonymous usage analytics by adding the tabpfn-common-utils dependency and instrumenting the TabPFNClassifier and TabPFNRegressor classes. The changes are well-contained and consistently applied across the codebase. The README has also been updated to inform users about this new feature and provide instructions for opting out. My review includes a couple of minor suggestions to improve the documentation and project metadata.

safaricd and others added 3 commits September 9, 2025 15:23
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Copy link
Collaborator

@noahho noahho left a comment

Choose a reason for hiding this comment

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

When installing I get an error:

warning: The package `tabpfn-common-utils==0.1.7` does not have an extra named `telemetry-interactive`

@safaricd
Copy link
Contributor Author

safaricd commented Sep 9, 2025

When installing I get an error:

warning: The package `tabpfn-common-utils==0.1.7` does not have an extra named `telemetry-interactive`

@noahho fix has been applied and pushed, thanks for reporting. It was due to the generate_dependencies.py script we use for parsing and generating requirements.txt from pyproject.toml.

Copy link
Contributor

@oscarkey oscarkey left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@brendan-priorlabs brendan-priorlabs left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks, Dominik

@noahho noahho merged commit 534d4c3 into main Sep 10, 2025
10 checks passed
oscarkey pushed a commit that referenced this pull request Nov 12, 2025
* Record copied public PR 499

* Set up methods for anonymous usage analytics (#499)

Co-authored-by: noahho <Noah.homa@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
(cherry picked from commit 534d4c3)

---------

Co-authored-by: mirror-bot <mirror-bot@users.noreply.github.com>
Co-authored-by: Dominik Safaric <153173064+safaricd@users.noreply.github.com>
Co-authored-by: noahho <Noah.homa@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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