GithubHelp home page GithubHelp logo

lining-nwpu / sql_memoji Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stevexyh/sql_memoji

1.0 0.0 0.0 40.63 MB

Grad Project, OJ of SQL

License: Apache License 2.0

JavaScript 96.83% Python 0.44% CSS 2.22% HTML 0.51% Makefile 0.01% TeX 0.01% Handlebars 0.01% Shell 0.01%

sql_memoji's Introduction

SQL_OJ

DESCRIPTIONS

A Online-Judge Platform for NWPU DataBase Course.

Developed by Steve X Modified by Seddon Shen

File Structure 代码结构

.
├── README.md
├── DataExplain.md
├── img
│   ├── Data_Flow.png
│   └── ER.png
├── src
│   ├── SQL_memOJi/
│   ├── user/
│   ├── coding/
│   ├── iCalendar/
│   ├── utils/
│   └── manage.py
├── static/
├── wiki-zh.md
└── 生产环境部署.md

Function 软件功能

  • 学生端:

    • 个人仪表盘
      • 提交统计信息:总提交次数、提交记录(7日提交数、30日提交数)
      • 考练统计信息:考试数量、练习数量、考试成绩分析、练习成绩分析、作答题目难度分布
      • 详细列表:已作答测试列表(测试名、时间、得分、错题数等)
    • 答题-卡片列表:下一场考试、已完成考试列表、已完成练习列表
    • 答题-考练题目:左侧:题目要求;右侧:答题编辑框
    • 个人信息:学生信息
    • 日历 :考试和练习日历
  • 教师端

    • 数据中心
      • 班级数据
        • 班级成绩数据:所有班级的卡片式列表
        • 某个班级信息:该班级所有测试列表(名称、发布时间、截止时间、开始人数、完成人数、完成率、正确率、详情)
        • 某次考试信息:支持各种数据的显示和导出,具体包括题目作答情况、未完成学生列表、有错题学生列表(含具体错题信息)、成绩;
      • 统计数据
        • 考试/练习完成情况:统计已完成\未完成人数、优秀\良好\及格\不及格人数占比
        • 题目作答情况:统计每道题平均正确率、平均完成率、平均提交次数
        • TODO: 目前统计仅支持所有班级的分析,后续期望支持按照班级的统计
  • Django 后端(管理端:支持各种数据的管理)

    • USER
      • 学校管理
      • 学生
      • 学生清单: 支持导入和导出,显示所有应参加考练的学生信息(姓名、学号、班级、班级识别码、加入状态)
      • 教师
      • 班级
      • 用户
    • CODING
      • 练习
      • 练习作答记录
      • 考试
      • 考试作答记录
      • 试卷
      • 题库
      • 题目
      • 题目作答记录(练习)
      • 题目作答记录(考试)
  • TODO: 利用模式挖掘等技术,自动总结学生提交SQL中的错误使用模式

  • 详细介绍参考:wiki-zh.md

  • 统计功能中的数据说明参考:DataExplain.md

Environment & Installation 环境与安装

  • 参考:Install.md
  • 参考:生产环境部署.md

Data Flow Diagram 数据流图

Data Flow Diagram

ER图

ER Diagram

数据模型与数据字典

App 指 Django App, 用于分离各项功能
粗体 表示 主键
FK 表示本 App 模型中的 外键 (Foreign Key)
API 表示通过 API 或 Session 获取其他 App 的数据, 从而实现 “高内聚, 低耦合”

数据模型

  1. user
  2. coding 详情待补充

数据字典

PRI - 主键约束
UNI - 唯一约束
MUL - 可重复
NULL - 可以为空

详情待补充


Developed by Steve X Modified by Seddon Shen

sql_memoji's People

Contributors

seddonshen avatar stevexyh avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.