Figured I'd have a go at replicating this one. This is my command:
PRODIGY_ALLOWED_SESSIONS=alice,bob,claire python -m prodigy textcat.manual yet-another-demo examples.jsonl --label yep
When running it, it indeed seems like I can add many /
characters and the UI would render just fine.
I can also confirm that this gets reflected in the annotation data via db-out
.
{
"text": "this is another one",
"_input_hash": -1874580495,
"_task_hash": 1574781527,
"label": "yep",
"_view_id": "classification",
"answer": "accept",
"_timestamp": 1670236717,
"_annotator_id": "yet-another-demo-alice///",
"_session_id": "yet-another-demo-alice///"
}
I'm pretty sure we've stumbled apon an edge case that deserves an internal ticket, because after annotating with alice///
, I'm not able to annotate the same example with alice/
or alice
.
I've even found that, after dropping the db, you're able to do some tomfoolery in the single session with this such that this appears in the output:
[{
"text": "this is just one example",
"_input_hash": 258033956,
"_task_hash": -1451381763,
"label": "yep",
"_view_id": "classification",
"answer": "accept",
"_timestamp": 1670236886,
"_annotator_id": "yet-another-demo-alice///",
"_session_id": "yet-another-demo-alice///"
},{
"text": "this is just one example",
"_input_hash": 258033956,
"_task_hash": -1451381763,
"label": "yep",
"_view_id": "classification",
"answer": "accept",
"_timestamp": 1670236891,
"_annotator_id": "yet-another-demo-alice",
"_session_id": "yet-another-demo-alice"
}]
This is without setting feed_overlap
to true
.
I can't put my finger on what's going wrong with the session exactly, but this deserves an investigation. I'll add a ticket. Thanks for reporting @shaked571!