Improve user/agent facing skills#929
Merged
Merged
Conversation
Rename the method-selection and execution skills so agents can route causal-design work separately from experiment-running guidance, and expand the execution references with current experiment coverage and scale-aware prior guidance. Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #929 +/- ##
=======================================
Coverage 95.07% 95.07%
=======================================
Files 87 87
Lines 13701 13701
Branches 812 812
=======================================
Hits 13026 13026
Misses 479 479
Partials 196 196 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Clarify unsupported experiment outputs and make the expanded execution references less likely to send agents into runtime errors. Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
Author
|
Pushed a follow-up commit: This fixes the agent-facing issues from review by making the Verification:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
choosing-causalpy-methodsnow handles method/design selection, whilerunning-causalpy-experimentshandles fitting, model setup, summaries, plots, and interpretation.df, and usecp.checks.*names for sensitivity checks.Follow-up
Test plan
prek run --files causalpy/skills/running-causalpy-experiments/SKILL.md causalpy/skills/running-causalpy-experiments/reference/regression_kink.md causalpy/skills/running-causalpy-experiments/reference/panel_regression.md causalpy/skills/running-causalpy-experiments/reference/inverse_propensity_weighting.md causalpy/skills/running-causalpy-experiments/reference/piecewise_its.md causalpy/skills/running-causalpy-experiments/reference/staggered_did.md causalpy/skills/running-causalpy-experiments/reference/instrumental_variable.md causalpy/skills/running-causalpy-experiments/reference/synthetic_control.md causalpy/skills/running-causalpy-experiments/reference/regression_discontinuity.mdprek run --all-files