nspcc-dev / nspcc-dev/hrw

Use integer weights

Open
#8 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion I0 S4 U4
Dominant language
Go
Stars
7
Forks
4
Avg merge
2d 21h
Merged PRs (30d)
1

Description

float weights are cumbersome. We can use integer ones (or some kind of decimals) as they are easier to work with in multiple languages.

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

No files, tests, or entry points are named in the issue. Start by locating how float weights are represented and consumed in the Go implementation, then review callers and existing tests for assumptions about weight types. Done means an agreed integer or decimal representation is implemented consistently and its behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.