Roteiros -> Correção e criação#36
Open
tomclima wants to merge 117 commits into
Open
Conversation
Feature/scitps henrique
Tasks based script
…d as consequence of renaming
…riptAnswer array, instead of returning the array itself
…owed by the /api/scripts routes
…ng /student prefix. Now /api/scripts/answers/student/:studentId
…ray was returned directly via findByStudentId. Now, copy is returned instead
Feat/create scripts improved
…ct doesnt already exist in the server
… registered') step and fixed prepending of ta- in task addition
testes de frontend para correção de roteiro
…thelper createscript. New helperfunction: createtask
…valid mock scripts
Test/create script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request - Teaching Assistant
📝 Descrição
O que foi feito:
Implementação de criação e edição de roteiros compostos por atividades
Implementação de correção de roteiros: Atribuição de nota às respostas às atividades dentro dos roteiros e comentários
Para isso foram feitas:
Novas classes - Script, Task, Scripts, TaskSet, ScriptAnswer, TaskAnswer, ScriptAnswerSet
Novas rotas - scriptgrading.ts, scripts.ts, tasks.ts dentro do diretório server/src/server_routes
Dados mockados - Lógica do mock na função loadMockScriptsAndAnswers no arquivo server/src/mock_scripts.ts
Testes unitários, de integração, de aceitação e e2e de todas as funcionalidades
📌 Observações
Impacto:
Riscos identificados:
📦 Área afetada
Frontend (Client - React):
Backend (Server - Express/Node.js):
Funcionalidades:
Infraestrutura:
🔧 Tipo de mudança
🧪 Testes
Testes automatizados
Por nível de teste:
Por área testada:
Cobertura:
Como revisar e testar
Testes Unitários (Server):
Testes E2E (Client):
Testar manualmente:
http://localhost:3000http://localhost:3004📸 Screenshots/GIFs
✅ Checklist
🔗 Issues relacionadas