File size: 1,369 Bytes
5b2f19f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Platform Notes

## General guidance

- Use `python -m pip`, never raw `pip`.
- The dataset harness expects the real `blux-coga` engine's canonical file-based invocation: `blux-coga run --input ... --output-dir ...`.
- Prefer running against a local checkout via `BLUX_COGA_REPO=/path/to/blux-coga python ./scripts/run_harness.py`.
- If `BLUX_COGA_REPO` points at a source checkout, the harness automatically adds `<repo>/src` to `PYTHONPATH` so you do not need an editable install just to verify fixtures.

## Linux / macOS

Install Python and any shell tooling you need with your system package manager, then run:

```sh
python -m pip install -e /path/to/blux-coga
BLUX_COGA_REPO=/path/to/blux-coga python ./scripts/run_harness.py
```

## Termux native

Use native Termux packages directly:

```sh
pkg update
pkg install python3 git jq
python -m pip install -e /data/data/com.termux/files/home/blux-coga
BLUX_COGA_REPO=/data/data/com.termux/files/home/blux-coga python ./scripts/run_harness.py
```

## Termux + proot Debian inside Debian

From Termux:

```sh
pkg update
pkg install proot-distro
proot-distro install debian
proot-distro login debian
```

Inside Debian:

```sh
sudo apt update
sudo apt install -y git python3 python3-venv python3-pip jq
python -m pip install -e /path/to/blux-coga
BLUX_COGA_REPO=/path/to/blux-coga python ./scripts/run_harness.py
```