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

Add logic to write output with encoded Ids. #2286

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Apr 5, 2023

  1. Create pc_translator library.

    Differential Revision: D44617759
    
    fbshipit-source-id: 3e57d6d307bc160a9b4e9626466eb3f6205750f6
    ajinkyaghonge authored and facebook-github-bot committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    d64e6f7 View commit details
    Browse the repository at this point in the history
  2. Add classes to parse PC Instruction set.

    Differential Revision: D44618035
    
    fbshipit-source-id: da2145cb18893c45561fdb83c62a5c5bc271814e
    ajinkyaghonge authored and facebook-github-bot committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    0027e53 View commit details
    Browse the repository at this point in the history
  3. Called the OramEncoder library.

    Differential Revision: D44634384
    
    fbshipit-source-id: 60b5ec02f4a94472bda4146e4222be1c5e222c31
    ajinkyaghonge authored and facebook-github-bot committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    9220555 View commit details
    Browse the repository at this point in the history
  4. Add logic to write output with encoded Ids. (#2286)

    Summary:
    Pull Request resolved: #2286
    
    # Context
    As per PC Translator design, we need a runtime library will be called during PC run. This library will be called at the beginning of PC run to encode specified fields in publisher side input into a encoded breakdown (aggregation) Ids based on active PC instruction sets for the run. The library will filter the active PC Instruction sets for the run based on parsing the pcs_features i.e. gatekeepers for the particular run.
    
    # Product decisions
    In this stack we would focus solely on functionality required for private lift runs.
    We would focus on the MVP implementation of the library and its integration with fbpcf ORAM encoder library in this stack.
    
    # Stack
    1. Create runtime pc_translator library.
    2. Add logic to retrieve and parse PC instruction set, filtered based on the active gatekeepers for the run.
    3. Integrate pc_translator library with fbpcf ORAM encoder.
    4. Add logic to generate transformed publisher output with encoded breakdown ID and write the output.
    5. Add support for filter constraints in pc_translator.
    
    # In this diff
    Add logic to generate transformed publisher output with encoded breakdown ID and write the output.
    
    Differential Revision:
    D44645325
    
    Privacy Context Container: L416713
    
    fbshipit-source-id: e21b9fb2483eed0b133502a2ef3baa7ad7094a86
    Ajinkya Ghonge authored and facebook-github-bot committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    43322ab View commit details
    Browse the repository at this point in the history