{% extends "manage_base.html" %} {% block manage_content %}

AI 评测记录

集中查看课程小结和比赛总结的 AI 评测状态。同步只读取现有任务;重新评测会创建新的模型调用。

{% if not evaluationEnabled %}
AI 评测服务尚未启用,当前只能查看已保存的记录,无法同步或重新评测。
{% endif %} {% if messages and messages.length %} {% for message in messages %} {% set messageText = message.text or message.message or message %} {% if message.type == 'error' %}
{{ messageText|escape }}
{% else %}
{{ messageText|escape }}
{% endif %} {% endfor %} {% endif %}
记录总数
{{ stats.total }}
未创建
{{ stats.uncreated }}
等待评测
{{ stats.pending }}
正在评测
{{ stats.running }}
评测成功
{{ stats.succeeded }}
评测失败
{{ stats.failed }}
提交评测失败
{{ stats.failedToSubmit }}
未知状态
{{ stats.unknown }}
疑似卡住
{{ stats.stuck }}
重置
0/20 条已选择

批量同步每次最多处理 20 条;同步不会创建新的模型调用。

{% if rows.length %} {% for row in rows %} {% endfor %} {% else %} {% endif %}
选择 来源 域与内容 用户 状态 分数 评测标识 更新时间与错误 操作
{{ row.sourceText }}
{{ row.source }}
{% if row.detailUrl %} {{ row.targetTitle }} {% else %}
{{ row.targetTitle }}
{% endif %}
{{ row.domainName }}({{ row.domainId }})
{% if row.problemId %}
任务:{{ row.problemId }}
{% endif %}
{{ row.userName }}
UID {{ row.uid }}
{{ row.statusText }} {% if row.stuck %}
疑似卡住
{% endif %}
{% if row.score != null %}{{ row.score }}{% else %}—{% endif %} {% if row.evaluationId %}
{{ row.evaluationId }}
{% else %} 尚未创建 {% endif %}
{% if row.evaluationUpdatedAt %}
{{ datetimeSpan(row.evaluationUpdatedAt, false, 'YYYY-MM-DD HH:mm:ss')|safe }}
{% else %} — {% endif %} {% if row.errorText %}
{{ row.errorText|escape }}
{% endif %}
{% if row.detailUrl %}查看{% endif %} {% if evaluationEnabled and row.canSync %}
{% endif %} {% if evaluationEnabled and row.canRetry %}
{% endif %} {% if not row.detailUrl and (not evaluationEnabled or (not row.canSync and not row.canRetry)) %}—{% endif %}
当前筛选条件下没有 AI 评测记录。
{% if pcount > 1 %} {% set glue = '&' if queryBase else '' %}
{% if page > 1 %}上一页{% endif %} 第 {{ page }} / {{ pcount }} 页 {% if page < pcount %}下一页{% endif %}
{% endif %}
{% endblock %}