Completed clean root directory structure: - Root now contains only: .git, .env, docs/, orig/ - Moved all remaining files and directories to orig/: - Config files (.claude, .dockerignore, .drone.yml, etc.) - All .env variants (except active .env) - Git config (.gitconfig, .github, .gitignore, etc.) - Tool configs (.golangci.yml, .revive.toml, etc.) - Documentation (*.md files, @prompts) - Build files (Dockerfiles, Makefile, go.mod, go.sum) - Docker compose files - All source directories (scripts, tests, tools, etc.) - Runtime directories (logs, monitoring, reports) - Dependency files (node_modules, lib, cache) - Special files (--delete) - Removed empty runtime directories (bin/, data/) V2 structure is now clean: - docs/planning/ - V2 planning documents - orig/ - Complete V1 codebase preserved - .env - Active environment config (not in git) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
129 lines
3.3 KiB
JSON
129 lines
3.3 KiB
JSON
{
|
|
"timestamp": "2025-10-19T23:18:22.27323505-05:00",
|
|
"vectors_file": "default",
|
|
"tolerance_bp": 1,
|
|
"exchange_results": {
|
|
"balancer": {
|
|
"exchange_type": "balancer",
|
|
"total_tests": 2,
|
|
"passed_tests": 2,
|
|
"failed_tests": 0,
|
|
"max_error_bp": 0,
|
|
"avg_error_bp": 0,
|
|
"failed_cases": [],
|
|
"test_results": [
|
|
{
|
|
"test_name": "Weighted_80_20_Pool",
|
|
"passed": true,
|
|
"error_bp": 0,
|
|
"duration": 7985,
|
|
"description": "Price calculation test for balancer"
|
|
},
|
|
{
|
|
"test_name": "Weighted_Pool_Swap",
|
|
"passed": true,
|
|
"error_bp": 0,
|
|
"duration": 31,
|
|
"description": "Amount calculation test for balancer"
|
|
}
|
|
],
|
|
"duration": 8931
|
|
},
|
|
"curve": {
|
|
"exchange_type": "curve",
|
|
"total_tests": 2,
|
|
"passed_tests": 2,
|
|
"failed_tests": 0,
|
|
"max_error_bp": 0,
|
|
"avg_error_bp": 0,
|
|
"failed_cases": [],
|
|
"test_results": [
|
|
{
|
|
"test_name": "Stable_USDC_USDT",
|
|
"passed": true,
|
|
"error_bp": 0,
|
|
"duration": 6725,
|
|
"description": "Price calculation test for curve"
|
|
},
|
|
{
|
|
"test_name": "Stable_Swap_Low_Impact",
|
|
"passed": true,
|
|
"error_bp": 0,
|
|
"duration": 21,
|
|
"description": "Amount calculation test for curve"
|
|
}
|
|
],
|
|
"duration": 7851
|
|
},
|
|
"uniswap_v2": {
|
|
"exchange_type": "uniswap_v2",
|
|
"total_tests": 4,
|
|
"passed_tests": 4,
|
|
"failed_tests": 0,
|
|
"max_error_bp": 0,
|
|
"avg_error_bp": 0,
|
|
"failed_cases": [],
|
|
"test_results": [
|
|
{
|
|
"test_name": "ETH_USDC_Basic",
|
|
"passed": true,
|
|
"error_bp": 0,
|
|
"duration": 10469,
|
|
"description": "Price calculation test for uniswap_v2"
|
|
},
|
|
{
|
|
"test_name": "WBTC_ETH_Basic",
|
|
"passed": true,
|
|
"error_bp": 0,
|
|
"duration": 4963,
|
|
"description": "Price calculation test for uniswap_v2"
|
|
},
|
|
{
|
|
"test_name": "ETH_to_USDC_Swap",
|
|
"passed": true,
|
|
"error_bp": 0,
|
|
"duration": 73,
|
|
"description": "Amount calculation test for uniswap_v2"
|
|
},
|
|
{
|
|
"test_name": "Large_ETH_Swap_Impact",
|
|
"passed": true,
|
|
"error_bp": 0,
|
|
"duration": 67,
|
|
"description": "Price impact test for uniswap_v2"
|
|
}
|
|
],
|
|
"duration": 19068
|
|
},
|
|
"uniswap_v3": {
|
|
"exchange_type": "uniswap_v3",
|
|
"total_tests": 2,
|
|
"passed_tests": 2,
|
|
"failed_tests": 0,
|
|
"max_error_bp": 6.8468e-13,
|
|
"avg_error_bp": 3.4234e-13,
|
|
"failed_cases": [],
|
|
"test_results": [
|
|
{
|
|
"test_name": "ETH_USDC_V3_Basic",
|
|
"passed": true,
|
|
"error_bp": 6.8468e-13,
|
|
"duration": 16441,
|
|
"description": "Price calculation test for uniswap_v3"
|
|
},
|
|
{
|
|
"test_name": "V3_Concentrated_Liquidity",
|
|
"passed": true,
|
|
"error_bp": 0,
|
|
"duration": 71,
|
|
"description": "Amount calculation test for uniswap_v3"
|
|
}
|
|
],
|
|
"duration": 17977
|
|
}
|
|
},
|
|
"overall_passed": true,
|
|
"total_tests": 10,
|
|
"total_passed": 10,
|
|
"total_failed": 0
|
|
} |