Code to Validate Private Sample Production