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

Data agent benchmarking #40

Merged
merged 17 commits into from
Jul 15, 2024

Conversation

elmutt
Copy link
Contributor

@elmutt elmutt commented Jul 15, 2024

Measures data agent price & market cap responses versus benchmark values from Coingecko, Defillama, etc.

See config.py for prompt & coin list templates

Screen Shot 2024-07-11 at 10 37 27 AM Screen Shot 2024-07-11 at 10 39 27 AM

Running:

  1. cd submodules/benchmarks
  2. Modify config.py with new prompts, coins & error tolerances
  3. Run pip install -r requirements.txt
  4. Run python benchmarks.py price for price benchmarks
  5. Run python benchmarks.py mcap for market cap benchmarks

Considerations

  • It runs very slow because of coingecko rate limits. Disabling coingecko adapter lets us reduce the time.sleep() in benchmarks.py and a little bit faster but the data agent can still be rate limited.

  • The source of truth asset id is the coingecko id. Any new adapters will need some way of translating the coingecko id if they use something else. For example, the defillama adapter "just works" because they use coingecko ids.

@LachsBagel LachsBagel changed the base branch from main to develop July 15, 2024 16:41
@LachsBagel LachsBagel merged commit 10b121b into MorpheusAIs:develop Jul 15, 2024
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