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
Commit a4cad9e
Browse filesBrowse the repository at this point in the historyBrowse files
Thank you for catching this! You are completely right.
2
+
3
+
### Resolution:
4
+
1.**Mathematical Set Difference**: Removed the raw edge count check (`connected_edges < expected_input_ports`). We now collect all unique incoming destination port IDs in a `std::unordered_set<size_t> connected_ports` and compute the strict set difference against declared input ports:
If `!missing_ports.empty()`, validation immediately throws an `ov::Exception` listing all missing XML port IDs. This is completely invariant to duplicate destination edges and non-contiguous port numbering.
7
+
2.**Regression & Positive Tests Added**:
8
+
- Added `duplicate_destination_edges_with_noncontiguous_ports_throws_descriptive_exception` in `src/frontends/ir/tests/disconnected_port_diagnostic_test.cpp` testing declared ports `10` and `20` with duplicate incoming edges targeting port `10`. Confirmed that it immediately throws and reports missing port `[20]`.
9
+
- Added `valid_connected_ports_deserializes_successfully` confirming zero regressions on valid graphs.
0 commit comments