Skip to content

fix(parity): native engine reports 1 fewer edge than WASM (30,609 vs 30,610) #855

@carlos-alm

Description

@carlos-alm

Summary

The v3.9.0 benchmark run (PR #853) shows a 1-edge divergence between engines on the same 567-file codebase:

  • Native: 15,483 nodes, 30,609 edges
  • WASM: 15,483 nodes, 30,610 edges

Node counts are identical, so the extraction layer agrees on symbols. The difference is in edge building or import resolution.

Context

Per project policy, both engines must produce identical results. Any divergence means the less-accurate engine has a bug that must be fixed.

Previous edge parity fixes in #810 resolved larger divergences; this 1-edge gap is a residual.

Next Steps

  1. Identify which edge differs (run both engines with --json and diff the edge sets)
  2. Determine which engine is correct
  3. Fix the extraction/resolution bug in the incorrect engine

Metadata

Metadata

Assignees

No one assigned

    Labels

    follow-upDeferred work from PR reviews that needs tracking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions