Skip to content

Add test suite across all packages #2

@PlutoYork

Description

@PlutoYork

Zero test coverage currently. Need pytest suites for all five packages.

Priority areas

  • hedonics/taxonomy.py — domain lookup, list
  • hedonics/htc.py — HTC creation, code formatting
  • hedonics/hqc.py — HQC creation, subcategory lookup, blockers
  • hedonics/fungibility.py — exchange rate lookup, compute_exchanges(), priority sorting
  • altpath/assessment.py — scoring, gaps, strengths, blocked_ends(), optimize()
  • highnoon/assess.py — read_project_signals(), SoftwareAssessment
  • mainstreet/datasources.py — ATUS profiles, BLS API (mock)
  • mainstreet/policy.py — PolicyAssessment impacts, distributional effects
  • frontpage/feed.py — score_item(), rank_feed(), explain_ranking()

Approach

  • pytest + pytest-cov
  • Mock external APIs (BLS) in tests
  • CI via GitHub Actions

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingTest coverage and CI

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions