You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug][multi-agent-shared-context]: 'Deprecated modules rebuilt' comparison row counts the wrong thing and can go negative #486
Naive side:len(implementing) is every module the coder built, not just the deprecated ones. Building 6 modules, 1 of them deprecated, reports "6".
Statewave side:implementing already excludes skipped modules (the coder parses IMPLEMENTING and SKIPPING as separate sections, agents/coder.py:80-81). Subtracting sw_skipped again is meaningless and can go negative (e.g. 2 implemented, 3 skipped → "-1"). When nothing was skipped it prints "0" even if a deprecated module was rebuilt.
pipeline_naive.py:64 already computes the right thing: the intersection of built modules with the planner's deprecated ones.
Expected Behavior
Both columns show how many deprecated modules the coder built.
Suggested fix
Have each pipeline return the deprecated-and-built count (the naive pipeline already computes built), e.g. result["deprecated_rebuilt"], and use that in both columns.
Steps to Reproduce
python main.py and compare the row against the coder's printed implementation list.
Environment
main @ eb66ddc.
Severity
Low — the headline comparison table reports a wrong number.
Activity