Improve number reporting in `add_categorical_bound_constraint`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
Research direction
Start at the add_categorical_bound_constraint entry point and inspect how it formats percentage and count values in constraint failure messages. Done means percentages avoid scientific notation with fewer decimals and counts use Python-style underscore separators, including the examples described in the issue.
Written by the indexing model from the issue text.
Description
I'm getting constraint failure messages like
6.288887928086567e-05% (20 out of 31802125)
and
1.0073226238812658% (320350 out of 31802125)
In both cases, using fewer decimal places would be nice I think. At the very least we shouldn't be showing scientific notation + % IMO.
For the counts, I think it would be nice to display them like Python does, ie. 320_350 out of 31_802_125.
- Dominant language
- Python
- Stars
- 46
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Quantco/datajudge
-
enhancement help wanted
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
good first issue refactoring
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
infrastructure
Difficulty 1/5 Under an hour Newbie friendliness 55/100
All issues in Quantco/datajudge
Similar issues
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100