Skip to content

Commit

Permalink
Merge pull request #1944 from bharateshwq/master
Browse files Browse the repository at this point in the history
Explicitly mentions the useage of enhanced CPS in the AI prompt when use enhanced CPS is  toggled
  • Loading branch information
anth-volk authored Aug 9, 2024
2 parents 061311c + d0f7c5c commit 7e74c53
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/policy/output/promptContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@ export const promptContent = (
relevantParameterBaselineValues,
relevantParameters,
) => {
const isEnhancedCPS = regionKeyToLabel[region].includes("enhanced CPS");

const policyDetails = `I'm using PolicyEngine, a free, open source tool to compute the impact of public policy. I'm writing up an economic analysis of a hypothetical tax-benefit policy reform. Please write the analysis for me using the details below, in their order. You should:
* First explain each provision of the reform, noting that it's hypothetical and won't represents policy reforms for ${timePeriod} and ${
regionKeyToLabel[region]
}. Explain how the parameters are changing from the baseline to the reform values using the given data.
${
isEnhancedCPS &&
"* Explicitly mention that this analysis uses PolicyEngine's Enhanced CPS, constructed from the 2022 Current Population Survey and the 2015 IRS Public Use File, and calibrated to tax, benefit, income, and demographic aggregates."
}
* Round large numbers like: ${metadata.currency}3.1 billion, ${
metadata.currency
}300 million, ${metadata.currency}106,000, ${metadata.currency}1.50 (never ${
Expand Down

0 comments on commit 7e74c53

Please sign in to comment.