Skip to content

Document weighting rule in AGENTS.md (never raw weights; use Microsimulation/microdf)#224

Open
MaxGhenis wants to merge 1 commit into
mainfrom
claude/agents-weighting-rule
Open

Document weighting rule in AGENTS.md (never raw weights; use Microsimulation/microdf)#224
MaxGhenis wants to merge 1 commit into
mainfrom
claude/agents-weighting-rule

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Codify the rule that bit us mid-MP-vs-eCPS analysis: never read/sum weight arrays directly and never use unweighted record counts or raw H5 column sums as population figures. Compute aggregates via Microsimulation.calculate(var, year) (+ microdf auto-weighting); if a weight must be referenced at all it is household_weight only. Doc-only change to AGENTS.md.

🤖 Generated with Claude Code

Never read or sum weight arrays directly, and never report unweighted record
counts or raw HDF5 column sums as population figures. Compute population
aggregates via Microsimulation (microdf auto-weights with the household
weight); if a weight must be referenced at all, it is household_weight only.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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