Skip to content

Refactor mask handling in _compile_masks and update Miner class for c… #10

Refactor mask handling in _compile_masks and update Miner class for c…

Refactor mask handling in _compile_masks and update Miner class for c… #10

Workflow file for this run

name: Reproduce sample
on:
push:
branches: [main]
pull_request:
jobs:
reproduce:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
with:
python-version: "3.12"
- name: Sync and test
run: |
uv sync --frozen --extra dev
uv run ruff check .
uv run pytest -q
- name: Sample, parse, score, golden
run: |
uv run python scripts/make_sample.py
uv run python scripts/parse.py --input examples/sample.log \
--out-csv results/parsed_sample.csv --out-audit results/audit.jsonl
uv run python scripts/score.py \
--truth examples/sample_structured.csv \
--parsed results/parsed_sample.csv \
--out-json results/raw/sample_scores.json
uv run python scripts/verify_golden.py
git diff --exit-code -- \
examples/sample.log examples/sample_structured.csv \
results/parsed_sample.csv results/audit.jsonl