Skip to content

A14-31: WideSample.R: FarFirst() called with inconsistent argument order at two call sites #116

Description

@ms609

R/WideSample.R:350 calls FarFirst(colFn, k = 1L, N = ...); :259 calls FarFirst(n, colFn, N = ...). Only one of the two call sites would survive a positional-argument signature change to FarFirst without silently passing the wrong value to the wrong parameter.

Verified REAL (haiku verifier, code-read).

Fix: use consistent (ideally all-named) argument passing at both call sites.

Filed by /red-team area 14 (opus finder, 2026-08-05).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:14Red-team focus area 14in-progressBeing fixed; claiming comment names the branchred-teamFiled by the /red-team rotationsev:lowP3: robustness / polish

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions