Skip to content

test(coverage): Improve global test coverage after ADE implementation #52

@Pedrovaleriolopez

Description

@Pedrovaleriolopez

Problem

After merging PR #51 (AIOS Dashboard & ADE Core Implementation), global test coverage dropped below thresholds due to +108k lines of new code.

Current Coverage vs Thresholds

Metric Current Threshold Gap
Statements 26.56% 30% -3.44%
Branches 23.7% 25% -1.3%
Lines 26.71% 30% -3.29%
Functions 28.15% 30% -1.85%
.aios-core/core/ 43.35% 45% -1.65%

Scope

New modules needing tests:

ADE Core (~15k lines)

  • .aios-core/core/execution/ - Build orchestrator, wave executor, rate limiter
  • .aios-core/core/orchestration/ - Master orchestrator, gate evaluator, recovery handler
  • .aios-core/core/memory/ - Gotchas memory, context snapshot
  • .aios-core/core/ideation/ - Ideation engine

Infrastructure (~10k lines)

  • .aios-core/infrastructure/scripts/ - Plan tracker, worktree manager, QA orchestrator

Workflow Intelligence (~5k lines)

  • .aios-core/workflow-intelligence/learning/ - Gotcha registry, QA feedback, semantic search

Acceptance Criteria

  • Global statement coverage ≥ 30%
  • Global branch coverage ≥ 25%
  • Global line coverage ≥ 30%
  • Global function coverage ≥ 30%
  • .aios-core/core/ line coverage ≥ 45%

Priority

Medium - Tests passing, coverage is a quality metric not a blocker.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreCore framework (.aios-core/core/)priority: P3Medium — affects some usersstatus: confirmedIssue confirmed, ready for worktype: testTest coverage and quality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions