Skip to content

[High] Raise mutation-test scores for solver_registry, proof_registry, and reputation_badge #417

Description

@james2177

Description:
Mutation testing (#80, #214) is scored for settlement only. Run cargo mutants on the three satellite contracts, then close the surviving-mutant gaps with targeted tests until each crate reaches a mutation score of at least 85%.

Problem Statement & Context:
The satellites are now security-critical: the registry holds bonds and the proof registry is the root of trust. A high line-coverage number can hide tests that assert nothing.

Scope & Acceptance Criteria:

  • A baseline report for each crate.
  • New tests that kill the surviving mutants, and a documented justification for any equivalent mutants.
  • A score of at least 85% per crate, recorded in docs/.
  • Out of scope: settlement.

Implementation Guidelines:

  1. Key Files/Modules: each satellite src/test.rs, docs/.
  2. Design/Architecture: Prioritize mutants in auth checks, comparisons, and arithmetic.
  3. Edge Cases/Constraints: A long runtime (shard with --shard).
  4. Testing: As described in the scope.

Definition of "Done":

  • Scores documented, and tests merged.
  • Reviewed and approved.

Resources:

Complexity: High (200 points)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programhigh (200 pts)Drips Wave complexity: high, 200 pointssecuritySecurity hardening or audit finding

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions