forked from aeyakovenko/percolator
-
Notifications
You must be signed in to change notification settings - Fork 3
audit: engine critical bundle (closes C-5/6/7/8/9) #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
1a949bf
Document price movement bound invariant
aeyakovenko 5940285
Rewrite README around three invariants
aeyakovenko a559c76
Support sparse keeper stress sweeps
aeyakovenko a911643
fix(audit): port resolve_market_not_atomic pre-snapshots + zero-OI K-…
dcccrypto f460a2a
fix(audit): port empty-market gate on withdraw_live_insurance_not_ato…
dcccrypto 099ad75
fix(audit): port loss-safe fee anchor + ensure_fee_draw_does_not_prec…
dcccrypto 9b51dd0
fix(audit): port account_has_unsettled_live_effects post-touch guard …
dcccrypto ba3f41a
fix(audit): port per-account side-mode gate (ENG-PORT-4, CRITICAL-8)
dcccrypto 38b551e
test(audit): update enforce_side_mode_oi_gate callsites for new 6-arg…
dcccrypto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add fence languages to satisfy markdown linting
Line 44, Line 80, and Line 116 use unlabeled fenced blocks. Add a language (e.g.,
text) to avoid MD040 lint failures in docs checks.Proposed doc-lint fix
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In
@README.mdaround lines 44 - 47, Markdown fenced code blocks are unlabeledand cause MD040 lint failures; update the three unlabeled fences containing the
formulas for ReleasedPos_i/effective_pnl_i, effective_pos(i)/pnl_delta(i), and
the price-move inequality (P_new, P_last, max_price_move_bps_per_slot) to
include a language label (e.g., add "text" after the opening
). Edit the blocks that include the symbols ReleasedPos_i, effective_pnl_i, effective_pos(i), pnl_delta(i), P_new, P_last, and max_price_move_bps_per_slot to start withtext so the linter accepts them.