Skip to content
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

Changes for path independence check #1242

Merged
merged 6 commits into from
Jan 10, 2024
Merged

Conversation

slundqui
Copy link
Contributor

  1. Adding assertions that closing trades in path independence happen on the same checkpoint
  2. Adding block timestamp interval to interactive hyperdrive that forces the time between mined blocks (previously using system time). Setting this to be the default, with 12 seconds per mined block.
  3. Adding option to set variable interest in setup_fuzz, and setting it to 0 for path independence test.

Copy link

codecov bot commented Jan 10, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (ea12400) 80.45% compared to head (d12abd6) 80.47%.

Files Patch % Lines
lib/agent0/agent0/hyperdrive/interactive/chain.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1242      +/-   ##
==========================================
+ Coverage   80.45%   80.47%   +0.01%     
==========================================
  Files          94       94              
  Lines        5342     5346       +4     
==========================================
+ Hits         4298     4302       +4     
  Misses       1044     1044              
Flag Coverage Δ
unittests 80.47% <85.71%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@slundqui slundqui merged commit fc11765 into delvtech:main Jan 10, 2024
4 checks passed
@slundqui slundqui deleted the path_ind_test branch January 10, 2024 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants