Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
70 lines (50 loc) · 1.44 KB
/
Copy pathMakefile
File metadata and controls
70 lines (50 loc) · 1.44 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# AI-KIT front-door. Requires GNU Make; each target maps to the canonical Python command.
TARGET ?=
TASK ?=
TITLE ?=
MSG ?=
RECORD ?=
AGENT ?=
TASKS ?=
OUTPUT ?=
EXPERIMENT ?=
.PHONY: check test wheel install apply doctor context adapters retire route configure providers measure metrics analyze scaffold evaluate adr changelog
check:
python scripts/check_kit.py
test:
python -m unittest discover -s tests -v
wheel:
python -m pip wheel . --no-deps --wheel-dir dist
python tests/wheel_smoke.py dist
install:
python scripts/install.py $(TARGET)
apply:
python scripts/install.py $(TARGET) --apply
doctor:
python scripts/doctor.py $(TARGET)
context:
python scripts/context.py snapshot $(TARGET)
adapters:
python scripts/adapters.py report --project $(TARGET)
retire:
python scripts/adapters.py retire $(TARGET) --agent $(AGENT)
route:
python scripts/router.py route "$(TASK)"
configure:
python scripts/router.py configure $(TARGET) --apply
providers:
python scripts/router.py providers
measure:
python scripts/metrics.py record $(TARGET) --from-json $(RECORD)
metrics:
python scripts/metrics.py summary $(TARGET)
analyze:
python scripts/metrics.py analyze $(TARGET)
scaffold:
python scripts/evaluate.py scaffold --output $(OUTPUT) --experiment $(EXPERIMENT) --task $(TASK)
evaluate:
python scripts/evaluate.py coverage $(TARGET) --tasks $(TASKS)
adr:
python scripts/adr.py new "$(TITLE)"
changelog:
python scripts/changelog.py add "$(MSG)"