Skip to content

Adding TabSyn examples and ensemble attack code#143

Open
lotif wants to merge 51 commits into
mainfrom
marcelo/tabsyn-ensemble
Open

Adding TabSyn examples and ensemble attack code#143
lotif wants to merge 51 commits into
mainfrom
marcelo/tabsyn-ensemble

Conversation

@lotif

@lotif lotif commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

PR Type

Feature

Short Description

Clickup Ticket(s): https://app.clickup.com/t/10524786/868jvwvax

A few things in this PR:

  • Adding an example for TabSyn full pipeline (train, synthesize and evaluate)
  • Adding an example for Ensemble Attack using TabSyn
  • Adding EnsembleAttackTabSynModelRunner to src/midst_toolkit/attacks/ensemble/models.py so the attack knows how to run the model
  • Renaming test_attack_model.py files to stop pytest thinking they are test files
  • A few small refactorings to simplify things

FYI a lot of the code in the examples was copied from the CTGAN example, and the EnsembleAttackTabSynModelRunner was adapted from the existing TabSyn automated test.

Tests Added

No tests added.

@lotif lotif changed the title Marcelo/tabsyn ensemble Adding TabSyn examples and ensemble attack code Jun 9, 2026
@lotif lotif requested a review from emersodb June 9, 2026 20:43
@lotif lotif marked this pull request as ready for review June 9, 2026 20:43
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@lotif, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 55 minutes and 6 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 0ec44cea-c457-4cf9-9ff5-0df5c3521756

📥 Commits

Reviewing files that changed from the base of the PR and between 9f0e89c and 7082237.

📒 Files selected for processing (25)
  • examples/gan/README.md
  • examples/gan/ensemble_attack/README.md
  • examples/gan/ensemble_attack/config.yaml
  • examples/gan/ensemble_attack/make_challenge_dataset.py
  • examples/gan/ensemble_attack/run_test_attack_model.py
  • examples/gan/ensemble_attack/utils.py
  • examples/tabsyn/README.md
  • examples/tabsyn/config.yaml
  • examples/tabsyn/ensemble_attack/README.md
  • examples/tabsyn/ensemble_attack/compute_attack_success.py
  • examples/tabsyn/ensemble_attack/config.yaml
  • examples/tabsyn/ensemble_attack/make_challenge_dataset.py
  • examples/tabsyn/ensemble_attack/run_test_attack_model.py
  • examples/tabsyn/ensemble_attack/train_attack_model.py
  • examples/tabsyn/evaluate.py
  • examples/tabsyn/synthesize.py
  • examples/tabsyn/tabsyn_config.toml
  • examples/tabsyn/train.py
  • src/midst_toolkit/attacks/ensemble/models.py
  • src/midst_toolkit/attacks/ensemble/rmia/rmia_calculation.py
  • src/midst_toolkit/models/tabsyn/dataset.py
  • src/midst_toolkit/models/tabsyn/pipeline.py
  • src/midst_toolkit/models/tabsyn/preprocessing.py
  • tests/integration/assets/tabsyn/trans_info.json
  • tests/integration/models/tabsyn/test_train.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch marcelo/tabsyn-ensemble

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant