-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught TypeError: Cannot read property 'length' of undefined #39
Comments
The problem here boils down to nested embedding composites. First you define:
and then:
Not sure if that was your intent. If one composite is removed (probably makes sense to remove the first one), then everything works (and you can avoid manually setting the embedding on sampleset, that's not needed). The lesson learnt is we need to compose embeddings returned by embedding composites when |
One other approach that was discussed back in the requirements stage would be to give the inspector the ability to show multiple intermediate BQMs. So logical -> intermdiate -> source. This deemed too much work for R1 but in the context of debugging it would (IMO) be more useful than composed embeddings, in that embedding warnings etc can be embedding specific. Of course there are another whole class of warnings that come out of embedding interactions, in which case the composed embeddings are useful 🤷♂ |
Yup, that's the obvious next step after plot-style inspector -- the dashboard-style inspector, where user would be able to browse all captured data and inspect it... |
Thanks! My bad. That was somewhat unintentional. And it does work when removing the EmbeddingComposite. Shall I close this issue or wait for that one to be resolved?
|
It's not clear how to handle nested embedding composites transparently (see comments on the linked dwave-system issue). I think the best solution will be the dashboard-style inspector, where user will be able to browse problems/solutions, including intermediate steps. But that's not going to be implemented anytime soon. So, I'd close this one in favor of #40. |
That dashboard-style inspector solution sounds pretty cool. But yeah, I don't think we'll see that anytime soon. Closing ticket. |
Problem Inspector fails to start up for the below problem. It shows a blue screen and an error in the console. Unfortunately, I have not found what exactly causes the issue in this problem.
Problem:
Console Error:
Screenshot:

The text was updated successfully, but these errors were encountered: