Skip to content

Add inline value formula to knapsack-basic.toml comment #77

@wollax

Description

@wollax

Problem

The knapsack-basic.toml comment shows score=0.7 → value=7000 without explaining the floor(score * 10000) scaling formula. A reader looking only at the test comment could mistake 7000 for an arbitrary label. The formula is defined in spec/src/slicers/knapsack.md:39 but not referenced inline.

Solution

Add brief inline note — e.g., value=floor(0.7*10000)=7000 — to make the comment self-contained. Apply to all 3 conformance copies.


Created via Kata /kata-add-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogKata backlog issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions