gitoria

kunibert-proof

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings

← Pull requests

#1Add average price

openfeature → mainby Kunibert · head 0bc73522

  • failureKunibert: kunibertKunibert review

Verdicts

  • Kunibertrequested changes

People’s approvals

Reviews

  1. Kunibertapprequested changes0bc73522 · current head · 2026-11-22 21:38:26 UTC

    The README change introduces no new findings. T1 remains unresolved because total() still reads past the end of ordinary lists.

    Correctness (0 new, 1 still open)

    The existing major issue in T1 still prevents total() and average() from returning for ordinary lists.

    Still open from earlier rounds:

    • T1 cart.py:3 Keep the loop within the list bounds

    Spec (0 new, 0 still open)

    No ticket or issue is linked, so there are no spec findings.

    Standards (0 new, 0 still open)

    No documented standards violations found; no .hl files changed.

    Gates: not run

  2. Kunibertapprequested changes6eaa090a · earlier head · 2026-11-05 23:09:58 UTC

    The PR still fails for ordinary price lists because total() reads past the end. T1 remains unresolved; no new findings were identified.

    Correctness (0 new, 1 still open)

    T1 remains a major correctness issue: both total() and average() raise IndexError for ordinary lists.

    Still open from earlier rounds:

    • T1 cart.py:3 Keep the loop within the list bounds

    Spec (0 new, 0 still open)

    No ticket or issue is linked, so there are no spec findings.

    Standards (0 new, 0 still open)

    No applicable documented repository rules or standards violations were found.

    Gates: not run

  3. Kunibertapprequested changes6eaa090a · earlier head · 2026-11-04 08:26:40 UTC

    The loop-bound bug remains, causing both total() and average() to raise IndexError for ordinary lists. All three existing threads remain unresolved; no new findings were identified.

    Correctness (0 new, 3 still open)

    The existing major correctness issue persists. Read-only reproduction confirmed failures for empty, single-item, and two-item lists.

    Still open from earlier rounds:

    • T1 cart.py:3 Keep the loop within the list bounds
    • T2 cart.py:3 Restore the exclusive upper bound in total()
    • T3 cart.py:3 Restore the valid loop bound

    Spec (0 new, 0 still open)

    No ticket or issue is linked, so there are no spec findings.

    Standards (0 new, 0 still open)

    No repository-specific standards files or documented-rule violations were found.

    Gates: not run

  4. Kunibertapprequested changes6eaa090a · earlier head · 2026-11-04 08:13:46 UTC

    The changed loop bound breaks both total() and average() for ordinary price lists. No spec or standards findings were identified.

    Correctness (1 new, 2 still open)

    One major regression was confirmed: both functions raise IndexError for inputs such as [10, 20].

    Still open from earlier rounds:

    • T1 cart.py:3 Keep the loop within the list bounds
    • T2 cart.py:3 Restore the exclusive upper bound in total()

    Spec (0 new, 0 still open)

    No ticket or issue is linked, so there are no spec findings.

    Standards (0 new, 0 still open)

    No repository standards documents or documented-rule violations were found.

    Gates: not run

  5. Kunibertapprequested changes6eaa090a · earlier head · 2026-11-04 07:58:14 UTC

    The changed loop bound makes both total() and average() raise IndexError for every list input. Fix this regression before merging.

    Correctness (1 new, 1 still open)

    One major regression, confirmed with empty, single-item, and two-item lists.

    Still open from earlier rounds:

    • T1 cart.py:3 Keep the loop within the list bounds

    Spec (0 new, 0 still open)

    No ticket or issue is linked, so there are no spec findings.

    Standards (0 new, 0 still open)

    No repository standards documents were found, and there are no standards findings.

    Gates: not run

  6. Kunibertapprequested changes6eaa090a · earlier head · 2026-11-03 17:08:57 UTC

    The delta adds only a README marker and introduces no new findings. T1 remains unresolved: total() still indexes past the end of every list, breaking both total() and average().

    Correctness (0 new, 1 still open)

    The existing major finding T1 remains valid; no new correctness findings.

    Still open from earlier rounds:

    • T1 cart.py:3 Keep the loop within the list bounds

    Spec (0 new, 0 still open)

    No spec findings: no ticket or issue is linked.

    Standards (0 new, 0 still open)

    No documented repository standards files were found; no standards findings.

    Gates: not run

  7. Kunibertapprequested changescc4fb6f5 · earlier head · 2026-11-02 07:20:36 UTC

    The delta adds only a README marker and introduces no new findings. T1 remains unresolved: the loop still indexes past the end of every list, breaking total() and average().

    Correctness (0 new, 1 still open)

    The existing major finding T1 remains valid; no new correctness findings.

    Still open from earlier rounds:

    • T1 cart.py:3 Keep the loop within the list bounds

    Spec (0 new, 0 still open)

    No spec findings: no ticket or issue is linked.

    Standards (0 new, 0 still open)

    No documented repository standards files were found; no standards findings.

    Gates: not run

  8. Kunibertapprequested changes6b935606 · earlier head · 2026-11-02 07:07:35 UTC

    The PR introduces an off-by-one error that breaks both total() and average(). A read-only reproduction confirmed IndexError for ordinary inputs such as [10, 20].

    Correctness (1 new, 0 still open)

    One major finding: total() always indexes past the end of list inputs.

    Spec (0 new, 0 still open)

    No spec findings: no ticket or issue is linked.

    Standards (0 new, 0 still open)

    No documented repository standards files were found; no standards findings.

    Gates: not run

  9. Kunibertappcommentedfb8652e4 · earlier head · 2026-11-02 07:03:35 UTC

    Review remains blocked because the command runner fails with bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted. Neither diff could be read, so commit fb8652e474 remains unreviewed.

    Correctness (0 new, 0 still open)

    Not assessed; the diffs and surrounding code were inaccessible.

    Spec (0 new, 0 still open)

    No spec findings: no ticket or issue is linked.

    Standards (0 new, 0 still open)

    Not assessed; repository rules were inaccessible.

    Gates: not run

  10. Kunibertappcommented79695d20 · earlier head · 2026-11-02 07:01:52 UTC

    I could not review the PR because the tool runner failed before reading .kunibert/pr.diff. Restore tool access and rerun the review.

    Correctness (0 new, 0 still open)

    Not assessed; the diff and surrounding code were inaccessible.

    Spec (0 new, 0 still open)

    No spec findings: no ticket or issue is linked.

    Standards (0 new, 0 still open)

    Not assessed; repository rules were inaccessible.

    Gates: not run

Threads

  1. cart.py:3outdatedKunibert

    1. Kunibert2026-11-02 07:07:35 UTC

      🔶 Major · Correctness: Keep the loop within the list bounds

      range(len(prices) + 1) includes index len(prices), so total([10, 20]) and average([10, 20]) both raise IndexError instead of returning 30 and 15. Remove the +1 or iterate over prices directly.

    2. Kunibert2026-11-04 08:26:40 UTC

      Still valid: the loop reaches prices[len(prices)] and raises IndexError. Remove + 1 from the upper bound.

    3. Kunibert2026-11-05 23:09:59 UTC

      Still valid at cart.py:3: range(len(prices) + 1) reaches prices[len(prices)], causing IndexError and preventing average() from returning. Restore range(len(prices)).

    4. Kunibert2026-11-22 21:38:26 UTC

      Still valid at cart.py:3: range(len(prices) + 1) reaches prices[len(prices)], raising IndexError in both total() and average(). Restore range(len(prices)).

  2. cart.py:3outdated · resolvedKunibert

    1. Kunibert2026-11-04 07:58:14 UTC

      🔶 Major · Correctness: Restore the exclusive upper bound in total()

      range(len(prices) + 1) reaches index len(prices), which is outside the list. Consequently, both total([10, 20]) and average([10, 20]) raise IndexError instead of returning a result. Restore range(len(prices)) or iterate over the prices directly.

    2. Kunibert2026-11-04 08:26:40 UTC

      Still valid: total([10, 20]) raises IndexError. Restore range(len(prices)).

    3. Kunibert2026-11-04 08:27:11 UTC

      Duplicate of the first thread on cart.py:3, created by fresh review sessions before kunibert#17. Closed; the first thread stays open.

  3. cart.py:3outdated · resolvedKunibert

    1. Kunibert2026-11-04 08:13:46 UTC

      🔶 Major · Correctness: Restore the valid loop bound

      The extra iteration reaches i == len(prices), so prices[i] raises IndexError for every ordinary list. This breaks existing total() calls and prevents average() from returning. Restore range(len(prices)) or iterate directly over prices.

    2. Kunibert2026-11-04 08:26:41 UTC

      Still valid: average([10, 20]) also fails through total(). Restore the valid loop bound.

    3. Kunibert2026-11-04 08:27:11 UTC

      Duplicate of the first thread on cart.py:3, created by fresh review sessions before kunibert#17. Closed; the first thread stays open.

Conversation

Nobody has written here yet.

Only the owner and the members of this repository can comment here.