Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 1.39 KB

File metadata and controls

71 lines (47 loc) · 1.39 KB

ValidReuse Method Explorer

Streamlit app for comparing q10(LRV) evaluation methods on the same editable integer input table:

  • Empirical bootstrap
  • Bayesian approximation
  • Bayesian (PyMC)

Use the local Conda environment

conda activate validreuse

Install dependencies

pip install -r requirements.txt

Recommended:

  • Use Python 3.13 for the full app, including PyMC.
  • The older validreuse/ Python 3.14 environment is still present, but PyMC is not reliable there.

Run the app

streamlit run app.py

Deploy With Docker

Build the image:

docker build -t validreuse-app .

Run it locally:

docker run --rm -p 8501:8501 validreuse-app

Then open http://localhost:8501.

Deploy On A Server

  1. Copy the project to the server.
  2. Install Docker.
  3. Build the image:
docker build -t validreuse-app .
  1. Run the container in the background:
docker run -d --name validreuse -p 8501:8501 --restart unless-stopped validreuse-app
  1. Put Nginx or Caddy in front of port 8501 if you want HTTPS and a public domain.

Streamlit Cloud

This app can also be deployed from a GitHub repo on Streamlit Community Cloud with app.py as the entrypoint.

Note:

  • PyMC makes deployment heavier than a simple Streamlit app.
  • If you want the lightest deployment, we can make the PyMC method optional or disable it in cloud builds.