Skip to content

Conversation

@stasel
Copy link
Member

@stasel stasel commented Jan 30, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 30, 2026 22:46
@HackYourFutures HackYourFutures temporarily deployed to dojo-scripts-test-gener-mrdfzb January 30, 2026 22:46 Inactive
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds random test data generation to the database setup script. The PR creates a new test generator module that produces randomized test records for trainees during database initialization.

Changes:

  • Added new testGenerator.ts file with functions to generate random test data including scores, results, and types
  • Updated the setup script to call the test generation function for each trainee (0-7 tests per trainee)
  • Corrected the documentation comment to reflect the actual default trainee count (500 instead of 800)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
server/scripts/setup/generators/testGenerator.ts New file implementing test data generation with weighted random scores and result calculation based on score thresholds
server/scripts/setup/index.ts Added test generation function call and import, updated documentation to correct trainee count

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

@stasel stasel requested a review from Copilot January 30, 2026 22:55
@HackYourFutures HackYourFutures temporarily deployed to dojo-scripts-test-gener-mrdfzb January 30, 2026 22:56 Inactive
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


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

@stasel stasel merged commit 6fef2c2 into main Jan 30, 2026
7 checks passed
@stasel stasel deleted the scripts/test-generator branch January 30, 2026 23:00
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