-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (23 loc) · 829 Bytes
/
Copy pathMakefile
File metadata and controls
33 lines (23 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# LUCID convenience targets. No `make`? Run the underlying commands directly.
PY ?= python
.PHONY: test demo eval-lucid eval-random scores figures numbers paper clean
test:
$(PY) -m pytest -q
demo:
$(PY) demo/quickstart.py
eval-lucid: # all 25 public games, curiosity agent (needs ARC_API_KEY)
$(PY) experiments/run_all.py --agent lucid --budget 300 --workers 1
eval-random:
$(PY) experiments/run_all.py --agent random --budget 200 --workers 1
scores:
$(PY) scripts/compute_scores.py
numbers:
$(PY) scripts/paper_numbers.py
figures:
$(PY) scripts/make_figures.py
paper:
cd paper && pdflatex -interaction=nonstopmode lucid.tex && bibtex lucid && \
pdflatex -interaction=nonstopmode lucid.tex && \
pdflatex -interaction=nonstopmode lucid.tex
clean:
cd paper && rm -f *.aux *.bbl *.blg *.out *.log