#!/bin/bash
# ==============================================================================
# MathVista Evaluation Script (lmms-eval)
# Task: mathvista_testmini
# Type: Math reasoning with visual context
# Judge: NOT Required (rule-based answer extraction)
# ==============================================================================

set -eo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

echo "=============================================="
echo "MathVista Evaluation (lmms-eval)"
echo "=============================================="
echo "Task: mathvista_testmini"
echo "Evaluation: Accuracy on math reasoning"
echo "Judge: NOT Required (rule-based)"
echo "=============================================="

# Delegate to the universal eval script
exec "${SCRIPT_DIR}/eval_lmms.sh" mathvista

