factcircuit
FactCircuit는 불변 출처와 단계별 검증, 제한된 검색, 재현 가능한 평가를 제공하는 감사 가능한 주장·증거 검증 루프입니다
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
COSMOS Archive of MultiPle-Field Internal Reductions & Extractions
CAMPFIRE is a data reduction pipeline and web portal for JWST spectroscopy and imaging.
It contains tools for processing raw JWST data (NIRSpec MSA spectroscopy, NIRCam imaging)
through custom reduction stages and hosts the resulting products through an interactive
web interface.
The pipeline and portal were built to support spectroscopic survey work in COSMOS and
other deep fields, but the pipeline components are general enough to be adapted to
other JWST programs.
This is a monorepo with several components:README 전문 보기 ↗COSMOS Archive of MultiPle-Field Internal Reductions & Extractions
CAMPFIRE is a data reduction pipeline and web portal for JWST spectroscopy and imaging. It contains tools for processing raw JWST data (NIRSpec MSA spectroscopy, NIRCam imaging) through custom reduction stages and hosts the resulting products through an interactive web interface.
The pipeline and portal were built to support spectroscopic survey work in COSMOS and other deep fields, but the pipeline components are general enough to be adapted to other JWST programs.
This is a monorepo with several components:
| Directory | Description | Stack |
|---|---|---|
pipeline/ | JWST reduction pipeline | Python, jwst, astropy |
web/ | Interactive web portal | Next.js, Supabase, Tailwind |
python/ | Unified Python package: API client, CLI, and deploy tools | Python, httpx, Supabase, Cloudflare R2 |
etc/ | Empirical NIRSpec exposure-time calculator, spectrum simulator and MCP server | Python (numpy), MCP, Fly.io |
Supporting directories:
| Directory | Description |
|---|---|
supabase/ | Database migrations and local dev config |
scripts/ | One-off utility scripts (seeding, backfills, etc.) |
See the README in each subdirectory for more detail.
The interactive installer asks which components you need (basic CLI usage, data reduction, deployment, web development), manages the conda environment (conda / mamba / micromamba, or a plain venv), installs everything in the right order, and verifies the result:
python3 install.py
Non-interactive use mirrors every prompt with a flag:
python3 install.py --profiles reduction,deploy --yes # e.g. a reduction cluster
python3 install.py --doctor # verify an existing install
python3 install.py --help # all options
Alternatively, the classic one-shot conda env (everything, no choices):
conda env create -f environment.yml
conda activate campfire
git pull && python3 install.py
The installer remembers your previous answers (.campfire-install.json,
gitignored) and converges the environment without re-asking: editable installs
pick up code changes immediately, and the re-run applies anything else — new
or changed dependency pins, new extras, web/package-lock.json drift. It
never runs git for you, so pulling (and dealing with local changes) stays in
your hands.
# Set up your data directory (raw data, config, and outputs live here, not in the repo)
export CAMPFIRE_ROOT=/path/to/your/data
# Download raw data from MAST -> $CAMPFIRE_ROOT/raw/
cfpipe download --program 6585 --instrument nirspec
# Run the full reduction for an observation (a group of exposures to reduce + stack)
# Outputs to $CAMPFIRE_ROOT/products/<observation_name>/
cfpipe nirspec run --obs <observation_name> --all --processes 4
# Or run individual stages
cfpipe nirspec stage1 --obs <observation_name> --processes 4
cfpipe nirspec stage2a --obs <observation_name>
cfpipe nirspec stage3 --obs <observation_name> --processes 4
cfpipe nirspec zfit --obs <observation_name>
Requires Python 3.12+ and a CRDS cache.
See pipeline/README.md for full documentation.
cd web
npm install
npm run dev
Requires Supabase and R2 credentials in .env.local.
See web/README.md for setup.
Bug reports and feature requests are welcome via GitHub Issues. If you're interested in contributing code, feel free to open a PR — just note that much of the configuration (observation definitions, deployment targets) is specific to our survey, so pipeline and portal improvements are the most useful contributions.