Lines Matching +full:demo +full:- +full:v2
3 # Demo of RAPPOR. Automating Python and R scripts. See README.
6 # ./demo.sh [function name]
8 # End to end demo of rappor. Notable functions include:
9 # quick-python: Runs a demo using the python client
10 # quick-cpp: Runs a demo using the c++ client
16 set -o nounset
17 set -o pipefail
18 set -o errexit
30 # Semi-automated demos
33 # Run rappor-sim through the Python profiler.
34 rappor-sim-profile() {
39 time python -m cProfile -s cumulative \
41 -i _tmp/$dist.csv \
46 quick-python() {
47 ./regtest.sh run-seq '^demo3' python
50 quick-cpp() {
52 ./build.sh cpp-client
54 ./regtest.sh run-seq '^demo3' cpp
58 quick-python
59 quick-cpp
64 # Running the demo of the exponential distribution with 10000 reports (x7,
67 # - There are 50 real values, but we add 1000 more candidates, to get 1050 candidates.
68 # - And then we remove the two most common strings, v1 and v2.
69 # - With the current analysis, we are getting sum(proportion) = 1.1 to 1.7
73 bad-case() {
74 local num_additional=${1:-1000}
75 run-dist exp 10000 $num_additional 'v1|v2'
79 pcls-test() {
80 USE_PCLS=1 bad-case
84 ok-case() {
85 run-dist exp 10000 10 'v1|v2'
88 if test $# -eq 0 ; then