Skip to content

Add program description, bounty ranges, and performance metrics #6

@tikket1

Description

@tikket1

Context

Program records are missing several useful fields that H1 returns in the program detail endpoint.

Missing Fields

Description & Policy

  • description — program description / mission statement
  • policy — full program policy text (or URL)

Bounty Ranges

  • minimum_bounty — lowest bounty offered
  • maximum_bounty — highest bounty offered
  • average_bounty — mean payout (if returned by API)

Performance Metrics

  • response_efficiency_percentage — H1's response efficiency rating
  • average_time_to_first_response — days to first triage
  • average_time_to_bounty — days to payout
  • average_time_to_resolution — days to close

Program Stats

  • total_bounties_paid — lifetime bounty total
  • total_reports_received — total submissions
  • launch_date — when the program started

Access Restrictions

  • invite_only — invitation-only program
  • trusted_hackers_only — restricted to top researchers

Changes Needed

  1. Add columns to Program model
  2. Extract from fetch_program_detail() response attributes
  3. Add to ProgramData dataclass, schemas, API response
  4. Display on program detail page (metrics card, bounty range badge)

Value

Bounty ranges help prioritize which programs to focus on. Performance metrics indicate how responsive a program is. Description saves having to visit the platform to understand scope context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    data-modelDatabase model / schema changesenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions