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 support for filter in pc_translator. #2287

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

Commits on Apr 6, 2023

  1. Create pc_translator library.

    Differential Revision: D44617759
    
    fbshipit-source-id: 11e1253802c5642b3b4bdfd8e10cf67b8a8983c5
    ajinkyaghonge authored and facebook-github-bot committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    4e43ad2 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: f36d9abba81a638a7f82508b66c050a217ed87a7
    ajinkyaghonge authored and facebook-github-bot committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    d8bc5be View commit details
    Browse the repository at this point in the history
  3. Called the OramEncoder library.

    Differential Revision: D44634384
    
    fbshipit-source-id: 30c87e6c39bffcec815f5b0b838d2ea2c8ebb2df
    ajinkyaghonge authored and facebook-github-bot committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    aea927b View commit details
    Browse the repository at this point in the history
  4. Add logic to write output with encoded Ids.

    Differential Revision: D44645325
    
    fbshipit-source-id: 8b3efd3e9785884d7e2d8b1696ea826d511e0cb5
    ajinkyaghonge authored and facebook-github-bot committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    b9aa883 View commit details
    Browse the repository at this point in the history
  5. Add support for filter in pc_translator. (#2287)

    Summary:
    Pull Request resolved: #2287
    
    # 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 support for filter constraints in pc_translator.
    
    Differential Revision:
    D44702838
    
    Privacy Context Container: L416713
    
    fbshipit-source-id: b60909247067a97a7b8a5d13c9e80fc400f96456
    Ajinkya Ghonge authored and facebook-github-bot committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    7236864 View commit details
    Browse the repository at this point in the history