Skip to content
Cyrus Pastelero
Case study

Arkitekto: Philippine Architect Board Exam Reviewer

Cyrus David Pastelero1

1 Software engineer, Singapore; cyrus@pastelero.ph

Abstract

Building an online review platform for aspiring Filipino architects preparing for the Architect Licensure Examination. What creating 8,000+ practice questions and implementing spaced repetition taught me about EdTech, content quality, and building for a niche audience.

Keywords: Next.js; Supabase; React 19

Cover for Arkitekto: Philippine Architect Board Exam Reviewer

The problem

Aspiring architects in the Philippines face a difficult board exam: the Architect Licensure Examination (ALE), administered by the Professional Regulation Commission (PRC). Pass rates have historically ranged from 40-65%, with the January 2026 sitting reaching 82%[1]. Yet study resources are scattered. Reviewers rely on outdated photocopied materials, expensive review centers, or random question compilations shared in Facebook groups.

Nowhere could an examinee practice against structured questions, see which subjects they were weak in, and study without wasting time. The distance between the tools available and what students actually needed was enormous.

What I built

Arkitekto[2] is an online review platform covering every ALE subject, with 8,000+ practice questions behind it as of February 2026 and 9,000+ as of November 2026.

Core features

  • Practice by subject, with feedback and an explanation the moment you answer
  • Timed mock exams that follow the real ALE format, scored and reviewable afterwards
  • Spaced repetition on the SM-2 algorithm, scheduling questions by retention the way Anki's original scheduler[3] does
  • Focus sessions aimed at whichever subjects you keep getting wrong
  • A flashcard mode for fast passes through a topic
  • Progress tracking: streaks, subject mastery levels, performance analytics, achievement badges
  • Study groups, so people can work through questions together
  • Discussion threads attached to individual questions
  • Bookmarks for the questions worth coming back to
  • An admin dashboard for content moderation, users, questions, and analytics

Arkitekto has a sibling: Akawntant, an online CPALE reviewer, which shares its design system and has its own identity.

Tech stack

LayerTechnologyWhy
FrameworkNext.js 16[4]App Router, Server Components, React 19
DatabaseSupabase[5]PostgreSQL with RLS, Auth, real-time
StylingTailwind CSS 4[6]Utility first, design tokens
Componentsshadcn/ui[7]Accessible, customizable primitives
ValidationZod[8]Runtime schema validation
HostingVercel[9]Edge caching, fast deploys

Architecture

Arkitekto's architecture in three layers: client components in the browser, server components and server actions in Next.js 16 on Vercel, and Supabase Auth and Postgres underneath. Server actions carry the business logic (SM-2 spaced repetition, the readiness score, performance analytics), and a Row Level Security policy on every table scopes each query to the signed-in user, with SECURITY DEFINER functions for cross-user reads such as study group leaderboards. In orange, the main path: an answer goes through a server action and SM-2, past Row Level Security, into sc_spaced_review.
Arkitekto's architecture in three layers: client components in the browser, server components and server actions in Next.js 16 on Vercel, and Supabase Auth and Postgres underneath. Server actions carry the business logic (SM-2 spaced repetition, the readiness score, performance analytics), and a Row Level Security policy on every table scopes each query to the signed-in user, with SECURITY DEFINER functions for cross-user reads such as study group leaderboards. In orange, the main path: an answer goes through a server action and SM-2, past Row Level Security, into sc_spaced_review.

Data flow for spaced repetition

Answering one question: the SM-2 update behind spaced repetition.

Question schema

The question schema: subjects contain topics, topics have questions, and each question has answer options and is tracked, scheduled, bookmarked and discussed per user. Every relation is one to zero or more; sc_spaced_review, the table SM-2 writes, is in orange.
The question schema: subjects contain topics, topics have questions, and each question has answer options and is tracked, scheduled, bookmarked and discussed per user. Every relation is one to zero or more; sc_spaced_review, the table SM-2 writes, is in orange.

What building this taught me

1. Content quality is everything in EdTech

I started with 7,000+ questions and thought the platform was ready. Then users started reporting inaccuracies. A wrong answer key on one question destroys trust in the entire platform.

I ended up running 12 rounds of automated and manual review across the entire question bank. AI-assisted review helped catch issues at scale, but every flagged question still needed human verification against authoritative sources like the National Building Code and RA 9266.

A smaller set of verified questions turned out to be worth more than a large set nobody had checked.

2. Spaced repetition needs careful tuning

The SM-2 algorithm is well documented, but implementing it for exam preparation is different from language learning. Architecture exam questions aren't binary recall. They require understanding concepts across multiple subjects.

I had to adjust intervals and ease factors to account for the fact that missing a question about structural design doesn't mean you forgot it. You might have misunderstood the question or confused similar building codes.

Resources:

3. Row Level Security changes how you think about data

Supabase RLS means every query is automatically scoped to the authenticated user. This is powerful, but it forces you to design your schema around access patterns from day one.

Every table needs a user_id column. Every policy needs to be tested. And when you need cross-user queries (like study group leaderboards), you need database functions that bypass RLS with SECURITY DEFINER.

-- RLS policy: users can only see their own stats
CREATE POLICY "Users can view own stats"
  ON sc_user_question_stats
  FOR SELECT
  USING (user_id = auth.uid());

4. Niche audiences are deeply engaged

Building for Filipino architecture students means a small but passionate user base. Every feature request comes with genuine context. Users tell you exactly what they need because the exam is real and the stakes are high.

This taught me that building for a niche is easier than building for everyone. The feedback loop is tighter, the community is supportive, and feature prioritization is obvious because the goal is clear: pass the board exam.

The bigger realization

EdTech turned out not to be about technology at all. The hard problems here were content quality, whether the thing actually teaches, and understanding how people study when an exam is coming.

A much simpler platform with plain quizzes would have served the same purpose. Spaced repetition, analytics, and study groups only matter because the questions underneath them are correct. Good technology makes good content go further, and it does nothing for bad content.

What I would do differently

Invest in content review infrastructure from the very beginning. I built the platform first and treated content quality as a later concern. That meant months of retroactive review scripts and manual verification.

If I started over, I'd build a review pipeline first: a system where every question goes through automated checks and human verification before it ever reaches a student.

References

  1. 82%. tribune.net.ph. https://tribune.net.ph/2026/01/27/prc-releases-results-for-architect-licensure-exam ↑
  2. Arkitekto. arkitekto.review. https://www.arkitekto.review/ ↑
  3. Anki's original scheduler. docs.ankiweb.net. https://docs.ankiweb.net/deck-options.html#fsrs ↑
  4. Next.js 16. nextjs.org. https://nextjs.org/ ↑
  5. Supabase. supabase.com. https://supabase.com/ ↑
  6. Tailwind CSS 4. tailwindcss.com. https://tailwindcss.com/ ↑
  7. shadcn/ui. ui.shadcn.com. https://ui.shadcn.com/ ↑
  8. Zod. zod.dev. https://zod.dev/ ↑
  9. Vercel. vercel.com. https://vercel.com/ ↑
  10. SM-2 Algorithm. supermemo.com. https://www.supermemo.com/en/archives1990-2015/english/ol/sm2 ↑
  11. Anki's Implementation. docs.ankiweb.net. https://docs.ankiweb.net/studying.html ↑
  12. Next.js App Router. nextjs.org. https://nextjs.org/docs/app
  13. Supabase Documentation. supabase.com. https://supabase.com/docs
  14. Philippine RA 9266 - Architecture Act of 2004. officialgazette.gov.ph. https://www.officialgazette.gov.ph/2004/03/17/republic-act-no-9266/
  15. PRBOA Syllabus. prc.gov.ph. https://www.prc.gov.ph/
Version www.pastelero.ph/projects/arkitekto

© 2026 Cyrus David Pastelero