Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated and heavily simplified anonymization script #235

Merged
merged 12 commits into from
Aug 29, 2024
Merged

Conversation

StijnKas
Copy link
Collaborator

@StijnKas StijnKas commented Jun 18, 2024

We've had an anonymization script in the tools for a little bit, but these were not performant enough on any realistic and real loads, so it was time for an update. The configuration options here are much less, but it's much more efficient.

It utilizes a two-pass approach, whereby we first output all files to batched parquet files and then loop over all parquet files to generate one single output parquet file.

Many thanks to @danielm-dk for helping improve this part.

Copy link

codecov bot commented Jun 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.57%. Comparing base (bbf667a) to head (70afe32).
Report is 44 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #235      +/-   ##
==========================================
+ Coverage   59.63%   64.57%   +4.94%     
==========================================
  Files          29       28       -1     
  Lines        3793     3498     -295     
==========================================
- Hits         2262     2259       -3     
+ Misses       1531     1239     -292     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@StijnKas StijnKas changed the base branch from master to V4 June 24, 2024 13:17
@StijnKas StijnKas changed the base branch from V4 to master July 24, 2024 09:17
@StijnKas
Copy link
Collaborator Author

@yusufuyanik1 would you mind giving this a review? Would like to merge it sometime soon

Copy link
Collaborator

@yusufuyanik1 yusufuyanik1 left a comment

Choose a reason for hiding this comment

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

Looks good, worked with some sample data i created :)

@StijnKas StijnKas merged commit afce127 into master Aug 29, 2024
18 checks passed
@StijnKas StijnKas deleted the anonymisation branch October 8, 2024 12:56
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