The Rank widget uses method name as id as setting
- Dominant language
- Python
- Stars
- 5.7k
- Forks
- 1.1k
- Avg merge
- 12d 2h
- Merged PRs (30d)
- 1
Description
**What's wrong?**
`method.name` is a string, like, `"Univariate Regression"` and is translated, yet it is also used as a setting, therefore causing crashes (like presumably #7306) when opening a workflow in another language.
**How can we reproduce the problem?**
See, e.g. https://github.com/biolab/orange3/blob/master/Orange/widgets/data/owrank.py#L264.
**What's your environment?**
- Operating system: N/A
- Orange version: 3.40
- How you installed Orange: N/A
Contributor guide
Research direction
Start at Orange/widgets/data/owrank.py around line 264 and inspect how method.name is used both as a translated label and as a setting. Reproduce by opening a workflow in another language, then verify that the Rank widget uses a stable setting identifier and no longer crashes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100