Skip to content

Conversation

@dimasmds
Copy link
Collaborator

@dimasmds dimasmds commented Sep 3, 2025

Summary

This PR makes adjustments for Q3 2025 to allow Express framework usage in submissions and alsoenables auto-approval for course 261 (Back-End Pemula with AWS) .

Changes Made

  1. Framework Policy Update
    File: src/factories/submission-project/submission-project-factory.ts
    Change: Removed express from the list of prohibited framework dependencies
    New prohibited frameworks: @nestjs/core, koa (Express is now allowed)

  2. Error Message Update
    File: src/exception/exception-to-review-message.ts
    Change: Updated error message to reflect that both Hapi and Express frameworks are now allowed
    Message: "...kamu tidak dipebolehkan menggunakan Framework lain selain Hapi dan Express Framework"

  3. Auto-Approval Configuration
    File: src/service/report-generator/report-generator.ts
    Change: Added course 261 (Back-End Pemula with AWS) to the list of courses that support full auto-grading

  4. Test Update
    File: src/factories/submission-project/submission-project-factory.unit.test.ts
    Change: Updated test to use koa instead of express for testing prohibited framework validation

Impact

• Students in course 261 can now use Express framework in their submissions
• Course 261 submissions will be automatically approved when they pass all checks
• Maintains existing restrictions for other frameworks like NestJS and Koa

Testing

• Updated unit tests to reflect the new framework policy
• Existing validation logic remains intact for other prohibited dependencies

This change aligns the autograder with the updated curriculum requirements for Q3 2025, specifically allowing Express framework usage alongside Hapi for AWS-focused backend development courses.

@dimasmds dimasmds merged commit f44905c into master Sep 3, 2025
2 checks passed
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.

2 participants