New paste Repaste Download
self = <tests.test_verdict_linked_rebalance.TestLinkedRebalanceEdgeCases object at 0x1231ba960>
    def test_no_adds_no_bonus(self):
        """Account with only TRIM — no bonus distributed."""
        verdicts = [
            _make_verdict("AAPL", "yuchao", "trim", confidence=0.90),
        ]
        positions = [
            _make_position("AAPL", "yuchao", qty=100, current_price=200.0),
        ]
        result, _, _, _ = _run_dispatch(verdicts, positions)
>       assert len(result) == 1
E       assert 0 == 1
E        +  where 0 = len([])
tests/test_verdict_linked_rebalance.py:233: AssertionError
Filename: None. Size: 610b. View raw, , hex, or download this file.

This paste expires on 2026-07-15 00:25:39.859935+00:00. Pasted through deprecated-web.