Skip to content
Snippets Groups Projects

Update Analysis Support for Gulf Futures

Merged Chris Zubak-Skees requested to merge update-analysis-support-for-gulf-futures into main

This PR substantially refactors the Analysis Support script with the primary goal of enabling configurable prompt files per competition and creates a new prompts config for GFC2024. These files are now stored in competitions/{competition}/ansible/roles/{competition}/files/LLM_Prompts.yml, read and validated by the script when run.

The format looks like the following:

title: LLM LFC Analysis
prompts:
  - title: Project Overview
    prompt: |
      Please summarize in 3 bullet points the key
      details of the proposal in the following areas: The Challenge, The
      Solution and The Plan.
    prompts:
      - title: The Challenge
        prompt: |
          Please summarize in 2-3 sentences the challenge the proposal
          tackles. This should only include facts and no analysis.
        blocks:
          - the_problem
      - title: The Solution
        prompt: |
          Please summarize in 2-3 sentences describing the solution and
          impact. This should include what, how, and with whom. This
          should only include facts and no analysis.
        blocks:
          - the_solution
# ...

Here's how I'm testing:

./analysis_support.py --competition=GFC2024 --proposals=[PROPOSAL ID] --dry-run

Closes https://code.librehq.com/ots/clients/lfc/torque-tracker/-/issues/374 and addresses https://code.librehq.com/ots/clients/lfc/torque-tracker/-/issues/100

Edited by Chris Zubak-Skees

Merge request reports

Merged by Chris Zubak-SkeesChris Zubak-Skees 1 week ago (Mar 6, 2025 8:10pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading