agentcoinorg / AutoTx

A personal assistant for planning and executing on-chain transactions.
MIT License
107 stars 20 forks source link

Complex swap test #195

Closed nerfZael closed 7 months ago

nerfZael commented 7 months ago

/workflows/benchmarks agents/token/ 10

github-actions[bot] commented 7 months ago

Finished benchmarks

Test Run Summary

Detailed Results

Test Name Success Rate Passes Fails Avg Time
autotx/tests/agents/token/send/test_send.py::test_auto_tx_send_native_sequential 100% 10 0 23s
autotx/tests/agents/token/send/test_send.py::test_auto_tx_send_native 100% 10 0 14s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_send_and_swap_complex 80% 8 2 29s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_complex_1 100% 10 0 17s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_swap_and_send_complex 100% 10 0 1.23m
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_complex_2 100% 10 0 44s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_triple 100% 10 0 18s
autotx/tests/agents/token/research/test_research_and_swap.py::test_auto_tx_research_and_swap_meme_token 70% 7 3 48s
autotx/tests/agents/token/research/test_research.py::test_check_liquidity 90% 9 1 46s
autotx/tests/agents/token/send/test_send.py::test_auto_tx_send_erc20 100% 10 0 15s
autotx/tests/agents/token/send/test_send.py::test_auto_tx_send_erc20_parallel 100% 10 0 48s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_swap_and_send_simple 50% 5 5 1.14m
autotx/tests/agents/token/research/test_research.py::test_get_top_5_memecoins_in_optimism 100% 10 0 27s
autotx/tests/agents/token/research/test_research.py::test_price_change_information 90% 9 1 52s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_multiple 80% 8 2 38s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_with_non_default_token 100% 10 0 13s
autotx/tests/agents/token/research/test_research.py::test_get_top_5_memecoins 100% 10 0 1.10m
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_send_and_swap_simple 60% 6 4 21s
autotx/tests/agents/token/research/test_research.py::test_get_top_5_tokens_from_base 100% 10 0 41s
autotx/tests/agents/token/send/test_send.py::test_auto_tx_send_eth_multiple 100% 10 0 30s
autotx/tests/agents/token/research/test_research_and_swap.py::test_auto_tx_research_swap_and_send_governance_token 80% 8 2 39s
autotx/tests/agents/token/research/test_research.py::test_get_top_5_most_traded_tokens_from_l1 90% 9 1 43s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_native 100% 10 0 41s
autotx/tests/agents/token/research/test_research.py::test_get_token_exchanges 100% 10 0 58s

Total run time: 152.21 minutes

nerfZael commented 7 months ago

/workflows/benchmarks agents/token/test_swap.py

github-actions[bot] commented 7 months ago

Finished benchmarks

Test Run Summary

Detailed Results

Test Name Success Rate (%) Passes Fails Avg Time
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_triple ${\color{yellow} \large \texttt {100} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {5}}$ ${\color{yellow} \large \texttt {0}}$ 24s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_complex_2 ${\color{yellow} \large \texttt {100} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {5}}$ ${\color{yellow} \large \texttt {0}}$ 22s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_complex_1 ${\color{yellow} \large \texttt {100} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {5}}$ ${\color{yellow} \large \texttt {0}}$ 21s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_multiple ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {5}}$ ${\color{none} \large \texttt {0}}$ 23s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_with_non_default_token ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {5}}$ ${\color{none} \large \texttt {0}}$ 16s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_native ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {5}}$ ${\color{none} \large \texttt {0}}$ 17s

Total run time: 10.28 minutes

nerfZael commented 7 months ago

/workflows/benchmarks agents/token/test_swap_and_send.py

github-actions[bot] commented 7 months ago

Finished benchmarks

Test Run Summary

Detailed Results

Test Name Success Rate (%) Passes Fails Avg Time
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_send_and_swap_simple ${\color{yellow} \large \texttt {100} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {5}}$ ${\color{yellow} \large \texttt {0}}$ 24s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_swap_and_send_complex ${\color{lightgreen} \large \texttt {100} \normalsize \texttt {(+80)} }$ ${\color{lightgreen} \large \texttt {5}}$ ${\color{lightgreen} \large \texttt {0}}$ 28s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_send_and_swap_complex ${\color{yellow} \large \texttt {80} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {4}}$ ${\color{yellow} \large \texttt {1}}$ 34s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_swap_and_send_simple ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {5}}$ ${\color{none} \large \texttt {0}}$ 22s

Total run time: 9.02 minutes

nerfZael commented 7 months ago

/workflows/benchmarks agents/token 6

github-actions[bot] commented 7 months ago

Finished benchmarks

Test Run Summary

Detailed Results

Test Name Success Rate (%) Passes Fails Avg Time
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_complex_1 ${\color{yellow} \large \texttt {100} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {6}}$ ${\color{yellow} \large \texttt {0}}$ 24s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_triple ${\color{yellow} \large \texttt {100} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {6}}$ ${\color{yellow} \large \texttt {0}}$ 23s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_swap_and_send_simple ${\color{red} \large \texttt {83} \normalsize \texttt {(-17)} }$ ${\color{red} \large \texttt {5}}$ ${\color{red} \large \texttt {1}}$ 24s
autotx/tests/agents/token/research/test_research.py::test_get_top_5_memecoins_in_optimism ${\color{red} \large \texttt {67} \normalsize \texttt {(-33)} }$ ${\color{red} \large \texttt {4}}$ ${\color{red} \large \texttt {2}}$ 30s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_multiple ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {6}}$ ${\color{none} \large \texttt {0}}$ 19s
autotx/tests/agents/token/research/test_research_and_swap.py::test_auto_tx_research_and_swap_meme_token ${\color{lightgreen} \large \texttt {83} \normalsize \texttt {(+33)} }$ ${\color{lightgreen} \large \texttt {5}}$ ${\color{lightgreen} \large \texttt {1}}$ 25s
autotx/tests/agents/token/research/test_research.py::test_get_top_5_memecoins ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {6}}$ ${\color{none} \large \texttt {0}}$ 33s
autotx/tests/agents/token/send/test_send.py::test_auto_tx_send_erc20_parallel ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {6}}$ ${\color{none} \large \texttt {0}}$ 23s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_swap_and_send_complex ${\color{lightgreen} \large \texttt {100} \normalsize \texttt {(+80)} }$ ${\color{lightgreen} \large \texttt {6}}$ ${\color{lightgreen} \large \texttt {0}}$ 27s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_send_and_swap_complex ${\color{yellow} \large \texttt {67} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {4}}$ ${\color{yellow} \large \texttt {2}}$ 34s
autotx/tests/agents/token/send/test_send.py::test_auto_tx_send_native_sequential ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {6}}$ ${\color{none} \large \texttt {0}}$ 27s
autotx/tests/agents/token/research/test_research.py::test_get_top_5_most_traded_tokens_from_l1 ${\color{lightgreen} \large \texttt {100} \normalsize \texttt {(+40)} }$ ${\color{lightgreen} \large \texttt {6}}$ ${\color{lightgreen} \large \texttt {0}}$ 35s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_with_non_default_token ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {6}}$ ${\color{none} \large \texttt {0}}$ 15s
autotx/tests/agents/token/research/test_research_and_swap.py::test_auto_tx_research_swap_and_send_governance_token ${\color{red} \large \texttt {50} \normalsize \texttt {(-20)} }$ ${\color{red} \large \texttt {3}}$ ${\color{red} \large \texttt {3}}$ 41s
autotx/tests/agents/token/research/test_research.py::test_check_liquidity ${\color{red} \large \texttt {50} \normalsize \texttt {(-30)} }$ ${\color{red} \large \texttt {3}}$ ${\color{red} \large \texttt {3}}$ 19s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_native ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {6}}$ ${\color{none} \large \texttt {0}}$ 16s
autotx/tests/agents/token/research/test_research.py::test_get_token_exchanges ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {6}}$ ${\color{none} \large \texttt {0}}$ 20s
autotx/tests/agents/token/research/test_research.py::test_price_change_information ${\color{lightgreen} \large \texttt {100} \normalsize \texttt {(+20)} }$ ${\color{lightgreen} \large \texttt {6}}$ ${\color{lightgreen} \large \texttt {0}}$ 15s
autotx/tests/agents/token/send/test_send.py::test_auto_tx_send_eth_multiple ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {6}}$ ${\color{none} \large \texttt {0}}$ 33s
autotx/tests/agents/token/send/test_send.py::test_auto_tx_send_native ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {6}}$ ${\color{none} \large \texttt {0}}$ 17s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_complex_2 ${\color{yellow} \large \texttt {100} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {6}}$ ${\color{yellow} \large \texttt {0}}$ 21s
autotx/tests/agents/token/send/test_send.py::test_auto_tx_send_erc20 ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {6}}$ ${\color{none} \large \texttt {0}}$ 17s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_send_and_swap_simple ${\color{yellow} \large \texttt {100} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {6}}$ ${\color{yellow} \large \texttt {0}}$ 21s
autotx/tests/agents/token/research/test_research.py::test_get_top_5_tokens_from_base ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {6}}$ ${\color{none} \large \texttt {0}}$ 35s

Total run time: 59.52 minutes

nerfZael commented 7 months ago

/workflows/benchmarks agents/token/research/test_research.py 10

github-actions[bot] commented 7 months ago

Finished benchmarks

Test Run Summary

Detailed Results

Test Name Success Rate (%) Passes Fails Avg Time
autotx/tests/agents/token/research/test_research.py::test_get_top_5_memecoins_in_optimism ${\color{red} \large \texttt {90} \normalsize \texttt {(-10)} }$ ${\color{red} \large \texttt {9}}$ ${\color{red} \large \texttt {1}}$ 33s
autotx/tests/agents/token/research/test_research.py::test_get_token_exchanges ${\color{red} \large \texttt {90} \normalsize \texttt {(-10)} }$ ${\color{red} \large \texttt {9}}$ ${\color{red} \large \texttt {1}}$ 17s
autotx/tests/agents/token/research/test_research.py::test_get_top_5_memecoins ${\color{red} \large \texttt {90} \normalsize \texttt {(-10)} }$ ${\color{red} \large \texttt {9}}$ ${\color{red} \large \texttt {1}}$ 32s
autotx/tests/agents/token/research/test_research.py::test_get_top_5_tokens_from_base ${\color{red} \large \texttt {90} \normalsize \texttt {(-10)} }$ ${\color{red} \large \texttt {9}}$ ${\color{red} \large \texttt {1}}$ 28s
autotx/tests/agents/token/research/test_research.py::test_check_liquidity ${\color{lightgreen} \large \texttt {90} \normalsize \texttt {(+10)} }$ ${\color{lightgreen} \large \texttt {9}}$ ${\color{lightgreen} \large \texttt {1}}$ 20s
autotx/tests/agents/token/research/test_research.py::test_price_change_information ${\color{lightgreen} \large \texttt {100} \normalsize \texttt {(+20)} }$ ${\color{lightgreen} \large \texttt {10}}$ ${\color{lightgreen} \large \texttt {0}}$ 14s
autotx/tests/agents/token/research/test_research.py::test_get_top_5_most_traded_tokens_from_l1 ${\color{lightgreen} \large \texttt {80} \normalsize \texttt {(+20)} }$ ${\color{lightgreen} \large \texttt {8}}$ ${\color{lightgreen} \large \texttt {2}}$ 28s

Total run time: 28.68 minutes

nerfZael commented 7 months ago

/workflows/benchmarks agents/token/test_swap.py,agents/token/test_swap_and_send.py 10

github-actions[bot] commented 7 months ago

Finished benchmarks

Test Run Summary

Detailed Results

Test Name Success Rate (%) Passes Fails Avg Time
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_complex_1 ${\color{yellow} \large \texttt {100} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {10}}$ ${\color{yellow} \large \texttt {0}}$ 23s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_with_non_default_token ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {10}}$ ${\color{none} \large \texttt {0}}$ 16s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_multiple ${\color{red} \large \texttt {90} \normalsize \texttt {(-10)} }$ ${\color{red} \large \texttt {9}}$ ${\color{red} \large \texttt {1}}$ 22s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_complex_2 ${\color{yellow} \large \texttt {100} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {10}}$ ${\color{yellow} \large \texttt {0}}$ 22s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_triple ${\color{yellow} \large \texttt {100} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {10}}$ ${\color{yellow} \large \texttt {0}}$ 25s
autotx/tests/agents/token/test_swap.py::test_auto_tx_swap_native ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {10}}$ ${\color{none} \large \texttt {0}}$ 15s

Total run time: 20.57 minutes

nerfZael commented 7 months ago

/workflows/benchmarks agents/token/test_swap_and_send.py 10

github-actions[bot] commented 7 months ago

Finished benchmarks

Test Run Summary

Detailed Results

Test Name Success Rate (%) Passes Fails Avg Time
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_swap_and_send_simple ${\color{none} \large \texttt {100} \normalsize \texttt {} }$ ${\color{none} \large \texttt {10}}$ ${\color{none} \large \texttt {0}}$ 18s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_swap_and_send_complex ${\color{lightgreen} \large \texttt {100} \normalsize \texttt {(+80)} }$ ${\color{lightgreen} \large \texttt {10}}$ ${\color{lightgreen} \large \texttt {0}}$ 22s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_send_and_swap_simple ${\color{yellow} \large \texttt {90} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {9}}$ ${\color{yellow} \large \texttt {1}}$ 19s
autotx/tests/agents/token/test_swap_and_send.py::test_auto_tx_send_and_swap_complex ${\color{yellow} \large \texttt {80} \normalsize \texttt {} }$ ${\color{yellow} \large \texttt {8}}$ ${\color{yellow} \large \texttt {2}}$ 28s

Total run time: 14.46 minutes