Skip to content

Commit

Permalink
add more milli results
Browse files Browse the repository at this point in the history
  • Loading branch information
utaal committed Aug 21, 2024
1 parent cfcf69d commit fe15595
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 1 deletion.
1 change: 1 addition & 0 deletions milli/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/results/
/linked-list/creusot-sessions/**/*.bak
/linked-list/errors/creusot*/**/*.bak
/venv3/
8 changes: 8 additions & 0 deletions milli/plot/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
bash plot/setup_venv.sh

. ./venv3/bin/activate

cd results

python3 ../plot/linked_list_repeat.py
python3 ../plot/doubly_linked_list_repeat.py
11 changes: 11 additions & 0 deletions milli/plot/setup_venv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apt-get install python3.10-venv -y

if [ -d "venv3" ]; then
rm -R venv3
fi

python3 -m venv venv3

. ./venv3/bin/activate

pip install plotnine
2 changes: 2 additions & 0 deletions milli/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ docker exec verus-sosp24-milli /bin/bash setup/verifiers.sh

docker exec verus-sosp24-milli /bin/bash experiments.sh $1

docker exec verus-sosp24-milli /bin/bash plot/run.sh

19 changes: 18 additions & 1 deletion site/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,24 @@ When the experiments complete, stop and delete the container:
docker rm -f verus-sosp24-milli
```

**TODO.** Result plots.
This will produce results in the `/mydata/verus-sosp24-artifact/milli/results` directory.

First, inspect the verification times for the singly linked list and the doubly linked list as follows.
Still in the `/mydata/verus-sosp24-artifact/milli` directory, run:

```shell
cat results/linked-list-oneshot.txt
```

to see the results which correspond to the "Single" column of Figure 6a.

Then run:

```shell
cat results/doubly-linked-list-oneshot.txt
```

to see the results which correspond to the "Double" column of Figure 6a.

**TODO.** Interpreting results.

Expand Down

0 comments on commit fe15595

Please sign in to comment.