This happens a lot and I'm not sure what's causing it. Previously, I thought it was being caused by some code in a custom recipe I was trying, so I tried one of the built in recipes and it does the same thing.
I've been able to annotate successfully, but this seems to happen at random (I'm sure it's not, I just can't pinpoint the cause).
yes, you've got the data right, it's Java code snippets. I haven't de-duped the data yet, just trying to get Prodigy running. rules.jsonl content below. I eventually just tried the example in the docs because I couldn't get anything working and I figured it was worth a shot to just copy paste the example.
Could you share an example from your training data as well? It doesn't have to be an exact copy of the data, as long as it's an example that triggers the same issue so that I might be able to reproduce locally.
My current gut feeling is that you may be running a patterns file with labels that you aren't listing in --label.