Assessment room with candidates taking a test on computers while an assessor supervises; in the foreground, a screen shows a multiple-choice question with a timer.
AI-generated image to preserve project confidentiality.

Context

Mexico’s Ministry of Economy (Secretaría de Economía) needed to digitize its assessments of candidates for internal positions. Until then, tests were taken on paper and graded by hand. As part of my social service to earn my engineering degree, I proposed developing a web platform to meet that need and presenting it as my assessment project.

Challenge

Design a reliable, easy-to-manage platform with a small footprint on the server that would host it. The responsible area had to be able to manage its own question bank, configure the presentation order and time limits, and restrict access to results to the assessor.

What I did

I developed and implemented the web application on my own and deployed it on an existing on-premise server at the Ministry. I applied the Separation of Concerns (SoC) principle and the Model–View–Controller (MVC) pattern to organize the code. The client-server architecture separated the user interface from the business logic and data access. The frontend communicated with the backend through asynchronous AJAX calls.

Technologies

  • Frontend. HTML and CSS, with AJAX for asynchronous communication with the server.
  • Backend. PHP for the business logic and APIs, and MySQL for data storage.

Features

  • Question bank management. The responsible area could load and update questions, answer options and answer keys from the administration module, without changing the code.
  • Assessment engine. Tests had a time limit and a configurable presentation order. In random mode, the system could vary the order of the questions for each candidate, because several people were assessed at once in the same room, each on their own computer, and the goal was to prevent them from copying answers.
  • Automatic grading and role-based access to results. The system calculated the score at the end of the test. Only the authorized assessor could view the results and decide whether to print them.

Unforeseen events

The available resources meant the same environment had to be used for development and production. This simplified the initial deployment, but left both activities on infrastructure shared with other Ministry services. To reduce the risk of affecting their operation, I optimized the APIs with a focus on server resource consumption.

Outcome

The platform digitized the administration and grading of assessments and gave assessors instant access to results. Its performance and interface design were well received by the areas involved, and the Ministry formally acquired the system. The acquisition expanded the scope of delivery to include user manuals and technical documentation for maintenance, which turned into unexpected personal income.

← Back to projects