How pedrohdemelorosa/scom---motor-de-elegibilidade works
SCOM is a Laravel web application for maintaining student socioeconomic profiles and triaging them against published opportunity rules. Students register, authenticate, complete a profile, and receive explainable eligibility results with separate logistics alerts; coordinators manage and publish calls and version rule corrections; directors administer accounts and review activity. The graph preserves the documented map capability and the present-but-out-of-scope AI import subsystem. Some controller excerpts are partial, so uncertain view and integration links are omitted.
Main entry points: web.php Web routes · GestaoUsuarioController.php Account administration · GestaoEditalController.php Call management · PainelEstudanteController.php Student panel
Components 23
Access and profiles
- Registration and login
app/Http/Controllers/AuthController.php - User accounts
app/Models/User.php - Socioeconomic profile
app/Models/PerfilEstudante.php
Calls and rules
- Public call details
app/Http/Controllers/Estudante/EditalPublicoController.php - Public call view
resources/views/estudante/edital.blade.php - Call management
app/Http/Controllers/Coordenador/GestaoEditalController.php - Calls
app/Models/Edital.php - Eligibility rules
app/Models/RegraElegibilidade.php - Rule correction history
app/Models/HistoricoRetificacao.php - Coordinator dashboard
resources/views/editor/dashboard_coordenador.blade.php
Eligibility triage
- Student panel
app/Http/Controllers/PainelEstudanteController.php - Eligibility evaluator
app/Services/Elegibilidade/AvaliadorElegibilidade.php - Student panel view
resources/views/estudante/painel.blade.php
Administration and audit
- Account administration
app/Http/Controllers/Diretor/GestaoUsuarioController.php - Director dashboard
resources/views/editor/dashboard_diretor.blade.php - Audit log
app/Models/LogAuditoria.php
AI import
- AI call import
app/Http/Controllers/Coordenador/ImportacaoEditalIAController.php - PDF text extraction
app/Services/IA/ExtratorTextoEdital.php - AI analysis
app/Services/IA/AnalisadorEditalIA.php
Other components
- Student
- Coordinator
- Director
- Web routes
routes/web.php
Connections 31
- Student → Web routes: opens
routes/web.php - Coordinator → Web routes: opens
routes/web.php - Director → Web routes: opens
routes/web.php - Web routes → Registration and login: routes to
routes/web.php - Web routes → Student panel: routes to
routes/web.php - Web routes → Public call details: routes to
routes/web.php - Web routes → Call management: routes to
routes/web.php - Web routes → Account administration: routes to
routes/web.php - Registration and login → User accounts: authenticates
app/Http/Controllers/AuthController.php - Student panel → User accounts: loads user
app/Http/Controllers/PainelEstudanteController.php - Student panel → Socioeconomic profile: reads and saves
app/Http/Controllers/PainelEstudanteController.php - Student panel → Eligibility rules: loads active rules
app/Http/Controllers/PainelEstudanteController.php - Student panel → Eligibility evaluator: evaluates
app/Http/Controllers/PainelEstudanteController.php - Student panel → Student panel view: renders
- Public call details → Calls: reads
app/Http/Controllers/Estudante/EditalPublicoController.php - Public call details → Public call view: renders
app/Http/Controllers/Estudante/EditalPublicoController.php - Call management → Calls: creates and updates
app/Http/Controllers/Coordenador/GestaoEditalController.php - Call management → Eligibility rules: manages
app/Http/Controllers/Coordenador/GestaoEditalController.php - Call management → Rule correction history: records corrections
app/Http/Controllers/Coordenador/GestaoEditalController.php - Call management → Audit log: records actions
app/Http/Controllers/Coordenador/GestaoEditalController.php - Call management → Coordinator dashboard: renders
- Account administration → User accounts: administers
app/Http/Controllers/Diretor/GestaoUsuarioController.php - Account administration → Socioeconomic profile: reads profiles
app/Http/Controllers/Diretor/GestaoUsuarioController.php - Account administration → Eligibility rules: loads published rules
app/Http/Controllers/Diretor/GestaoUsuarioController.php - Account administration → Eligibility evaluator: evaluates eligibility
app/Http/Controllers/Diretor/GestaoUsuarioController.php - Account administration → Audit log: reads activity
app/Http/Controllers/Diretor/GestaoUsuarioController.php - Account administration → Director dashboard: renders
app/Http/Controllers/Diretor/GestaoUsuarioController.php - Web routes → AI call import: routes to
routes/web.php - Coordinator → AI call import: requests scan
- AI call import → PDF text extraction: extracts text
app/Http/Controllers/Coordenador/ImportacaoEditalIAController.php - AI call import → AI analysis: analyzes text
app/Http/Controllers/Coordenador/ImportacaoEditalIAController.php