Skip to content

Ysen/additional informations - #66

Merged
RemiSaurel merged 12 commits into
mainfrom
ysen/additional-informations
Jul 31, 2026
Merged

Ysen/additional informations#66
RemiSaurel merged 12 commits into
mainfrom
ysen/additional-informations

Conversation

@yeadonaye

Copy link
Copy Markdown
Collaborator

List of new features in this Pull Request:

  • Modified imported file structure to include AI evaluation (score, and justification)
  • Modified exported file structure to include second evaluation informations (for the composed evaluation mode)
  • Added multiple evaluation mode:
    • Without AI Evaluation : in this mode, the teacher sees only the correct answer that he has previously given and the leaner's answer
    • With AI Evaluation : in this mode, the teacher sees in addition to learner's answer and the correct answer, the score that has been given by the AI, and a justification explianing why it gave that grade.
    • Composed mode : in this mode, the teacher will assess the learner's grade twice in a row. First without the AI evaluation information, and then the with the help of the AI evaluation
  • The configuration page has also been modified to let the teacher choose the desired evaluation mode
  • Set the default evaluation mode to without-ai
  • Updated Timer logic

@yeadonaye
yeadonaye requested a review from RemiSaurel June 2, 2026 08:12
@yeadonaye yeadonaye self-assigned this Jun 2, 2026
Copilot AI review requested due to automatic review settings June 2, 2026 08:12
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 2, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
evalbuddy 8fa0140 Commit Preview URL

Branch Preview URL
Jul 31 2026, 12:44 PM

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends EvalBuddy’s evaluation workflow by adding multiple evaluation modes (with/without AI, and composed two-pass), persisting per-item evaluation timers, and updating the session import/export data model to support richer results (evaluations + AI justification/score).

Changes:

  • Add evaluation modes (without AI / with AI / without-then-with AI) and expose selection in the configuration modal.
  • Add a per-item timer with pause/blur handling and persist elapsed time in IndexedDB.
  • Update stored/exported session structures to include AI evaluation info on items and multi-entry evaluations in results.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
i18n/locales/fr.json Adds strings for new configuration tab/modes and evaluation timer/pause/AI panels.
i18n/locales/en.json Adds strings for new configuration tab/modes and evaluation timer/pause/AI panels.
app/utils/storage.ts Updates IndexedDB schema/version, persists elapsed times, and changes stored results format to evaluations.
app/utils/importExport.ts Exports a plain JSON-safe session snapshot.
app/pages/evaluation/[uuid].vue Integrates timer UI/logic, pause modals, and composed-pass handling hooks.
app/models/index.ts Introduces AI evaluation + evaluation mode types and switches results to the new export format.
app/composables/useTimer.ts New timer composable (start/pause/resume/format).
app/composables/useEvaluationConfig.ts Sets default evaluationMode on newly created configs.
app/composables/useEvaluation.ts Stores/loads results using evaluations entries and supports composed mode.
app/components/StartEvaluationModal.vue New modal to gate evaluation start when timer recording is enabled.
app/components/PausedModal.vue New modal shown when evaluation is paused.
app/components/PauseConfirmationModal.vue New modal prompting pause on window blur.
app/components/HybridEvaluationCard.vue Displays AI evaluation panel conditionally and supports composed two-pass confirm flow.
app/components/EvaluationConfigModal.vue Adds “Others” tab for timer toggle + evaluation mode radio group.
app/app.config.ts Adjusts modal footer slot layout globally.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/utils/storage.ts Outdated
Comment thread app/composables/useEvaluation.ts Outdated
Comment thread app/components/HybridEvaluationCard.vue
Comment thread app/components/HybridEvaluationCard.vue
Comment thread i18n/locales/en.json Outdated
Comment thread i18n/locales/en.json
Comment thread i18n/locales/fr.json
Comment thread app/utils/storage.ts
Comment thread app/components/EvaluationConfigModal.vue

@RemiSaurel RemiSaurel left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, we need to add the timer configuration when we consult it:

Image

Comment thread app/composables/useEvaluation.ts Outdated
Comment thread app/composables/useEvaluation.ts Outdated
Comment thread app/models/index.ts
Comment thread app/composables/useEvaluation.ts Outdated
@RemiSaurel

RemiSaurel commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Also, we need to add the timer configuration when we consult it:

Image

@yeadonaye
Still need to fix this

Also, it could be appreciable to have an example of AI/No AI dataset file in /utils so we can try it. We also need to have a documentation about it since (the README.md could be enough)

@RemiSaurel
RemiSaurel merged commit d74e3e9 into main Jul 31, 2026
2 checks passed
@RemiSaurel
RemiSaurel deleted the ysen/additional-informations branch July 31, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants