20 Commits

Author SHA1 Message Date
32e1f07418 feat: add template V2 with updated rubrics and fix ActionResult runtime error
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m22s
- Add RUBRICS_V2 with improved rubrics for prompts, conception, iteration,
  evaluation, alignment and cost_control dimensions
- Add "Full - 15 dimensions (V2)" template using RUBRICS_V2; V1 unchanged
- Set V2 as default template by ordering templates by id desc in getTemplates
- Point demo seed evaluations to full-15-v2
- Remove `export type { ActionResult }` from "use server" files (evaluations,
  admin, share) — Turbopack treats all exports as server actions, causing a
  runtime ReferenceError when the type is erased at compile time

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 08:14:43 +01:00
27866091bf perf: optimisations DB — batch queries et index
- createEvaluation: remplace N create() par un createMany() (N→1 requête)
- updateEvaluation: regroupe les upserts en $transaction() parallèle
- Ajout d'index sur Evaluation.evaluatorId, Evaluation.templateId,
  EvaluationShare.userId et AuditLog.evaluationId

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 13:27:57 +01:00
Julien Froidefond
9ff745489f Enhance database seeding and update seed questions. Add database seeding command to docker-start.sh and introduce new questions related to support and scaling in seed.ts, improving the data initialization process.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 3m17s
2026-02-20 16:44:35 +01:00
Julien Froidefond
e30cfedea8 Update branding references throughout the application to reflect Peaksys as the developer, including changes to the README, admin user email, candidate team names, and metadata descriptions.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m36s
2026-02-20 13:27:44 +01:00
Julien Froidefond
9d8d1b257d Refactor Docker Compose configuration to use dynamic volume paths, update deployment workflow to create necessary directories, and enhance Prisma schema with public visibility for evaluations. Improve access control in API routes and adjust evaluation creation logic to include public visibility. Fix minor issues in login and evaluation pages for better user experience.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m17s
2026-02-20 13:13:41 +01:00
Julien Froidefond
f5cbc578b7 Update Dockerfile and package.json to use Prisma migrations, add bcryptjs and next-auth dependencies, and enhance README instructions for database setup. Refactor Prisma schema to include password hashing for users and implement evaluation sharing functionality. Improve admin page with user management features and integrate session handling for authentication. Enhance evaluation detail page with sharing options and update API routes for access control based on user roles.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 3m4s
2026-02-20 12:58:47 +01:00
Julien Froidefond
9a734dc1ed Refactor seed data to upsert candidates and evaluations, ensuring existing evaluations are updated without clearing previous data. Enhance the evaluation creation process with detailed scoring and justification for improved clarity and relevance.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m19s
2026-02-20 12:33:22 +01:00
Julien Froidefond
7a0cf76c18 Refactor seed data by removing outdated use cases and adjusting template dimensions, streamlining the evaluation framework for improved clarity and relevance.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m34s
2026-02-20 11:53:17 +01:00
Julien Froidefond
7e68ea33c2 Add comprehensive DEMO_RESPONSES to seed data, detailing realistic responses across multiple dimensions, enhancing the evaluation framework with justifications and observed examples for improved clarity and usability.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m16s
2026-02-20 11:50:27 +01:00
Julien Froidefond
9aaa97e909 Refactor seed data by removing outdated rubrics and suggested questions, while adding new insights on alignment and quality usage, streamlining the evaluation framework for enhanced clarity and relevance.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m11s
2026-02-20 11:46:11 +01:00
Julien Froidefond
c4bc24cee9 Add new suggested questions and rubrics for exploration phase in seed data, enhancing the evaluation framework and template structure for improved clarity and usability.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m2s
2026-02-20 11:41:10 +01:00
Julien Froidefond
b754e9f9c6 Enhance seed data by adding new suggested questions and rubrics for the conception phase, improving the evaluation framework and template structure for better clarity and usability.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 1m59s
2026-02-20 11:37:34 +01:00
Julien Froidefond
563c0b71dc Update seed data to include a new suggested question regarding model selection and refine context rubric for improved clarity and relevance in evaluation processes.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 1m49s
2026-02-20 11:32:24 +01:00
Julien Froidefond
7ea5603b41 Update seed data to include optional titles for integration and impact templates, enhancing clarity in the evaluation process. 2026-02-20 11:22:42 +01:00
Julien Froidefond
381f9c0c2b Add a new suggested question to the evaluation section in seed data to address excessive generations and duplicated information in AI outputs. 2026-02-20 11:01:49 +01:00
Julien Froidefond
3977b20ae7 Update seed data with refined suggested questions and rubrics for better clarity and relevance; enhance context-related queries to improve user engagement. 2026-02-20 10:57:39 +01:00
Julien Froidefond
0669893a36 Update .gitignore to exclude Prisma database files; remove dev.db; add cost control questions and rubric to seed data 2026-02-20 10:13:52 +01:00
Julien Froidefond
678517aee0 Update Next.js configuration for standalone output; add type checking script to package.json; enhance Prisma schema with binary targets; modify authentication API to only require email; improve evaluation detail page with Link component; add ESLint directive in new evaluation page; adjust theme provider for state setting; refine export-utils test type assertion. 2026-02-20 09:35:22 +01:00
Julien Froidefond
9fcceb2649 Add candidateTeam field to evaluations; update related components and API endpoints for consistency 2026-02-20 09:22:12 +01:00
Julien Froidefond
f0c5d768db Enhance project setup with Prisma, new scripts, and dependencies; update README for clarity and add API routes; improve layout and styling for better user experience 2026-02-20 09:12:37 +01:00