Given outcome-aligned credits q of shape (K,), compute the bounded per-turn multipliers used by AgentOPSD:
μqzk=mean(q),=σq+ε0qk−μq,σqwk=std(q) (population, ddof=0),=clip(1+bzk,1−b,1+b).
Implement bounded_reshape_weights(q, b=0.2, eps=1e-4) returning a NumPy array w of shape (K,).
Defaults match the paper: b=0.2 so wk∈[0.8,1.2]. If K=1 or all credits are equal, σq=0 and zk=0, hence wk=1.