Pull Request: Q3 2025 Adjustment - Allow Express Framework and Enable Auto Approve for Course 261 #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
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)
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"
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
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.