Repository: open-compass/opencompass
Issue: [Bug] eval_subjective example's summary stage failed on alignbench dataset
Root cause: Validation Gap

### Prerequisite

- [x] I have searched [Issues](https://github.com/open-compass/opencompass/issues/) and [Discussions](https://github.com/open-compass/opencompass/discussions) but cannot get the expected help.
- [x] The bug has not been fixed in the [latest version](https://github.com/open-compass/opencompass).

### Type

I'm evaluating with the officially supported tasks/models/datasets.

### Environment

{'CUDA available': False,
 'GCC': 'Apple clang version 12.0.0 (clang-1200.0.32.29)',
 'MMEngine': '0.10.7',
 'MUSA available': False,
 'OpenCV': '4.11.0',
 'PyTorch': '2.2.2',
 'PyTorch compiling details': 'PyTorch built with:\n'
                              '  - GCC 4.2\n'
                              '  - C++ Version: 201703\n'
                              '  - clang 13.1.6\n'
                              '  - Intel(R) oneAPI Math Kernel Library Version '
                              '2022.2-Product Build 20220801 for Intel(R) 64 '
                              'architecture applications\n'
                              '  - Intel(R) MKL-DNN v3.3.2 (Git Hash '
                              '2dc95a2ad0841e29db8b22fbccaf3e5da7992b01)\n'
                              '  - OpenMP 201811\n'
                              '  - LAPACK is enabled (usually provided by '
                              'MKL)\n'
                              '  - NNPACK is enabled\n'
                              '  - CPU capability usage: AVX2\n'
                              '  - Build settings: BLAS_INFO=mkl, '
                              'BUILD_TYPE=Release, '
                              'CXX_COMPILER=/Applications/Xcode_13.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++, '
                              'CXX_FLAGS= -fvisibility-inlines-hidden '
                              '-DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO '
                              '-DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER '
                              '-DUSE_FBGEMM -DUSE_QNNPACK '
                              '-DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK '
                              '-DUSE_PYTORCH_METAL_EXPORT '
                              '-DSYMBOLICATE_MOBILE_DEBUG_HANDLE '
                              '-DUSE_COREML_DELEGATE -O2 -fPIC -Wall -Wextra '
                              '-Werror=return-type -Werror=non-virtual-dtor '
                              '-Werror=braced-scalar-init '
                              '-Werror=range-loop-construct '
                              '-Werror=bool-operation -Wnarrowing '
                              '-Wno-missing-field-initializers '
                              '-Wno-type-limits -Wno-array-bounds '
                              '-Wno-unknown-pragmas -Wno-unused-parameter '
                              '-Wno-unused-function -Wno-unused-result '
                              '-Wno-strict-overflow -Wno-strict-aliasing '
                              '-Wvla-extension -Wsuggest-override '
                              '-Wnewline-eof -Winconsistent-missing-override '
                              '-Winconsistent-missing-destructor-override '
                              '-Wno-pass-failed -Wno-error=pedantic '
                              '-Wno-error=old-style-cast '
                              '-Wno-error=inconsistent-missing-override '
                              '-Wno-error=inconsistent-missing-destructor-override '
                              '-Wconstant-conversion '
                              '-Wno-invalid-partial-specialization '
                              '-Wno-missing-braces -Qunused-arguments '
                              '-fcolor-diagnostics -faligned-new '
                              '-Wno-unused-but-set-variable -fno-math-errno '
                              '-fno-trapping-math -Werror=format -DUSE_MPS '
                              '-Wno-unused-private-field -Wno-missing-braces, '
                              'LAPACK_INFO=mkl, PERF_WITH_AVX=1, '
                              'PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, '
                              'TORCH_VERSION=2.2.2, USE_CUDA=OFF, '
                              'USE_CUDNN=OFF, USE_EXCEPTION_PTR=1, '
                              'USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, '
                              'USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=OFF, '
                              'USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, '
                              'USE_ROCM_KERNEL_ASSERT=OFF, \n',
 'Python': '3.10.16 (main, Dec 11 2024, 10:24:41) [Clang 14.0.6 ]',
 'lmdeploy': "not installed:No module named 'lmdeploy'",
 'numpy_random_seed': 2147483648,
 'opencompass': '0.4.2+c3779eb',
 'sys.platform': 'darwin',
 'transformers': '4.52.3'}

### Reproduces the problem - code/configuration sample

FILE: /subjective/utils.py 
METHOD: get_judgeanswer_and_reference

![Image](https://github.com/user-attachments/assets/0589e9a5-fcc9-4b5e-9434-0bbbe164c558)

在这里 result 的格式为 {
{
    "专业能力": 5.12,
    "数学计算": 3.43,
    "基本任务": 5.85,
    "逻辑推理": 3.58,
    "文本写作": 6.95,
    "中文理解": 5.57,
    "角色扮演": 6.38,
    "综合问答": 5.58,
    "中文推理总分": 3.5,
    "中文语言总分": 5.91,
    "总分": 4.7,
    "details": {}
}

需要取 details 的内容才可以正确的生成 summary 

### Reproduces the problem - command or script

run.py ./examples/eval_subjective.py --debug

### Reproduces the problem - error message

TypeError: 'float' object is not subscriptable

### Other information

_No response_

summarizer的问题参考一下这个https://github.com/open-compass/opencompass/issues/2133