Releases: Muyu-Chen/Auto-Essay-Grader
version 2.3 at 09/01/2025 [IMPORTANT UPDATE]
更新日志:开源与闭源版同时更新
使用作者的服务 (Using the Author's Service)
你可以下载release版本的Commercial-AutoEssayGrader.zip,解压后直接运行GUIClient.exe,即可使用作者搭建的服务进行操作。
请注意,你需要注册用户并在 充值界面 使用作者提供的卡密充值。
若需卡密,请联系邮箱 Muyu.Chen@outlook.com。
You can download the release version, extract it, and run GUIClient.exe to directly use the service set up by the author.
Please note that you need to register as a user and top up (by the key provided by the author) at http://47.109.109.48/frontend_charge/.
If you need the key, please contact via email Muyu.Chen@outlook.com.
自行配置服务 (Self-configure the Service)
若需要自行配置服务器,首先将server文件夹复制到你的服务器目录下,并修改config.json中的api-key值。
请确保服务器端的端口防火墙已开启并设置双向通信,允许客户端与服务器进行连接。
用户端可以删除server文件夹,并修改根目录下的config.json,将"serverAddress": " "中添加你自己的服务器IP地址。
详情请参考readme。
If you prefer to configure your own server, first copy the server folder to your server directory, and modify the api-key value in config.json.
Ensure that the firewall for the server’s ports is open and both directions are configured for communication, allowing the client and server to connect.
You can delete the server folder and modify the config.json file in the root directory, adding your own server's IP address to"serverAddress": " ".
See detail in the readme.
闭源版:共更新一个大版本,三个小版本
版本号:v2.3
发布时间:2025-01-09
- 功能新增:
- 更新邀请链接功能,支持生成和分享用户专属邀请链接。
- 修改配置文件路径,提升灵活性和便捷性。
- 增加主程序打印版本信息功能。
- 中文版使用说明更新,提升文档可读性和指导性。
- 功能支持:
- 网站支持基本商业化运营,已上线功能包括:
- 注册
- 登录
- 充值
- 查看个人信息
- 网站支持基本商业化运营,已上线功能包括:
版本号:v2.2
发布时间:2025-01-08
- 功能增强:
- 新增中间结果输出文件功能,便于结果追踪和问题排查。
- 改进错误处理机制,提高系统的健壮性。
- 优化作文评分逻辑,提升四轮对话的评分准确性与合理性。
- 增加多线程处理功能,大幅提升系统性能与用户体验。
- 日志优化:
- 增加日志输出文件,记录更详细的操作信息。
- 优化日志记录格式并修复日志记录中的 Bug。
- 依赖更新:
- 升级相关依赖库以支持最新特性。
版本号:v2.1
发布时间:2025-01-05
- Bug 修复:
- 修复用户数据文件路径获取逻辑,提升跨平台兼容性(支持 Linux 和 Windows)。
- 修复配置文件中服务器地址的顺序问题,解决潜在兼容问题。
- 用户体验优化:
- 更新用户界面,添加个人信息加载提示。
- 在登录时增加空值检查,避免因未输入账号密码导致的登录问题。
- 优化评分输出格式,提升说明的清晰度和可读性。
- 新增功能:
- 增加生成密码的程序,支持一键生成新密码的哈希值。
- 其他:
- 修改模型选择功能,更新相关函数名称。
版本号:v2.0
发布时间:2025-01-04
- 代码优化:
- 优化文件路径获取逻辑,改用
from os import path
提高代码可读性和跨平台兼容性。 - 配置文件路径调整为相对路径,简化部署流程。
- 优化文件路径获取逻辑,改用
- 评分系统改进:
- 优化评分结果输出,调整评分标准和格式,新增总结字段。
- 改进评分请求流程,分为两步请求,增强用户界面信息展示。
- 前端优化:
- 添加主页面 HTML 和 JavaScript 文件,优化脚本路径。
- 调整主页面和导航栏样式,改善布局和交互体验。
- 支持双语显示功能(中英文)。
- 添加充值功能页面,完善余额充值逻辑。
- 新增注销功能和关于页面。
- 用户数据扩展:
- 用户数据新增邮箱和个人简介字段。
- 优化用户余额获取逻辑和充值接口。
- 将用户手机号字段改为用户账号字段,统一逻辑。
- 添加日志记录和用户身份验证功能。
- 新增功能:
- 支持充值操作,优化充值页面的相关交互。
- 增加主页面按钮选择功能,提升交互体验。
- 添加调试模式支持,方便开发者定位问题。
开源版更新:无细分版本
新增功能
增加了“被推荐人”功能:
在注册时支持通过推荐码关联推荐人。
忘记密码功能改进:
支持生成新的随机密码并以哈希形式输出。
字段调整
用户数据存储更新。
将 Phone 字段改为 Account 字段。
相关逻辑已全面调整以支持新的字段。
用户数据操作新增:
在 userData 和 modifyUser 中增加了 Phone 和 Account 字段支持。
新增功能
- 增加了“被推荐人”功能:
- 在注册时支持通过推荐码关联推荐人。
- 忘记密码功能改进:
- 支持生成新的随机密码并以哈希形式输出。
字段调整
- 用户数据模型更新:
- 将
Phone
字段改为Account
字段。 - 相关逻辑已全面调整以支持新的字段。
- 将
- 用户数据操作新增:
- 在
userData
和modifyUser
中增加了Phone
和Account
字段支持。
- 在
代码重构
- 文件路径处理:
- 使用
path
模块替代os
模块,提升代码可读性和可维护性。
- 使用
- 配置文件管理:
- 调整了配置文件的存储目录,便于管理。
前端优化
- 支持配置化的服务器 URL:
- 前端脚本更新,改用可配置的服务器地址。
- 初始化配置文案更新:
- 初始化配置中的提示文案改为中文。
文档更新
- 更新了 README.md:
- 修正了服务器维护的相关说明。
- 更新了依赖版本。
- 修改评分规则文件中的注释要求和评分标准描述。
其他改进
- 优化评分标准的描述,使其更加清晰。
version 1.5 at 24/12/2024 [IMPORTANT UPDATE]
Release Notes - Version 1.5 (Dec 23, 2024)
本版本为重大更新 Major Updates
使用作者的服务 (Using the Author's Service)
你可以下载release版本,解压后直接运行GUIClient.exe
,即可使用作者搭建的服务进行操作。
请注意,你需要注册用户并在 充值界面 使用作者提供的卡密充值。
若需卡密,请联系邮箱 Muyu.Chen@outlook.com
。
You can download the release version, extract it, and run GUIClient.exe
to directly use the service set up by the author.
Please note that you need to register as a user and top up (by the key provided by the author) at http://47.109.109.48/frontend_charge/.
If you need the key, please contact via email Muyu.Chen@outlook.com
.
自行配置服务 (Self-configure the Service)
若需要自行配置服务器,首先将server
文件夹复制到你的服务器目录下,并修改config.json
中的api-key
值。
请确保服务器端的端口防火墙已开启并设置双向通信,允许客户端与服务器进行连接。
用户端可以删除server
文件夹,并修改根目录下的config.json
,将"serverAddress": "your server's ip address"
中的your server's ip address
改为你自己的服务器IP地址。
详情请参考readme。
If you prefer to configure your own server, first copy the server
folder to your server directory, and modify the api-key
value in config.json
.
Ensure that the firewall for the server’s ports is open and both directions are configured for communication, allowing the client and server to connect.
You can delete the server
folder and modify the config.json
file in the root directory, changing "serverAddress": "your server's ip address"
to your own server's IP address.
See detail in the readme.
注意:本开源软件禁止用于商业盈利。为了避免影响正常使用,部分与商业用途相关的功能在release版本中做了修改。
Note: This open-source software is prohibited from commercial profit use. In order to avoid affecting normal use, some features related to commercial use have been modified in the release version.
New Features
用户管理
- 添加了用户注册和登录功能。
- 实现了用户信息修改和更新功能。
- 为用户创建添加了密码哈希和盐值保护,提高安全性。
- 增加了自动保存密码功能,提升用户体验。
余额和充值
- 引入了余额显示和充值页面。
- 增加了从后台获取和更新用户余额的功能。
- 实现了充值操作和余额查询功能。
- 添加了PIN生成和卡PIN存储功能,并加入了编码/解码逻辑。
令牌和会话管理
- 实现了临时令牌生成和过期逻辑。
- 更新了登录功能,返回令牌和过期信息。
多语言支持
- 增加了语言选择功能,支持包括中文在内的多种语言提示。
错误修复
- 修复了多个与用户数据处理相关的 bug,确保了
userData.json
文件的一致读写。 - 解决了余额计算和用户信息检索的问题。
- 修复了应用程序中的拼写错误和其他小问题。
解决了余额计算和用户信息检索的问题。
- 修复了应用程序中的拼写错误和其他小问题。
安全更新
- 通过添加密码哈希和PIN验证增强了安全性。
- 更新了
gitignore
,以排除敏感文件。
配置更新
- 更新了
.gitignore
,改善了项目结构。 - 精化了后台配置,提升了功能和性能。
其他更新
- 改进了用户界面,包括注册窗口和其他用户管理界面的改进。
- 更新了更新日志和文档,以提高清晰度。
User Management
- Added user registration and login functionalities.
- Implemented user information modification and update features.
- Added password hashing with salt for secure user creation.
- Added auto-save password feature to improve user experience.
Balance and Recharge
- Introduced balance display and recharge page.
- Added functionality to fetch and update user balances from the backend.
- Implemented recharge operations and balance retrieval.
- Added PIN generation and card PIN storage functionality with encoding/decoding logic.
Token and Session Management
- Implemented temporary token generation and expiration logic.
- Updated login functionality to return token and expiry information.
Multilingual Support
- Added language selection feature with prompts in multiple languages, including Chinese.
Bug Fixes
- Fixed multiple bugs related to user data handling, ensuring consistent reading and writing to
userData.json
. - Resolved issues with balance calculations and user information retrieval.
- Fixed typos and minor issues throughout the application.
Security Updates
- Enhanced security by adding password hashing and PIN verification.
- Updated
gitignore
to exclude sensitive files.
Configuration Updates
- Updated
.gitignore
to improve project structure. - Refined backend configurations to enhance functionality and performance.
Miscellaneous Updates
- Improved the user interface, including the registration window and other user management interface improvements.
- Updated the changelog and documentation for better clarity.
version 1.2 at 11/11/2024 [IMPORTANT UPDATE]
重大版本更新,一键启动包成功发布!!
注意事项
一定要把所有文件全部解压缩后运行!!!!
使用方法
第一次运行
第一次运行的时候请按顺序执行步骤1、2、3,从第二次开始就只需要执行步骤2和3即可。
- 先点开
initialize_config.exe
,按照提示输入你的API-key,如果后续的文字你也不懂的话,直接按回车即可。 - 点开
server
,同意程序连接网络(Windows的弹窗),等待其出现Running on http://127.0.0.1:5000
(如readme中的图2)后即可。 - 点开
GUIClient.exe
即可开始运行。
文件说明
- 文件
criteria.txt
是评分标准,可以在程序中更改。 - 文件
rulePlaySettings.txt
是让AI角色扮演为老师,可以根据需要改动,例如可以把“50字中文评语”改成“100字英语评语”。
Notes
Make sure to extract all files before running!!!
First Run
For the first run, please follow steps 1 and 2 below. From the second run onwards, only step 3 is required.
- Open
initialize_config.exe
and enter your API-key as prompted. If you don't understand any subsequent messages, just press Enter. - Open
server
, agree to the network connection request (Windows pop-up), and wait until it displaysRunning on http://127.0.0.1:5000
. - Open
GUIClient.exe
to start the application.
File Information
- The
criteria.txt
file contains the scoring criteria, which can be modified within the program. - The
rulePlaySettings.txt
file is used to set the AI role-playing as a teacher. You can modify it according to your needs, such as changing “50-character Chinese comments” to “100-character English comments.”
更新日志 | Update
Nov. 11, 2024
- release版本打包为一键启动包,无需任何繁琐步骤!
- 配置文件解耦,单独存于json文件中,脱离主程序;
- prompt解耦,单独存于txt文件中,使得程序的应用更广,可以通过更改
criteria.txt
,rulePlaySettings.txt
来更改默认配置(不建议修改rulePlaySettings); - 增加初始化程序,让用户一键运行;
- 拥有初始化应用程序,引导用户更改api-key等设置;
- 每30s自动保存文本框中的内容,保存于
criteria.txt
中; - 初步将文本内容解耦,已建立文件,但目前还没有全部开发完成。
English Version
- Release Version Comes to One-Click Package!!! No more steps you need to do!!!
- Configuration files decoupled and stored in JSON files, separated from the main program.
- Prompts decoupled and stored in TXT files to make the program more versatile. Changes to
criteria.txt
andrulePlaySettings.txt
can adjust default settings. Not recommended to changerulePlaySettings
. - Added an initialization program for one-click operation.
- Has an initialization app that guides users to change settings like API keys.
- Automatically saves text box content every 30 seconds into
criteria.txt
. - Text content decoupling started; files created but not fully developed yet.
version 1.0 at 10/17/2024
this program is build based on the code which is published. the backend url is http://localhost:5000/chat