code-kern-ai / refinery

The data scientist's open-source choice to scale, assess and maintain natural language data. Treat training data like a software artifact.
https://www.kern.ai
Apache License 2.0
1.39k stars 66 forks source link

[BUG] - Pre-filling of Active learner embedding selection selects the wrong embedding #222

Closed DerEchteFeuerpfeil closed 1 year ago

DerEchteFeuerpfeil commented 1 year ago

Describe the bug When selecting embedding B in the active learner creation modal, it will not be prefilled if there is another embedding A that comes before it. Dangerous because this is rather silent and needs user attention to verify.

To Reproduce Steps to reproduce the behavior:

  1. have two embeddings for an attribute
  2. create new AL
  3. select second embedding for AL creation
  4. See error in code

Expected behavior correct embedding should be selected

Screenshots albug

Desktop (please complete the following information): remote dev environment, 1.7.1

Additional context