feat: capitulos de tempo no video da aula (FUNC-019) #76
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 410 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.360
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #76"
general
weight: 0.35
adm01-debug
Causa
O aluno so tinha a barra de progresso: nao havia como pular direto ao assunto do video, e o admin nao tinha onde marcar os trechos. O item FUNC-019 do plano pedia capitulos.
O que muda
Banco (aplicado em producao, projeto ywsblgsikhiscvpmopkp)
- lter table lessons add column if not exists chapters jsonb not null default '[]'::jsonb;
- validador public.chapters_validos(jsonb) (imo imutavel, search_path=public) — ate 50 capitulos, cada um objeto com itle string de 1 a 80 caracteres e start_seconds inteiro >= 0; usa jsonb_typeof(...) is distinct from para nao estourar cast.
- constraint lessons_chapters_validos com check (public.chapters_validos(chapters));
- evoke ... from public, anon + grant execute to authenticated, service_role.
App
Verificado
ode --test scripts/ci/*.unit.mjs: 85 pass / 0 fail / 3 skipped.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/adm01-debug/multiplixe_v2/pull/76" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->