Files
cuishou-rag-v2/frontend/eslint.config.js
T
hughhuang(黄健铭)andClaude Sonnet 4.5 d0ccccc47b feat: 添加 RAG 评估结果展示系统(Web Dashboard)
实现功能完整的 Web 展示系统,支持实时数据读取和版本对比分析。

主要功能:
- 全局概览:8个系统排名、得分卡片、排名图表
- 系统对比:多系统对比、雷达图可视化
- 版本对比:ZHT vs ZHTv2 专项对比(+43.69%整体提升)
- 问题横评:单个问题的多系统得分对比

技术栈:
- 后端:Python + FastAPI + Uvicorn
- 前端:React 18 + TypeScript + Vite + Ant Design + ECharts

核心特性:
- 实时数据读取(无缓存,更新后刷新即可)
- 完整的类型安全(Pydantic + TypeScript)
- 丰富的可视化(ECharts 雷达图、柱状图)
- 自动生成 API 文档(Swagger UI)

版本对比亮点:
- 整体提升:+43.69%
- Context Recall:+86.1% 提升
- 识别改进/退化问题
- 雷达图对比

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-08 14:22:36 +08:00

24 lines
616 B
JavaScript

import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
import { defineConfig, globalIgnores } from 'eslint/config'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
reactHooks.configs.flat.recommended,
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
},
])