Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

FEAT: Expose SeededLaplaceMechanism for deterministic RNG

Đang mở
#407 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

Start by tracing how LaplaceMechanism is currently exposed in the Python library and identify the corresponding public API and tests. Make SeededLaplaceMechanism available through the same API, then verify that deterministic seeded results are covered by tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Type: New Feature :heavy_plus_sign:

Feature Description

For research and CI/CD testing purposes, full transparency or determinism w.r.t. random state is often desirable. differential-privacy makes a SeededLaplaceMechanism available for this purpose, but it looks like we only make LaplaceMechanism available in this library.

Is your feature request related to a problem?

Two issues:

  • Replication of academic research that relies on exact reproduction of sample data
  • CI/CD testing workflows where deterministic results for some test cases may be desirable

What alternatives have you considered?

Alternatives rely on asymptotic results and thresholds that may be arbitrary or result in false negative test results, especially on small sample sizes or for some metrics.

Ngôn ngữ chính
Python
Star
550
Fork
143
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenMined/PyDP

Tất cả issue của OpenMined/PyDP

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.