-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Cássio Fernando edited this page Mar 22, 2023
·
3 revisions
About • Usage • Development • Credits
This repository contains TextGrader. In essence textgrader contains the various versions of a Essay and short answer evaluation system.
The system is divided as explained below:
- Backend (Python)
-
Text Grader Core
- Preprocessing where we correct spelling change columns schema and do other minor preprocessing steps
- Feature engineering, where we generate some basic features like word count and sentence count, and generate datasets embedding words with each one of the following 4 techniques: TF-IDF, WORD-2-VEC, USE, LSI.
- Model training, where we train some instances of a random forest model using one of the following 3 approaches: Regression, Classification and Ordinal Classification.
- Model Evaluation, where we use the trained models to generate predictions and evaluate those predictions.
-
Text Grader API
- Receive a HTTP get request with a text content
- Run and send the data to Text Grader Core
- Receive the response from Text Grader Core
- Transform the data in JSON and send the HTTP response
-
Text Grader Core
- Frontend (NodeJS)
-
Text Grader Website
- Show an User Interface with a Text Editor and a button to grade the text
- Send the text in a HTTP GET request body to Text Grader API
- Receive the HTTP response and show it to the user
-
Text Grader Website
Run in your terminal docker compose up -d
. You can access from your browser:
This project uses GitFlow workflow and extension:
- Start your new feature: Create a new branch based on develop named
feature/<feature name>
- Developing your feature: Commit your code following semantic commit messages
- Finish your feature: Open a Pull request from your feature branch to develop
This project also uses Semantic Commit Messages:
See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
feat: add hat wobble
^--^ ^------------^
| |
| +-> Summary in present tense.
|
+-------> Type: chore, docs, feat, fix, refactor, style, or test.
More Examples:
-
feat
: (new feature for the user, not a new feature for build script) -
fix
: (bug fix for the user, not a fix to a build script) -
docs
: (changes to the documentation) -
style
: (formatting, missing semi colons, etc; no production code change) -
refactor
: (refactoring production code, eg. renaming a variable) -
test
: (adding missing tests, refactoring tests; no production code change) -
chore
: (updating grunt tasks etc; no production code change)
References:
- https://www.conventionalcommits.org/
- https://seesparkbox.com/foundry/semantic_commit_messages
- http://karma-runner.github.io/1.0/dev/git-commit-msg.html
Thanks for the open source projects bellow: