Skip to content

Conversation

@talgalili
Copy link
Contributor

Summary:
Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:

  • Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
  • Updated file header to use from future import annotations for modern type hint support
  • Added comprehensive type annotations for all test functions and helper variables
  • Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293

@meta-codesync
Copy link

meta-codesync bot commented Nov 23, 2025

@talgalili has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87727293.

talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 23, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727293
Summary:

Migrated test_poststratify.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_poststratify.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Reviewed By: wesleytlee

Differential Revision: D87727288
Summary:

Migrated test_rake.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_rake.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Differential Revision: D87727292
Summary:

Migrated test_sample.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_sample.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Reviewed By: wesleytlee

Differential Revision: D87727294
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Reviewed By: wesleytlee

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 24, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Reviewed By: wesleytlee

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 24, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Reviewed By: wesleytlee

Differential Revision: D87727293
talgalili added a commit to talgalili/balance that referenced this pull request Nov 24, 2025
…#159)

Summary:

Migrated test_stats_and_plots.py from # pyre-unsafe to # pyre-strict mode as part of the comprehensive type safety improvements in the balance test suite.

Changes:
- Converted test_stats_and_plots.py from # pyre-unsafe to # pyre-strict
- Updated file header to use from __future__ import annotations for modern type hint support
- Added comprehensive type annotations for all test functions and helper variables
- Fixed type handling throughout test cases to satisfy strict mode requirements

All test cases pass without modifications to test logic - the changes are purely type annotation improvements that enhance code maintainability and prevent future type safety regressions.

Reviewed By: wesleytlee

Differential Revision: D87727293
@meta-codesync meta-codesync bot closed this in 4b641ed Nov 25, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 25, 2025

This pull request has been merged in 4b641ed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants