-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (22 loc) · 994 Bytes
/
Copy pathMakefile
File metadata and controls
30 lines (22 loc) · 994 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
.PHONY: check check-fast check-behavior check-public-privacy check-release test export-sanitized export-sanitized-worktree
check:
bash scripts/validate.sh
check-fast:
CODEXQB_VALIDATE_SKIP_BEHAVIOR_SMOKE=1 bash scripts/validate.sh
check-behavior:
python3 evals/run_apply_behavior_smoke.py
python3 evals/run_downstream_goal_apply_dry_run.py
python3 evals/run_goal_apply_metric_checks.py
check-public-privacy:
python3 scripts/check_public_privacy.py --root .
check-release: check check-public-privacy export-sanitized
tmpdir="$$(mktemp -d)"; \
trap 'rm -rf "$$tmpdir"' EXIT; \
unzip -q CodexQB-sanitized.zip -d "$$tmpdir"; \
cd "$$tmpdir/CodexQB" && bash scripts/validate.sh
test:
python3 -m unittest discover -s tests -v
export-sanitized:
python3 scripts/export_sanitized.py --root . --output CodexQB-sanitized.zip
export-sanitized-worktree:
python3 scripts/export_sanitized.py --root . --output CodexQB-sanitized.zip --include-untracked --allow-dirty --allow-head-mismatch