Date: December 16, 2025
Status: 🟡 IN PROGRESS - 7/35 fixed (20%)
- test_load_mortgage_config ✅
- test_parse_mortgage_data ✅
- test_build_rdf_graph ✅
- test_processing_report ✅
- test_serialization_formats ✅
- test_decimal_transformation ✅
- test_date_transformation ✅
Key Changes Made:
- Updated to use v3 config structure (mappings instead of sheets)
- Added helper function
get_v3_mapping_and_source() - Fixed IRI templates to match v3 format
- Removed delimiter parameters that were causing None errors
File: test_generator_workflow.py
Issue: Tests expect output with 'as' field, need 'predicate'
Fix Required:
# Old assertion
assert "firstName" in columns["fname"]["as"]
# New assertion
assert "firstName" in columns["fname"]["predicate"]File: test_mapping.py
Issue: Uses old SheetMapping/LinkedObject Pydantic models
Fix Options:
- Import from config_v3 instead of mapping
- Skip these tests (testing deprecated models)
- Create equivalent tests for v3 models
File: test_validation_guardrails.py
Issue: Tests access .columns attribute (v3 uses .properties)
Fix Required:
# Old
sheet.columns
# New
mapping.propertiesFile: test_rml_generator.py
Issue: Expects 'sheets' key in generated output
Fix Required: Update to expect v3 format output
Files: Various matcher test files Issue: Tests expect 17 matchers but only 5 exist Root Cause: v0.3.0 performance optimization reduced matchers from 17→5 This is NOT a v3 migration issue!
Options: a) Update all tests to expect 5 matchers (recommended) b) Re-enable all 17 matchers (defeats optimization) c) Document as expected behavior change
Affected Tests:
- test_17_matchers_complete.py (3 tests)
- test_datatype_matcher.py (2 tests)
- test_enhanced_semantic_matcher.py (3 tests)
- test_hierarchy_matcher.py (1 test)
- test_matcher_pipeline.py (2 tests)
- test_phase2_integration.py (2 tests)
- test_validation/test_matching_accuracy.py (4 tests)
- Update test_generator_workflow.py assertions
- Change 'as' → 'predicate' in all assertions
- Update 'columns' → 'properties' references
- Run and verify
- Skip or update test_mapping.py
- Either import v3 models or mark as deprecated
- Update test_validation_guardrails.py
- Change .columns → .properties
- Update sheet references to mapping references
- Update test_rml_generator.py
- Expect v3 format output
- Update expected matcher count from 17 → 5
- Update evidence/confidence thresholds
- Document behavior change
Total Estimated Time: ~4-5 hours
- Fix Generator Workflow - These are critical for AI mapping functionality
- Update Matcher Tests - Most numerous failures
- Fix Model/Validation Tests - Quick wins
- Document Changes - Update test documentation
- Mortgage tests now fully pass ✅
- v3 core engine is working correctly
- Most failures are test assertion updates, not actual bugs
- Matcher count issue predates v3 migration
Last Updated: December 16, 2025
Next Action: Fix generator workflow tests (4 tests)
Progress: 20% complete (7/35 tests passing)