Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM python:latest
WORKDIR /polar
COPY . .
RUN pip install -r requirements.txt
ENTRYPOINT ["python", "polar.py"]
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,22 @@ source .venv/bin/activate
pip install -r requirements.txt
```

Alternatively, build Polar as a Docker container using the provided `Dockerfile`.

1. Clone the repository:
```bash
git clone git@github.com:probing-lab/polar.git
cd polar
```
2. Build the Docker container.
```bash
docker build . -t polar
```
3. Execute the container.
```bash
docker run --rm -v "$(pwd):$(pwd)" polar documentation/loops/loop.prob --goals "E(x)"
```

## Supported Loops

The problems Polar can solve are uncomputable for arbitrary probabilistic loops. This means that an algorithm and a
Expand Down