GithubHelp home page GithubHelp logo

thm-mni-ii / feedbacksystem Goto Github PK

View Code? Open in Web Editor NEW
18.0 5.0 9.0 20.94 MB

Intelligent, personalized feedback for students using artificial intelligence

Home Page: https://frits.mni.thm.de/

License: Other

Scala 33.74% JavaScript 0.12% TypeScript 29.81% HTML 8.42% Dockerfile 0.19% Shell 0.15% SCSS 3.07% PLpgSQL 1.37% Python 11.06% Jupyter Notebook 0.11% Kotlin 11.77% ANTLR 0.11% CSS 0.08%
its e-learning intelligent-tutoring-system students digital-learning education

feedbacksystem's Introduction

logo

Feedbacksystem

License release Artifact Hub CI codecov

Intelligent, personalized feedback for students using artificial intelligence

sql-animation

Table of Contents

Security

Vulnerabilities

If you find a vulnerability in this system, please report it at the following url:

https://github.com/thm-mni-ii/feedbacksystem/security/advisories/new

Background

As a student you have to submit a lot of tasks for your lectures. Usually the only reply you get is that you passed or failed. This is a situation we want to change. Feedbacksystem is an application to automatically check your submissions and give an immediate result. With the result we want to provide suggestions to the students about their mistakes, collect the most common mistakes and present them to the lecturers such that they can address them in the lectures.

Install

Development

The following software is required for the development:

  • Java (Version 11)
  • Docker
  • Git

Clone this Repository to your locale Directory

git clone [email protected]:thm-mni-ii/feedbacksystem.git

Change to the cloned directory

cd feedbacksystem

Build all container an start them with docker compose

docker compose up -d --build

The System can now be accessed at https://localhost.

Frontend

For frontend development the following software is needed:

  • node
  • npm

Change to the Directory of the frontend code

cd modules/fbs-core/web

Install neccessary npm packages and start the dev-server

npm i
npm run start

Production

Note
See here for more information and an overview of the configuration variables.

Requirements

Steps

  1. Ensure the requirements are met
  2. Generate values (See here for details)
deno run --reload=https://raw.githubusercontent.com --allow-write=vals.yaml https://raw.githubusercontent.com/thm-mni-ii/helm-charts/main/charts/feedbacksystem/generate-values.ts vals.yaml
  1. Add the helm repository
helm repo add thm-mni-ii https://thm-mni-ii.github.io/helm-charts
  1. Install
helm install -n <namepsace> --create-namespace --wait -f vals.yaml fbs thm-mni-ii/feedbackssystem

API

The specification of the interfaces of the feedbacksystem can be found here.

License

Apache-2.0 © 2023 Technischen Hochschule Mittelhessen

feedbacksystem's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

feedbacksystem's Issues

Implement a role-system

Following Roles should exists:
Admin
Student
Dozent
Hiwi

  • User can assigned to edit / own courses
  • Grant user for a course POST /api/v1/courses/{id}/grant {username:username,grant_type:edit}

Manage User logins

  • All logins should be registrated
  • create route to see last logins of everyone
  • only admin can access this
  • filter users by his last login

Implement Testsystems in WS

  • Provide Route to create, edit, get, delete information about a feedback-testinstance (Port, topic / short_name, description and more)
  • link feedback-testinstance to a task, i.e. update create / update tasks
  • save/get informations in a .yaml file
  • document changes in WIKI
  • document Kafka Exchange Format in WIKI
  • get all system should be possible if user has at least one docent access

Adjust file upload in Task creation and submission

Hi @Phpp1010 I already implemented, but not yet merged in master, a file upload option while creating or submit a task. Currenty, a base64 String and a filename musst be send to the REST. An other option would be an extra Multipart Upload REST or another byte format to put this in the JSON Request.

What do you think is best idea?

REST Courses / Tasks

  • submit Task saves also submitted Data
  • POST /api/v1/courses/:id/unsubscribe
  • DELETE /api/v1/courses/:id
  • rewrite GET /api/v1/courses/:id with all tasks, if user is subscribed
  • PUT /api/v1/courses/:id
  • rewrite GET /api/v1/courses/
  • GET /api/v1/courses/all for searching
  • implement a application config to generate long term jwt keys
  • Add Task: POST: /api/v1/courses/{id}/tasks (including a test file!)
  • rewrite and fix submit Task
  • PUT /api/v1/tasks/:id
  • DELETE /api/v1/tasks/:id

Page: Login and Logout

We need a login / logout page. The logout page is the page that the user should see after he logout. It may be the login page with a message that the user logged out successfully.

REST: Users / Roles

  • Stammdaten des Benutzers / Angeben / Route NUR für den Benutzer ansehen! --> Floskel "Zusätzlich zu den Stammdaten gibt es die Abgeben der Tests"
  • DELETE users/ --> BATCH!! --> Festlegen können, Abgaben des Benutzer mitlöschen oder nicht
  • users/last/login/after/{}/before/{} , update to get more filters
  • rewrite roles logic
  • a docent for one course can grant tutor to other course
  • every user is a student
  • moderator can create courses
  • moderator can grant a user as docent for one courses
  • admin can manage user roles
  • admin can grant moderator
  • admin can delete users
  • admin can delete inactive users see #72
  • docent can manage his courses, edit, create tasks, delete tasks ...
  • Grant roles to user PUT /api/v1/users/{id}/role if one has rights to do it
  • update routes in WIKI

Plagiarism Check

We need tools that helps us to detect plagiarism among the submissions / solutions.

API: Implement route for _users_

Implement the users POST and GET routing for a first test and interaction with frontend. Use mySQL Database. Also write a simple Login

Implement REST routes for course and task creating / overview

  • Create course POST: /api/v1/courses
  • See task to course GET: /api/v1/courses/{id}
  • User subscribe course: POST: /api/v1/courses/{id}/subscribe
  • User see all subscribed courses: GET: /api/v1/courses/
  • As Dozent: See submissions: /api/v1/courses/{id}/submissions
    Depends on Role System which has to be implement, too

Implement first prototype

  • Use JSON Serializing / Deserializing in Kafka Communication
  • Refactor JSON Serializing / Deserializing in Kafka Communication
  • Use JWT Token with expiration date
  • Create / Set UP DB to Save Courses
  • If user submit a task send error code 20X
  • API should listen on incoming Kafka answers and save it to DB
  • show results to submissions for a specific course

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.