Week 20: Iterating the Rank-Based System

What I Did This week, I spent most of my time preparing my internship draft report and updating all of my weekly logbooks in the myIntern system as my internship is approaching its final weeks. For the Rank-Based Sayembara project, I continued improving both the Rank Emcee and Rank Judge modules based on Dr. Shawn’s code review. Initially, I misunderstood one of the pull request comments regarding the Emcee module. I merged the Standard Emcee and Rank Emcee interfaces into Read more

Week 19: Simplicity is Key

What I Did This week, I continued improving the Rank Judge module based on Dr. Shawn’s feedback. Several enhancements were made, including adding thumbs up/down buttons for quicker ranking adjustments, completing the comment system, and refining the layout by rearranging the icons and adjusting their sizes for better usability. During our weekly meeting, Dr. Shawn reviewed the interface and suggested simplifying the design to make it more user-friendly. He recommended reusing the comment interaction from the existing standard judging system, Read more

Week 18: Progress Continues

What I Did This week, I continued improving the Rank Emcee module by optimising the bulk update implementation in cdb_client.dart. Instead of fetching each document individually, the new implementation now uses a single bulkDocs() request to retrieve all required documents, merges the changes in memory, and submits everything through a single bulk update request. This reduces the process to only two HTTP requests regardless of the number of documents involved. I also started developing the Rank Judge module. The first Read more

Week 17: Learning to Build Better

What I Did This week, I continued improving the Rank Emcee module based on Dr. Shawn’s review. I revised the implementation so that bulkStart() and bulkStop() always retrieve the latest data from CouchDB before performing updates, preventing stale revision conflicts. Both methods now update the event and its performances together instead of treating them as separate operations. I also enhanced the application by introducing the JudgingMethod enum (standard and rank) into EventObj for backward compatibility. In addition, the MainDrawer was Read more

Week 16: Developing the Rank Emcee Module

What I Did This week, I started working on the Rank Emcee module. Before implementing the feature, I spent some time understanding how bulk updates in CouchDB work so I could apply the correct approach when updating multiple performances simultaneously. I successfully developed the core components of the module: During testing, I also discovered two existing issues in the original Emcee module. The first was that the timer did not stop correctly when a performance state changed externally, and the Read more

Week 15: Research, Reflect, Improve

This Week: I visited Dr. Shawn’s house to help set up newly purchased laptops for upcoming EuroAsia competitions. My responsibilities included installing Windows updates and configuring kiosk mode so that users could only access the Sayembara application during events. Besides that, Dr. Shawn introduced me to a potential internship project: a Rank-Based System. We had a discussion on the overall concept, target users, and possible implementation ideas. My first task was to research how rank-based judging systems are used in Read more

Week 14: Exploring New Possibilities

Feeling This Week This week was different from my previous weeks because I was not focused on completing a specific technical task. Instead, I spent time thinking about what I wanted to learn next and how I could contribute more meaningfully during the remainder of my internship. Even during my leave for the Hari Raya Haji celebration, I found myself reflecting on possible internship project ideas. Since most of my assigned GitHub tasks had already been completed, I felt motivated Read more

Week 12: Finalizing the JWT Authentication Migration

Completing the JWT Authentication PR This week was relatively light compared to previous weeks, but I focused on resolving the remaining issues related to the ES256 JWT Authentication PR. While preparing the PR for review, Dr. Shawn noticed that the Dart SDK version in pubspec.lock had been downgraded: During my testing, some dependency-related changes had unintentionally modified the SDK requirements. Dr. Shawn highlighted that we should avoid unnecessary version regressions unless there is a valid reason. After reviewing the changes, Read more

Week 11: From Debounce LLM to JWT Authentication

Successfully Merging the Debounce LLM Buttons PR This week, I successfully merged the PR for the Debounce LLM Buttons feature. During the review process, Dr. Shawn pointed out an important software engineering principle regarding error handling. Initially, I was detecting Gemini API rate limits through string processing and regular expressions by searching for keywords in the error message. However, Dr. Shawn explained that this approach is fragile because human-readable messages can change at any time. Instead, I should parse the Read more

Week 10: Debouncing LLM Buttons & Cleaner Architecture

Successfully Merged Polling Mixin PR This week, I successfully merged another pull request into the develop branch, which focused on fixing and restructuring the polling mixin implementation across controller files. The restructuring process helped make the controllers more organized and consistent compared to before. Working on Debounce LLM Buttons For the rest of the week, I mainly focused on a new task:Task: Debounce LLM Buttons At the beginning, I drafted a mockup/prototype for how the feature should behave: Initially, I Read more