lunar-modules

byMarshad Khan

📱 SYSTEM PROMPT — DTZ B1 EXAM TRAINING APP You are an AI that generates a modern DTZ B1 German exam preparation application. The entire application interface, all UI labels, instructions, feedback messages, and learning content MUST be in German (de-DE). Only this system prompt is written in English. 📱 CORE APPLICATION STRUCTURE ❗ Startup Behavior The application MUST NOT automatically open any module or learning section On launch, the Dashboard (Home screen) must always be shown first 🧭 DASHBOARD (START SCREEN) 📦 Module Overview (Top Section) Exactly 40 fixed modules (Module 1–40) No AI-generated or dynamic modules Vertical list layout (NOT grid) Each item shows ONLY: “Modul 1”, “Modul 2”, … “Modul 40” No topics, no labels, no descriptions ⭐ APP FEATURES (Middle Section) Progress tracking AI analysis & feedback Voice recording Writing correction with AI Camera scan / photo upload Timer system Exam simulation OpenAI TTS (German de-DE) 🏠 NAVIGATION Home Results (full overview of all modules) 🎨 DESIGN SYSTEM 🌙 Dark Mode Background: #000000 Primary color: dark blue modern, clean UI ☀️ Light Mode Background: white Primary color: dark blue minimal modern design 📌 RULES Fully custom UI (no system UI) Auto theme detection Equal quality in both modes 📦 MODULE SYSTEM Exactly 40 fixed modules No dynamic generation Same structure for all modules ⏱️ TIMER SYSTEM Listening: 25 minutes Reading: 45 minutes Writing: 30 minutes Speaking: 15 minutes RULES Auto-start timer Cannot be paused Auto-advance after completion 📖 MODULE STRUCTURE 🎧 LISTENING (4 PARTS) Short dialogues Announcements Longer conversation Questions (MC / True-False) 📖 READING (5 PARTS) Short texts Matching tasks Long text + questions True/False Emails / messages / notices ✍️ WRITING (1 TASK) 80–120 words Letter or email Everyday situations AI FEATURES Correction Feedback Improvement tips Score Image/camera upload 🗣 SPEAKING (3 PARTS) Self-introduction Picture description (always with image) Planning dialogue AI FEATURES Voice recording AI analysis: pronunciation fluency grammar vocabulary Feedback + score 🔊 AUDIO SYSTEM (TTS + ENVIRONMENT SOUND) 🎤 TTS (OpenAI German de-DE) Natural human speech Male & female voices realistic pauses no robotic tone 🎧 AUDIO LAYERS 🟢 Voice Layer foreground always clear 🔵 Environment Layer 10–25% volume realistic ambient sound 📍 ENVIRONMENTS Train station (announcements, trains, crowd) Phone call (ringing, room tone) Supermarket (voices, beeps) Street (traffic, footsteps) Office/classroom (soft room ambience) 🎚️ MIX RULES Voice always dominant No distortion realistic immersion ▶️ PLAYBACK Play starts both layers Pause stops everything smooth resume 🖼️ IMAGE SYSTEM unique images per module no repetition speaking part 2 always has image 🧠 AI FEATURES Writing auto-correction Speaking analysis stored results per module 📊 SCORING SYSTEM (STRICTLY SEPARATED) 📖 LISTENING + READING (BLOCK 1) A2: 20–32 points B1: 33–45 points ✍️ WRITING (BLOCK 2) A2: 7–14 points B1: 15–20 points 🗣 SPEAKING (BLOCK 3) A2: 35–74.5 points B1: 75–100 points 📊 RESULTS SYSTEM (ERGEBNISSE) 🏠 RESULTS PAGE Displays full overview of all modules: Each module shows: Modul number Date Total score Level (A2 / B1) Status (passed / failed / improved) short AI comment 📦 MODULE DETAIL VIEW full breakdown of all 3 blocks writing correction speaking feedback image + audio review 📈 GLOBAL PROGRESS At top of results: average score completion percentage passed modules failed modules improved modules 🧠 AI INSIGHTS weakest skill strongest skill learning recommendations next steps 🏁 FINAL RESULT AFTER EACH MODULE total score calculation A2 or B1 result short explanation improvement tips 📊 FINAL SCORE DISPLAY (VERY IMPORTANT) At the bottom of each module result, ALWAYS show: 📖 Hören + Lesen points + level ✍️ Schreiben points + level 🗣 Sprechen points + level 🚫 STRICT RULES no dynamic modules no “coming soon” no topic labels like “daily life” everything must be instantly available full DTZ simulation required 🎯 GOAL A professional DTZ B1 exam training app with: 40 fixed modules real exam simulation AI correction system immersive audio + images full results & analytics system modern production-grade UI/UX

DashboardFeedbackModule
Dashboard

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document
Page 1 of 6

System Requirements Document (SRD) for Lunar-Modules

1. Introduction

The Lunar-Modules project is a professional DTZ B1 German exam preparation application tailored for individual users. This application is designed to provide a comprehensive, immersive, and AI-driven learning experience for Deutschlernende (German learners) aiming to achieve proficiency at the B1 level. The system ensures real exam simulation, detailed feedback, and progress tracking, all while maintaining a modern and user-friendly interface.

This document outlines the updated system requirements for the Lunar-Modules project, incorporating the latest request to focus on single-user usage and to ensure that processing and feedback execution occur immediately after the completion of each individual module.

Page 2 of 6

2. System Overview

The Lunar-Modules application is a single-user platform designed to simulate the DTZ B1 German language exam. It features 40 fixed modules, each structured to mimic real exam conditions. The system leverages AI to provide instant feedback and analysis after the completion of each module, helping users identify their strengths and weaknesses. The application includes immersive audio and visual elements, a strict scoring system, and a results dashboard for tracking progress.

Key features include:

  • Fixed module structure (40 modules).
  • AI-driven feedback and correction.
  • Immersive audio and visual content.
  • Real-time progress tracking and analytics.
  • Modern, responsive UI/UX with auto theme detection.

3. Functional Requirements

  • As a User, I should be able to access 40 fixed modules, each labeled as "Modul 1" to "Modul 40."
  • As a User, I should always see the Dashboard (Home screen) upon launching the application.
  • As a User, I should receive AI-generated feedback immediately after completing each module.
  • As a User, I should be able to track my progress, including scores, completion percentage, and improvement areas.
  • As a User, I should be able to simulate the DTZ B1 exam with realistic audio and visual elements.
  • As a User, I should be able to view detailed results for each module, including a breakdown of scores for Listening, Reading, Writing, and Speaking.
  • As a User, I should be able to upload images or photos for writing tasks.
  • As a User, I should be able to record my voice for speaking tasks and receive AI analysis on pronunciation, fluency, grammar, and vocabulary.
  • As a User, I should be able to toggle between Light and Dark modes, with the system automatically detecting my device's theme preference.
Page 3 of 6

4. User Personas

Primary User

Name: Individual Learner
Description: A single user aiming to prepare for the DTZ B1 German language exam. This user is self-motivated, tech-savvy, and seeks personalized feedback to improve their language skills.
Goals:

  • Achieve a B1 level in German proficiency.
  • Receive instant feedback and actionable improvement tips.
  • Track progress and identify weak areas.

5. Visuals Colors and Theme

Unique Color Palette

The Lunar-Modules application features a modern and professional color scheme designed to enhance usability and aesthetics. The palette includes:

  • Background: #1A1A2E (Deep Space Black)
  • Surface: #16213E (Midnight Blue)
  • Text: #EAEAEA (Soft White)
  • Accent: #0F3460 (Cosmic Blue)
  • Muted Tones: #53354A (Muted Plum)

This palette ensures a clean, immersive experience that aligns with the project's identity.

Page 4 of 6

6. Signature Design Concept

Interactive Lunar Dashboard

The landing page of the Lunar-Modules application will feature an interactive lunar landscape. Users will see a 3D-rendered moon surface with 40 glowing craters, each representing a module. Hovering over a crater will display the module number, and clicking on it will zoom into the crater, transitioning seamlessly into the module content.

Key features:

  • Animations: Smooth zoom-in and zoom-out transitions with subtle crater pulsations.
  • Micro-interactions: Hover effects that cause craters to glow brighter and display module numbers.
  • Ambient Background: A starry night sky with occasional shooting stars.
  • Audio Feedback: A soft lunar ambiance with faint echoes and wind sounds.
  • Theme Integration: The lunar landscape adapts to Light or Dark mode, with the moon glowing softly in Light mode and radiating a cool blue hue in Dark mode.

This design ensures an unforgettable first impression and a highly engaging user experience.

7. Non-Functional Requirements

  • The application must support both Light and Dark modes with equal quality.
  • The system must provide instant feedback after each module without delays.
  • The application must maintain a responsive design for various screen sizes.
  • The audio system must deliver high-quality, immersive sound without distortion.
  • The application must operate seamlessly in German (de-DE) for all UI elements, labels, and content.

8. Tech Stack

Page 5 of 6

Frontend

  • React for Web

Backend

  • Python
  • FastAPI

Database

  • MySQL (with Alembic for migrations)

AI Models

  • GPT 5.4 for user-friendly responses
  • Claude 4.6 Opas for academic or coding work
  • Google Nano Banana for image generation

AI Tools

  • Litellm for LLM Routing
  • Langchain

Local Orchestration

  • Docker
  • docker-compose
Page 6 of 6

Server-Side Orchestration

  • Kubernetes

9. Assumptions and Constraints

Assumptions

  • The application will be used by individual learners only.
  • Users will have access to stable internet connections for AI processing and feedback.
  • All modules will be completed sequentially, with no skipping allowed.

Constraints

  • The application must strictly adhere to the DTZ B1 exam structure.
  • Feedback must be generated and displayed immediately after each module.
  • The system must not include dynamic or AI-generated modules.

10. Glossary

  • DTZ B1: Deutsch-Test für Zuwanderer, a German language proficiency test for immigrants.
  • AI Feedback: Automated analysis and suggestions provided by artificial intelligence.
  • Module: A fixed unit of learning content, structured to simulate a part of the DTZ exam.
  • TTS: Text-to-Speech, a system for converting text into spoken words.
  • UI/UX: User Interface and User Experience, referring to the design and usability of the application.
Dashboard design preview
Dashboard: View Modules
Dashboard: Select Module
Module: Complete Listening
Module: Complete Reading
Module: Complete Writing
Module: Complete Speaking
Feedback: View AI Results
Results: View All Modules
Results: View Module Detail