You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SecRandom.Core/AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,7 @@ SecRandom.Core/
72
72
- Weighted drawing validates count, candidates, and weights before sampling; preserve explicit `DrawStatus` returns over
73
73
exceptions at public boundary.
74
74
- Draw fairness/repeat history for students and prizes must use `ProfileRecordIdentity`/`RecordId` first. Legacy `Id`/`Name` history fallback is only for backward compatibility and must stay ambiguity-safe.
75
+
- Verification proof inputs commit a `VerificationSamplingMode`. Student proofs use history-balanced weighted sampling; count-lottery proofs use equal-probability partial inventory permutation only while no behind-scene rule is enabled. Any internal rule moves lottery proof generation to weighted-without-replacement and must stay visible in the anonymous audit payload.
75
76
- Config handlers derive from `ConfigHandlerBase<TModel>`; config model defaults should be safe without existing data
76
77
files.
77
78
- IPC parser code is UI-free and must reject ambiguous routes, malformed percent escapes, control characters, oversized frames, and unsupported schemes. Keep route execution in the app layer.
0 commit comments