biolab / biolab/orange3

Edit Domain: can't reset previously merged values

Open
#5,914 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug snack
Dominant language
Python
Stars
5.7k
Forks
1.1k
Avg merge
12d 2h
Merged PRs (30d)
1

Description

What's wrong?

Reset variable doesn't always work as expected. If the variable was both converted to categorical and had values merged, one cannot change this merge (for example, how many values one wants to have left).

How can we reproduce the problem?

Datasets (Slovenian National Assembly) - Edit Domain.
Change "locality" to Categorical and merge with "Group all except 10 most frequent values". Apply changes. Now change merge to 20 most frequent values. Nothing changes.

What's your environment?

  • Operating system: OSX
  • Orange version: 3.32.dev
  • How you installed Orange: git

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the Edit Domain widget using the Slovenian National Assembly dataset: convert locality to categorical, merge all but the 10 most frequent values, apply, then select 20 most frequent values. Inspect the Edit Domain entry point and make the second merge selection replace the first; done means the applied data reflects the new merge.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.