Skip to content

Commit a1d0f7a

Browse files
author
hp23 Server
committed
Instructions for running analysis with original database
Additional cleanup of outdated comments from the analysis files
1 parent 635d76b commit a1d0f7a

File tree

3 files changed

+712
-2267
lines changed

3 files changed

+712
-2267
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ The project is made out of 6 parts:
1717
- Dockerized and works on MacOS and Linux
1818
- Run: `(sudo) docker compose exec header-testing-server bash -c "cd _hp/hp/tools/analysis && poetry run python analysis_demo.py"` to get some basic statistics about the test runs executed by the unit tests and running browser-test-runners.
1919
- We also provide the data and the analysis scripts used for the paper:
20-
- Download the database from **TODO**
21-
- Import the database into your local postgres: `(sudo) docker compose exec -T postgres pg_restore -U header_user -d http_header_original -v /tmp/data/http_header_original.dump`
20+
- Download the database: `curl https://zenodo.org/records/16996059/files/http_header_original.dump\?download\=1 --output data/http_header_original.dump` (https://zenodo.org/records/16996059)
21+
- Import the database into your local postgres: `(sudo) docker compose exec postgres psql -U header_user -d http_header_demo -c "CREATE DATABASE http_header_original;"` and `(sudo) docker compose exec -T postgres pg_restore -U header_user -d http_header_original -v /tmp/data/http_header_original.dump`
2222
- Start the jupyter-lab: `(sudo) docker compose exec header-testing-server bash -c "cd /app/_hp/hp/tools/analysis && poetry run jupyter-lab --allow-root --ip 0.0.0.0"` and access the URL printed on your local browser
23-
- The files `analysis_may_2024.ipynb` and `analysis_december_2024.ipynb` contain the full analysis for the original browser run and the updated browser run experiments described in the paper, including the output of the analysis and can be executed to reproduce the analysis. Note: re-executing these scripts require a large amount of RAM on the docker container >20GB.
23+
- The files `analysis_may_2024.ipynb` and `analysis_december_2024.ipynb` contain the full analysis for the original browser run and the updated browser run experiments described in the paper, including the output of the analysis and can be executed to reproduce the analysis. Note: re-executing these scripts require a large amount of RAM for the docker container (~60GB, execution time: ~30m).
2424
3. (Optional) Test runner for desktop linux browsers
2525
- Dockerized demo works on Linux and macOS; For a full run, the browser runner needs to be installed outside of docker on a linux system.
2626
- Demo run:

0 commit comments

Comments
 (0)