You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Thanks for your contribution! As part of our Community Growers
initiative 🌱, we're donating Justdiggit bunds in your name to reforest
sub-Saharan Africa. To claim your Community Growers certificate, please
contact David Berenstein in our Slack community or fill in this form
https://tally.so/r/n9XrxK once your PR has been merged. -->
# Description
This PR introduces new validations for rating questions to limit use
cases.
- Only unique values in the range [1, 10] are allowed
Closes#3451
**Type of change**
(Please delete options that are not relevant. Remember to title the PR
according to the type of change)
- [X] Improvement (change adding some improvement to an existing
functionality)
**How Has This Been Tested**
(Please describe the tests that you ran to verify your changes. And
ideally, reference `tests`)
Playing around locally creating a dataset with wrong bound values for
the rating question:
<img width="1589" alt="Screenshot 2023-07-25 at 18 46 46"
src="https://github.com/argilla-io/argilla/assets/2518789/ab1fc16e-bebc-4ebe-9c08-cfe5b71ce00d">
**Checklist**
- [ ] I added relevant documentation
- [x] follows the style guidelines of this project
- [x] I did a self-review of my code
- [ ] I made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [ ] I filled out [the contributor form](https://tally.so/r/n9XrxK)
(see text above)
- [ ] I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)
---------
Co-authored-by: Tom Aarsen <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alvaro Bartolome <[email protected]>
By limiting the rating questions configuration, the shortcut flow can be drastically simplified.
10
1 <= x <= 10
Refs: https://github.com/argilla-io/Team/issues/114
The text was updated successfully, but these errors were encountered: