Skip to content

Policy doc workflow extraction#93

Draft
helloaidank wants to merge 5 commits intosr_workflow_extractionfrom
policy_doc_workflow_extraction
Draft

Policy doc workflow extraction#93
helloaidank wants to merge 5 commits intosr_workflow_extractionfrom
policy_doc_workflow_extraction

Conversation

@helloaidank
Copy link
Contributor

No description provided.

helloaidank and others added 5 commits January 16, 2026 16:28
Implements new PolicyExtractionWorkflow for policy documents including syntheses, guidance documents, qualitative evidence, and expert commentary. Updates routing logic to direct policy evidence categories to the new workflow.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Adds extraction prompts for policy issues, interventions, and results with policy-specific fields (responsible_actor, implementation_level, claim_type, evidence_basis, etc.). Extends schemas with validation to ensure empirical and claim fields are mutually exclusive.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Extends project interventions and navigator endpoints to return policy-specific fields (implementation_level, responsible_actor, impact_direction, claim_text, claim_type, evidence_basis, uncertainty_language, population_targeted). Maintains backward compatibility with existing direction/effect_direction fields.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Extends synthesis services to support impact_direction field alongside existing direction and effect_direction fields. Ensures policy workflow results are properly aggregated, loaded, and displayed in findings.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Updates interventions components and test pages to display policy-specific fields (implementation_level, responsible_actor, impact_direction, claim_text, claim_type, evidence_basis, uncertainty_language, population_targeted). Adds utility to identify policy evidence categories and adjusts UI to show policy vs empirical evidence appropriately.

Co-Authored-By: Claude Sonnet 4.5 <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

Comments