biolab / biolab/orange2

value conversion bug for relatively large numbers

Open
#57 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
304
Forks
142
PR merge metrics
No merged PRs in 30d

Description

I was trying to create data tables from Python list of list. I found that there was a problem with importing the values correctly for some relatively large numbers. It seemed that there was bug when creating a Continunous Value with relatively large numbers. For example

Orange.data.Value(Orange.feature.Continuous(),308632021)

This construction will give me the following Value:

It seems that for relatively large numbers, the conversion would usually be wrong but in a way that is not like an overflow.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported conversion with Orange.data.Value, Orange.feature.Continuous(), and 308632021, then inspect the value-conversion path used when creating data tables from Python lists. Done means the continuous value preserves the input number instead of producing 308632032.000, with a regression test covering relatively large numbers.

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.