Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
5672cdc
chore: keep working notes out of git
lbougan Oct 28, 2026
ea4bf73
chore: uv project with CPU torch, ruff, pytest+coverage, synthetic fi…
lbougan Oct 28, 2026
bfa6a51
chore: temporary coverage guard in CI, psql stops on error, strict zips
lbougan Oct 28, 2026
387a020
refactor: remove unused DualEncoderUNet, async Triton client, Sentine…
lbougan Oct 28, 2026
699f984
feat: cloud-masked reflectance composites, BandSpec tags, one global …
lbougan Oct 28, 2026
853e61a
fix: reflectance offset from the processing baseline, band names in l…
lbougan Oct 28, 2026
c7b354b
feat: metric geometry, 0/ignore/1 labels as GeoTIFF, weighted focal+d…
lbougan Oct 28, 2026
01d1563
fix: dice weighting covered by the loss test, stats path threaded thr…
lbougan Oct 28, 2026
511ed31
feat: site-held-out splits with 20 km exclusion, compact AOIs for all…
lbougan Oct 28, 2026
48bb6bf
test: split guards (missing site, val-vs-test distance, one split per…
lbougan Oct 28, 2026
b748796
refactor: one sliding-window implementation with Predictor protocol a…
lbougan Oct 28, 2026
db2163c
fix: device option for local inference, fake benchmark modes with a s…
lbougan Oct 28, 2026
74e477a
feat: single fit() loop, site-level evaluate.py, immutable Detection …
lbougan Oct 28, 2026
fac2847
fix: checkpoint filename carries the monitored metric, recall monitor…
lbougan Oct 28, 2026
1879a83
feat: evidence fields that render thumbnails, prob vs rank score in t…
lbougan Oct 28, 2026
a367322
fix: api tests use their own database, fail instead of skip in CI, 40…
lbougan Oct 28, 2026
abf0712
test: synthetic end-to-end pipeline on CPU, lazy pipeline imports, 80…
lbougan Oct 28, 2026
bc46246
fix: seed training before model construction, stable integration test…
lbougan Oct 28, 2026
099a62b
feat: ONNX export carries normalisation stats and band spec
lbougan Oct 28, 2026
482b133
docs: results-first README, pipeline diagram, hardware notes, GPU-day…
lbougan Oct 28, 2026
1482271
fix: review findings: detections in EPSG:4326, nodata-aware inference…
lbougan Oct 28, 2026
3cd3672
fix: one target grid per AOI, stats carried by the checkpoint, held-o…
lbougan Oct 28, 2026
d4ec22a
fix: review pass on v0.2 before merge
lbougan Oct 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .coveragerc.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[run]
source = services/api

[report]
fail_under = 80
show_missing = true
62 changes: 62 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: ci

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

jobs:
lint-and-unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
python-version: "3.12"
enable-cache: true
- run: uv sync --locked --all-extras
- run: uv run ruff check .
- run: uv run ruff format --check .
# the 80 % gate (fail_under in pyproject) applies here
- run: uv run pytest -q --cov --cov-report=xml --cov-report=term
- uses: actions/upload-artifact@v4
if: always()
with:
name: coverage
path: coverage.xml

api:
runs-on: ubuntu-latest
services:
postgres:
image: postgis/postgis:16-3.4
env:
POSTGRES_DB: launchsite
POSTGRES_USER: launchsite
POSTGRES_PASSWORD: changeme
ports: ["5432:5432"]
options: >-
--health-cmd "pg_isready -U launchsite"
--health-interval 5s --health-timeout 5s --health-retries 10
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: "5432"
POSTGRES_DB: launchsite
POSTGRES_USER: launchsite
POSTGRES_PASSWORD: changeme
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
python-version: "3.12"
enable-cache: true
- run: uv sync --locked --all-extras
- run: PGPASSWORD=changeme psql -v ON_ERROR_STOP=1 -h localhost -U launchsite -d launchsite -f infra/postgres-init/001_schema.sql
# services/api is omitted from the lint-and-unit gate; it is gated at 80 % here
- run: uv run pytest -q -m api --cov --cov-config=.coveragerc.api --cov-report=term --cov-report=xml:coverage-api.xml --cov-fail-under=80
- uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-api
path: coverage-api.xml
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,16 @@ build/
.DS_Store
scratch/
.claude/

# Working notes: every markdown file except the README and the public cards stays local
*.md
!README.md
!docs/model-card.md
!docs/dataset-card.md
docs/superpowers/
!docs/hardware.md
.coverage
htmlcov/
coverage.xml
coverage-api.xml
.venv/
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.6
rev: v0.17.3
hooks:
- id: ruff-check
args: [--fix]
Expand All @@ -20,3 +20,4 @@ repos:
- id: debug-statements
- id: check-added-large-files
args: [--maxkb=1000]
exclude: ^uv\.lock$
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12
729 changes: 209 additions & 520 deletions README.md

Large diffs are not rendered by default.

Loading
Loading