tahamajs's picture
download
raw
2.27 kB
#!/bin/bash
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
CYAN='\033[0;36m'
NC='\033[0m'
print_color() {
local color=$1
local message=$2
echo -e "${color}${message}${NC}"
}
print_header() {
echo
print_color $CYAN "๐Ÿง  Memory Systems Test Runner"
print_color $CYAN "=============================="
echo
}
check_python() {
print_color $YELLOW "๐Ÿ” Checking Python installation..."
if ! command -v python3 &> /dev/null; then
print_color $RED "โŒ Python 3 is not installed or not in PATH"
exit 1
fi
PYTHON_VERSION=$(python3 -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
print_color $GREEN "โœ… Python $PYTHON_VERSION found"
}
run_tests() {
print_color $YELLOW "๐Ÿš€ Running memory systems tests..."
echo
if [ -f "memory_systems_simple.py" ]; then
python3 memory_systems_simple.py
else
print_color $RED "โŒ memory_systems_simple.py not found"
exit 1
fi
}
show_results() {
echo
print_color $GREEN "๐ŸŽ‰ Test completed successfully!"
print_color $BLUE "๐Ÿ“ All files are ready for use:"
echo
print_color $YELLOW "๐Ÿ“„ Available files:"
echo " - memory_systems.py # Full implementation with dependencies"
echo " - memory_systems_simple.py # Simplified version (tested)"
echo " - benchmark.py # Benchmarking framework"
echo " - visualization.py # Visualization tools"
echo " - config.py # Configuration management"
echo " - main.py # Main pipeline runner"
echo " - run_pipeline.sh # Full pipeline script"
echo " - requirements.txt # Python dependencies"
echo " - README.md # Documentation"
echo
print_color $BLUE "๐Ÿ’ก Next steps:"
echo " 1. Install dependencies: pip install -r requirements.txt"
echo " 2. Run full pipeline: python3 main.py --full-pipeline"
echo " 3. Or use shell script: ./run_pipeline.sh --full-pipeline"
echo " 4. Check README.md for detailed usage instructions"
}
main() {
print_header
check_python
run_tests
show_results
}
main "$@"

Xet Storage Details

Size:
2.27 kB
ยท
Xet hash:
d89f0f2e0dcf1dc98b1d17872d42c5d9765a3544d7ce6781cdfc9809a853fa45

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.