Commit Graph

2 Commits

Author SHA1 Message Date
Misaka_Company
1e995b5485 feat(error-analysis): split unmatched parameters into name and value columns
Enhance error analysis report to display unmatched parameters in separate columns:
- "未匹配参数" (parameter name) - shows which parameter caused the mismatch
- "未匹配参数值" (parameter value) - shows the actual value that didn't match

This separation provides clearer visibility into specific parameter conflicts
and makes troubleshooting BOM matching issues easier.

Changes:
- Modified CreateErrorRowArray to accept separate param and value arguments
- Updated FindUnmatchedParameter to return key:value pairs
- Enhanced output formatting to highlight both columns in red/bold
- Updated header to include new "未匹配参数值" column

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 15:05:00 +08:00
Misaka_Company
7d59e489b1 feat(BIP): add weighted parameter error analysis algorithm
Implement intelligent BOM error analysis module that:
- Extracts and analyzes failed order matching attempts
- Uses feature-weight algorithm (azxs=10000, bkxs=1000, etc.) for accurate parameter conflict detection
- Automatically traces unmatched parameters to root cause
- Splits multi-error results into separate rows for detailed analysis
- Exposes BomExtractor data pool via GetAllItems() for external analysis

This solves fuzzy tie problems that caused parameter false positives in previous matching logic.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 14:41:58 +08:00