Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
38 changes: 2 additions & 36 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,39 +23,5 @@ jobs:
with:
package: autoreduce
secrets: inherit

# The staged workspace's offline-runnable tutorial scripts double as an
# integration smoke of the public API (TargetSpec dials + guard rails, the
# Casertano noise mathematics, the drizzle-dial trade study). Everything
# network-dependent in workspace/ is excluded — archive access does not
# belong in CI. This job moves out with workspace/ when it is extracted to
# the autoreduce_workspace repository.
workspace_smoke:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip

- name: Install autoreduce + plotting deps
run: |
pip install --upgrade pip setuptools wheel
pip install -e . matplotlib scipy

- name: Run offline workspace scripts
run: |
set -e
cd workspace
export MPLCONFIGDIR=/tmp/matplotlib
for s in scripts/guides/target_spec.py scripts/guides/noise_maps.py scripts/hst_acs/dials.py; do
echo "::group::$s"
python "$s"
echo "::endgroup::"
done
# (The offline workspace-smoke job moved to the extracted
# autoreduce_workspace repository's own smoke_tests.yml.)
21 changes: 11 additions & 10 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,17 @@ applies here.
- FITS files are never committed (`.gitignore` enforces this); `prototypes/`
writes to `prototypes/output/` and `prototypes/cache/`.

## The embedded workspace (staged for extraction)

`workspace/` is the complete **autoreduce_workspace** — the user-facing tutorial
workspace (per-instrument `start_here.py` / `step_by_step.py` / `psf.py` /
`simulator.py` examples, guides, README, llms.txt) — staged here because the
`PyAutoLabs/autoreduce_workspace` repository does not exist yet. It is written
as a self-contained repo root: once the repo is created, extract it with
`git filter-repo --subdirectory-filter workspace` (or copy the tree) and it
works unchanged. Its own `AGENTS.md` governs work inside it; do not entangle it
with library code (scripts consume only the public `autoreduce` API).
## The workspace

The user-facing tutorial workspace (per-instrument `start_here.py` /
`step_by_step.py` / `psf.py` / `simulator.py` examples, guides, README,
llms.txt) lives in its own repository:
https://github.com/PyAutoLabs/autoreduce_workspace (typically cloned as a
sibling, `../autoreduce_workspace`). It was staged under `workspace/` in this
repo until 2026-08-07 and extracted with history via
`git filter-repo --subdirectory-filter workspace`. Workspace scripts consume
only the public `autoreduce` API — a public-API change here means the
workspace examples may need updating; flag it in your PR.

<!-- repos_sync:history:begin -->
## Never rewrite history
Expand Down
18 changes: 0 additions & 18 deletions workspace/.gitignore

This file was deleted.

40 changes: 0 additions & 40 deletions workspace/.script_sizes.json

This file was deleted.

114 changes: 0 additions & 114 deletions workspace/AGENTS.md

This file was deleted.

7 changes: 0 additions & 7 deletions workspace/CLAUDE.md

This file was deleted.

146 changes: 0 additions & 146 deletions workspace/README.md

This file was deleted.

Loading
Loading