Commit ec34beb
Address PR #351 R11 P3: document return_convergence tuple return
R11 CI review flagged that compute_time_weights and compute_sdid_unit
_weights describe the new return_convergence parameter but their
Returns sections still advertise only np.ndarray, not the tuple return.
Update both docstrings to mirror _sc_weight_fw's union-return shape:
Returns now read "np.ndarray or Tuple[np.ndarray, bool]" with an
explicit description of the two-pass AND convergence flag (True iff
both pre-sparsify and main FW passes hit the min-decrease break; False
if either hit max_iter). Also promote the return_convergence kwarg
description from the implementation-detail placement to the main
Parameters block with the same contract note as _sc_weight_fw so
standalone callers see the legacy-ABI preservation guarantee and the
Rust top-level fast-path skip.
Docs-only change; no code or test changes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5eadcb6 commit ec34beb
1 file changed
Lines changed: 28 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1503 | 1503 | | |
1504 | 1504 | | |
1505 | 1505 | | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
1506 | 1516 | | |
1507 | 1517 | | |
1508 | 1518 | | |
1509 | | - | |
1510 | | - | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
1511 | 1523 | | |
1512 | 1524 | | |
1513 | 1525 | | |
| |||
1636 | 1648 | | |
1637 | 1649 | | |
1638 | 1650 | | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
1639 | 1661 | | |
1640 | 1662 | | |
1641 | 1663 | | |
1642 | | - | |
1643 | | - | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
1644 | 1668 | | |
1645 | 1669 | | |
1646 | 1670 | | |
| |||
0 commit comments