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

Write a test script that checks status of each agent #139

Closed
trentmc opened this issue Sep 5, 2023 · 1 comment
Closed

Write a test script that checks status of each agent #139

trentmc opened this issue Sep 5, 2023 · 1 comment
Assignees
Labels
Type: Enhancement New feature or request

Comments

@trentmc
Copy link
Member

trentmc commented Sep 5, 2023

From Alex in slack:

I'm using this query for general overview on subgraph:

query{
  predictContracts{
    id
    token{
...

Based on this, we can write a test script that:

  • check if we have all predictoor contracts
  • checks if predictoor 1 & 2 have predictions on at least 90% of the last 24 slots (two hours) for all pairs
  • checks if predictoor 1 & 2 have less then 5 unclaimed revenue
  • checks that we have at least 98% truevals submitted on last 24 slots
  • checks that df-buyer has at least 10 buys (TBD) in the last two hours
  • each pdr-trader has at least one valid subscription
  • pdr-websocket has a valid subscription for only one pair
@trizin
Copy link
Contributor

trizin commented Sep 8, 2023

Suggestion: check OCEAN and Rose balances of test accounts

@trizin trizin closed this as completed Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants