Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
aa3277d
refactor(Phase 1): Configuration & Critical Fixes
razinkele Dec 18, 2025
9bef3c7
refactor(Phase 2 - Partial): Model Type Helpers & Ecosim Config Migra…
razinkele Dec 19, 2025
2c3aa06
docs: Add comprehensive refactoring session summary
razinkele Dec 19, 2025
5a2fb2c
refactor(Phase 2): Complete ecosim.py magic number migration
razinkele Dec 19, 2025
ee65bcc
refactor(Phase 2 - Part 2): Core page magic number migration + Style …
razinkele Dec 19, 2025
2d64a8f
refactor(Phase 2 - Part 3): Complete magic number elimination across …
razinkele Dec 19, 2025
43243c5
refactor(Phase 2 - Cleanup): Simplify config imports across 6 files
razinkele Dec 19, 2025
b08df3f
docs(Phase 3): Complete refactoring with documentation and final testing
razinkele Dec 19, 2025
1fae893
fix(app): Escape curly braces in CSS f-string
razinkele Dec 19, 2025
0d0ebea
feat: Add comprehensive Pre-Balance Diagnostics module
razinkele Dec 19, 2025
779cf77
fix: Add trophic level calculation for unbalanced models in prebalanc…
razinkele Dec 19, 2025
a6a68fe
docs: Update prebalance integration documentation with TL bug fix det…
razinkele Dec 19, 2025
3be29c5
docs: Add comprehensive session summary for prebalance integration
razinkele Dec 19, 2025
476d89a
fix: Replace debug print() statements with logging and add input vali…
razinkele Dec 19, 2025
81f229a
docs: Add comprehensive codebase review with 20 identified issues
razinkele Dec 19, 2025
a9309eb
sync: bump package __version__ to 0.2.2 (match pyproject.toml)
razinkele Jan 4, 2026
b7ac486
tests(ecosim): add failing tests for stanza handling and Qlink tracking
razinkele Jan 4, 2026
955c96b
feat(ecosim): add stanza init and stanza_biomass tracking; implement …
razinkele Jan 4, 2026
3a850f2
ci: add GitHub Actions workflow for lint, mypy, and tests
razinkele Jan 4, 2026
4374960
feat(ecosim): initialize annual Qlink accumulator to avoid NameError;…
razinkele Jan 4, 2026
bd7c6c9
ci: quote python versions in matrix to avoid YAML float parsing
razinkele Jan 4, 2026
b3043aa
feat(ecosim): require balanced Rpath for Ecosim and add model-type tests
razinkele Jan 4, 2026
633d335
fix(ecopath): preserve explicit zero inputs (blank->NaN) and add conv…
razinkele Jan 4, 2026
059afb8
docs: add changelog entry for balanced-model guard and input conversi…
razinkele Jan 4, 2026
415a963
Fix: robust rpath/stanza handling, preserve explicit zero inputs, and…
razinkele Jan 4, 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
56 changes: 56 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: CI

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

jobs:
build:
name: Lint / Typecheck / Test (${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
pip-${{ runner.os }}-py${{ matrix.python-version }}-

- name: Upgrade pip and install dev deps
run: |
python -m pip install --upgrade pip
pip install -e '.[dev]'

- name: Ruff Lint
run: ruff check .

- name: Black check
run: black --check .

- name: Type check (mypy)
run: mypy src --config-file pyproject.toml || true

- name: Run tests (unit)
run: |
pytest -q -m "not integration and not slow" --maxfail=1 --disable-warnings

- name: Upload test results (artifact)
if: always()
uses: actions/upload-artifact@v4
with:
name: pytest-report-${{ matrix.python-version }}
path: .
Loading
Loading