You can test the output of e.g. checkEachPcbTraceNonOverlapping (which returns an array of errors) to make sure the messages have selectors.
You'll likely need a function to derive a selector given a component. I think this probably exists somewhere in builder but it should be a general-purpose function inside of tscircuit/soup-util
You'll need to understand the soup specification to do this issue. Here's a summary of most soup elements:
You can test the output of e.g.
checkEachPcbTraceNonOverlapping
(which returns an array of errors) to make sure the messages have selectors.You'll likely need a function to derive a selector given a component. I think this probably exists somewhere in builder but it should be a general-purpose function inside of tscircuit/soup-util
You'll need to understand the soup specification to do this issue. Here's a summary of most soup elements: