Closed stratus-ss closed 3 years ago
Hey @stratus-ss , thanks for bringing this up. Regexes are particularly dicey in Adapt; they have the ability to collide with each other in weird ways, and tend not to behave the way you expect when there are multiple in play.
I suspect that this is not a regression, as there have been no material changes (docstrings aside) to adapt since this commit in May 2019. If you updated your version of adapt since your most recent change, that may point to a latent regression. If you only updated mycroft, this issue might be more appropriate for that forum.
I would recommend using git-bisect to try to track down the exact change that broke your flow.
I appreciate the reply but git bisect isnt going to help. Nothing related to either of those functions or the regex changed.
I may have to investigate building the other intent.
If you don't think that this is a valid report please feel free to close it and clear up your issues :)
Hey @stratus-ss , sorry for the long silence here. I suspect that this is a collision of regexes interacting with each other, either via code changes in mycroft, addition/removal of skills or vocabulary, introduction of padatious, or other downstream changes. Adapt regexes are known to be flaky, especially when multiple skills come into play.
If you have not already resolved this issue, I would recommend looking for assistance debugging mycroft-core with the relevant channels. I'm going to close this issue now, but please feel free to re-open if you have a stable reproduction (outside of mycroft-core). Thanks!
Be clear about the software, hardware and version you are running
For example:
Try to provide steps that we can use to replicate the Issue
Given the following intent methods:
I have tried the following regex in find.title.rx
With these regexes (all tested one at a time) in find.child.rx
and
and
Using the trigger:
The output of message.data happens every time to be this:
I believe this to be a regression because using a similar method in a different skill which I have not changed no longer works.
This intent no longer gets called
With the regex file1
and regex file 2
Output of message.data
This was known working on Apr 11 when I committed this to my master branch