Docs: "Test your bot before launch" guide
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, typescript, yaml
- Área
- documentation
Línea de trabajo
Read website/src/content/docs/core/testing.mdx for the documented eval assertions and GitHub Actions workflow, then check the eval schema in packages/cli/src/test/load.ts. Add the specified guide at website/src/content/docs/getting-started/test-before-launch.mdx, update website/astro.config.mjs and link to it near the top of testing.mdx. Done means the examples and recorded replay are verified, and the docs check and website build pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
F-07 task 19. chatcops test is documented as a reference in website/src/content/docs/core/testing.mdx: eval files at line 35, the judge at 124, costs at 177, recorded replays at 221, and a GitHub Actions example at 256. What's missing is a guide someone can follow before launch: from no tests to a suite that runs on every pull request for free.
What to do
A new page, website/src/content/docs/getting-started/test-before-launch.mdx, added to the Getting Started sidebar in website/astro.config.mjs after "Index Your Site". It has these steps:
- Write the first eval file: three to five questions your bot has to get right, such as pricing, a lead being captured, and an off-topic question it should decline. Use
contains,calls-tool,lead-capturedand onejudgeassertion.testing.mdxlists them all. - Run it live with
npx chatcops test, and read the pretty output and a failure. - Record it with
--record, commitevals/__cassettes__/, and explain why replay is free and the same every time. - Run it in CI: the workflow from
testing.mdx:256, replaying on every PR with no API keys. When a prompt change breaks replay, re-record. - Add a simulated visitor (
simulate, #512) for one multi-turn case.
End with a short "What to test" list for a typical site bot.
Acceptance criteria
- The page is in the sidebar. Every TypeScript block passes
pnpm docs:check, and every YAML example matches the eval file schema (packages/cli/src/test/load.ts). - You ran the example eval file yourself against a bot (any provider), recorded it, and ran it again with
--replay. Say in the PR what you ran. -
testing.mdxlinks to the new page near the top. -
pnpm --filter @chatcops/website buildpasses. Docs only, so no changeset.
Comment here to be assigned.
- Lenguaje dominante
- TypeScript
- Estrellas
- 13
- Forks
- 7
- Merge medio
- 3 h 15 min
- PR fusionados (30 d)
- 330
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de codercops/chatcops
-
Widget: a code block tagged `c++`, `c#` or `objective-c` shows part of the tag as codePosiblemente ocupada @prakashNalla la tomó hoy. Abiertobug widget
codercops/chatcops#578 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Docs: Astro, Nuxt and SvelteKit guides for the serverPosiblemente ocupada @anurag2787 la tomó hace 1 día. Abiertodocumentation
codercops/chatcops#575 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Server: chatcopsNext(), one catch-all route for Next.jsPosiblemente ocupada @Saifjafri212213 la tomó hace 1 día. Abiertoenhancement server
codercops/chatcops#574 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
@chatcops/react: a <ChatCops> component and useChatCops() hookPosiblemente ocupada @Saifjafri212213 la tomó hace 1 día. Abiertoenhancement widget
codercops/chatcops#573 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 25/100
codercops/chatcops#546 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de codercops/chatcops
Issues similares
-
mobile-app
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Open-Locker/Open-Locker#352 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
leanprover-community/lean4game#589 ·
Los mantenedores suelen responder en 2 días
-
Add: CS Action BGAbiertocheck:passed streams:add
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
unocss/unocss#5421 · 1 comentario ·
Los mantenedores suelen responder en 1 día