Skip to content

headline_only runs pressure axes one at a time - #487

Merged
conorplunkett merged 3 commits into
mainfrom
pressure-plus-shape
Aug 27, 2026
Merged

headline_only runs pressure axes one at a time#487
conorplunkett merged 3 commits into
mainfrom
pressure-plus-shape

Conversation

@conorplunkett

Copy link
Copy Markdown
Owner

Summary

  • phase2_pressure_contrasts (app/metrics.py) reads each pressure axis's delta against the shared none/none baseline independently (time_pressure - none, unreachable - none) — it never reads the combined interaction cell (time_pressure/unreachable).
  • pressure_axes_by_condition (app/phase2/scope.py) now returns explicit per-condition (urgency, availability) cell lists ("plus shape": baseline + each non-baseline urgency + each non-baseline availability) instead of two axis lists to cross — dropping the unread interaction cell under the default --pressure-scope headline_only.
  • structured_policy now costs 3 pressure cells instead of 4 (678 episodes instead of 904 for the full v2 set) when both axes are requested. --pressure-scope all is unaffected — still the full cross-product everywhere.
  • _grid_cells (app/phase2/runner.py) and the CLI cost estimator (app/cli.py) updated to consume the new per-condition cell-list shape; the estimator's pressure_axes_differ check also got more precise — it now compares each condition's actual cell count against the naive product directly, so it still fires correctly even when only one condition is selected.
  • Two new edge-case tests: a lone non-baseline axis level (no requested baseline) still runs just what was asked for, and requesting only the interaction cell (neither axis includes "none") falls back to running exactly that cell rather than producing nothing.

Test plan

  • python -m pytest — 914 passed, 2 skipped
  • phase2-eval --dry-run end to end: confirmed time_pressure/unreachable shows 0 episodes while the other 3 cells run normally

🤖 Generated with Claude Code

conorplunkett and others added 2 commits August 26, 2026 21:59
…nteraction cell

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
unsafe-commercial-autonomy Ready Ready Preview Aug 27, 2026 2:37am

Request Review

@conorplunkett
conorplunkett merged commit 6c53ab3 into main Aug 27, 2026
3 of 4 checks passed
@conorplunkett
conorplunkett deleted the pressure-plus-shape branch August 27, 2026 02:36
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