Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

AI feedback bugs found while testing PR #369

未关闭
#386 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript, python
领域
ai, backend, frontend

调研方向

Start with code_editor.py, AIChatPanel.js, and pages/codeEditor/index.js, the files named in the report; reproduce each behavior while testing AI feedback and assignment resubmission. Check how feedback is disabled, filenames persist across reloads, and feedback handles earlier insights and hints. Done means all three reported behaviors are corrected, including avoiding a silent zero score after resubmission.

由索引模型根据 Issue 内容生成。

描述

Found while testing PR #369. None of these are caused by that PR.

  1. AI chat shows "Limit reached" when AI feedback is disabled. code_editor.py returns remaining=0 when feedback is off, and AIChatPanel.js shows it as a usage limit. It should say AI feedback is disabled for the assignment.
  2. Editor filename resets on reload. pages/codeEditor/index.js resets the filename to <assignment>.py on reload. If the autograder expects another name, a resubmit silently scores 0.
  3. Feedback repeats earlier insights. On a resubmit, feedback repeated previous insights verbatim ("handles basic arithmetic correctly") even for a submission that scored 0/20. The first submission also named the fix outright despite the Hint-based style.
主要语言
Python
星标
13
派生
0
平均合并
2 小时 4 分钟
30 天内合并 PR
1

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

kiat/codeAssist 的其他 Issue

查看 kiat/codeAssist 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。