Skip to content

Move MicroPlex storage config to PolicyEngine#13

Merged
MaxGhenis merged 2 commits into
mainfrom
codex/policyengine-storage
May 27, 2026
Merged

Move MicroPlex storage config to PolicyEngine#13
MaxGhenis merged 2 commits into
mainfrom
codex/policyengine-storage

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

@MaxGhenis MaxGhenis commented May 26, 2026

Summary

  • prefer PolicyEngine-owned Supabase env vars for MicroPlex scripts while retaining legacy fallbacks
  • remove the hard-coded old Supabase project URL from calibration loaders
  • update repo metadata, badges, docs URLs, and generated dashboard link to PolicyEngine ownership

Supabase follow-up

  • checked the shared credentials docs available through Google Drive; I did not find a PolicyEngine Supabase API/service key there
  • found the existing PolicyEngine Supabase project policyengine-strategy (naalkftuqvyhjpvwlvnd), but Supabase reports it as INACTIVE and refuses restore because it has been paused for more than 90 days
  • did not leave GitHub repo variables/secrets pointing to that dead project

Tests

  • uv run python -m py_compile scripts/load_pe_targets.py scripts/run_supabase_calibration.py scripts/build_block_geography.py tests/test_supabase_client.py
  • uv run ruff check --select F821 scripts/load_pe_targets.py scripts/run_supabase_calibration.py scripts/build_block_geography.py tests/test_supabase_client.py
  • uv run --extra dev python -m pytest tests/test_supabase_client.py -q

Note: Full ruff on the touched script files is blocked by existing broad lint debt in those files; this PR ran syntax, undefined-name, and targeted tests instead.

MaxGhenis added 2 commits May 26, 2026 12:42
…orage

# Conflicts:
#	docs/_config.yml
#	scripts/build_block_geography.py
#	scripts/load_pe_targets.py
#	scripts/run_supabase_calibration.py
#	tests/test_supabase_client.py
@MaxGhenis MaxGhenis merged commit 099cb30 into main May 27, 2026
4 checks passed
@MaxGhenis MaxGhenis deleted the codex/policyengine-storage branch May 27, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant