PublicDataWorks / verdad-frontend

MIT License
0 stars 0 forks source link

[Backend] Enhance Analysis Prompt with Political Leaning Assessment #75

Closed linear[bot] closed 1 hour ago

linear[bot] commented 11 hours ago

As a data analyst, I want the system to objectively assess the political orientation of a snippet, so that I can understand its bias on a spectrum from -1.0 (extremely left-leaning) to +1.0 (extremely right-leaning).

Acceptance Criteria:

  1. System Instructions Update:
    • The analysis prompt should now include political content analysis as a core capability.
    • It must emphasize objectivity, evidence-based analysis, and maintain a focus on cultural sensitivity.
  2. Schema Updates:
    • JSON output should now include a political_leaning field.
    • political_leaning should be a float ranging from -1.0 to +1.0.
    • Ensure bilingual explanations with evidence citations are included.
    • Validate JSON schema to incorporate the new political_leaning field.
  3. Analysis Requirements:
    • The system should analyze political orientation focusing on:
      • Explicit policy positions
      • Specific arguments
      • Language and rhetoric
      • Sources cited
      • Solutions proposed
    • Scoring should be evidence-based with references to the snippet content.
    • Explanations must include specific citations.
  4. Example Outputs:
    • Include examples demonstrating analysis across the political spectrum:
      • A right-leaning example (e.g., vaccine discussion)
      • A left-leaning example (e.g., economic policy)
      • A neutral example (e.g., infrastructure)
    • Each example must demonstrate:
      • Evidence-based analysis
      • Direct quote citations
      • Objective assessment
      • Correct schema formatting
  5. Implementation:
    • Update Stage_3_system_instruction.md to reflect new capabilities.
    • Modify Stage_3_output_schema.json to include political_leaning.
    • Ensure the main instruction document is updated accordingly.

Tasks:

Notes:

linear[bot] commented 11 hours ago

VER-131 [Backend] Enhance Analysis Prompt with Political Leaning Assessment