Checkpoint AI Tutor Ready
Hello! Ask me to generate a question or explain a topic from your Checkpoint materials.
`); win.document.close(); win.print(); } }(function() { document.addEventListener('DOMContentLoaded', function() { const btn = document.getElementById('cai-send-trigger'); const input = document.getElementById('cai-user-input'); const chat = document.getElementById('cai-chat-window'); const status = document.getElementById('cai-status');if (!btn) return;function appendMessage(text, isUser = false) { const row = document.createElement('div'); row.className = 'cai-msg-row'; row.setAttribute('data-type', isUser ? 'user' : 'ai'); row.style.marginBottom = '15px'; row.style.textAlign = isUser ? 'right' : 'left'; const inner = document.createElement('div'); inner.style.display = 'inline-block'; inner.style.maxWidth = '85%'; inner.style.padding = '10px 15px'; inner.style.fontSize = '14px'; if (isUser) { inner.style.background = '#2563eb'; inner.style.color = 'white'; inner.style.borderRadius = '15px 15px 0 15px'; } else { inner.style.background = '#e5e7eb'; inner.style.color = '#374151'; inner.style.borderRadius = '15px 15px 15px 0'; inner.style.whiteSpace = 'pre-wrap'; } inner.textContent = text; row.appendChild(inner); chat.appendChild(row); chat.scrollTop = chat.scrollHeight; }btn.addEventListener('click', function() { const query = input.value.trim(); if (!query || btn.disabled) return;appendMessage(query, true); input.value = ''; btn.disabled = true; status.textContent = 'Thinking...';const formData = new FormData(); formData.append('action', 'cai_ask_tutor'); formData.append('query', query); formData.append('nonce', 'e68b31cbb1');fetch('https://hakeemify.com/wp-admin/admin-ajax.php', { method: 'POST', body: formData }) .then(response => response.json()) .then(data => { if (data.success) { appendMessage(data.data.response); } else { appendMessage("Error: " + (data.data || "Unknown Error")); } }) .catch(error => { appendMessage("Connection error. Please refresh."); }) .finally(() => { btn.disabled = false; status.textContent = 'Ready'; }); });input.addEventListener('keypress', function(e) { if (e.key === 'Enter') btn.click(); }); }); })();
  1. Algebra Questions:
    • “Generate a set of questions on simplifying quadratic expressions and solving for x. for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation.”
    • Tip: You can ask the AI to generate algebraic questions that test your skills in simplifying expressions and solving equations.
  2. Geometry Problems:
    • “Create a few problems that test the area and perimeter of different geometric shapes for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation.”
    • Tip: Request geometry-based questions that ask you to calculate the area, volume, and perimeter of various shapes.
  3. Probability and Statistics:
    • “Generate questions about calculating probabilities and interpreting data from graphs for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation.”
    • Tip: You can ask the AI to generate problems based on probability calculations or interpreting statistical data such as mean, median, mode.
  4. Fractions and Ratios:
    • “Create questions that test the addition, subtraction, and multiplication of fractions and ratios for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation.”
    • Tip: You can ask the AI to generate questions on fraction operations, such as simplifying fractions or converting between mixed numbers and improper fractions.
  5. Word Problems:
    • “Generate word problems that involve real-life scenarios to solve using algebraic equations for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation.”
    • Tip: Ask the AI for word problems where you need to set up and solve algebraic equations to solve real-world problems.
  • Biology – Cell Structure:
    • “Generate questions on the structure and function of plant and animal cells, including organelles and their roles for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation..”
    • Tip: You can ask the AI to generate questions about cell biology, such as the functions of various organelles in plant and animal cells.
  • Chemistry – Atomic Structure:
    • “Create questions on the structure of atoms, the periodic table, and chemical bonding for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation..”
    • Tip: You can ask for questions that test knowledge of atomic structures, elements, and the arrangement of electrons in atoms.
  • Physics – Energy Transfer:
    • “Ask the AI to generate questions about energy transfer and conservation of energy in mechanical systems for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation..”
    • Tip: You can request questions on how energy is transferred between different forms, such as kinetic, thermal, and potential energy.
  • Ecology – Food Chains and Webs:
    • “Generate questions on the flow of energy through ecosystems, food chains, and food webs for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation..”
    • Tip: Ask for questions on how energy is transferred in ecosystems through food chains and the relationships between producers and consumers.
  • Environmental Science – Pollution:
    • “Create questions related to the causes and effects of pollution on the environment and living organisms for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation..”
    • Tip: Ask for questions on environmental impacts such as pollution, climate change, and sustainable practices.
  • Literary Devices and Techniques:
    • “Generate questions about identifying literary devices such as metaphors, similes, and alliteration in short passages for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation..”
    • Tip: You can ask the AI to identify literary devices and how they enhance the meaning or mood of a passage.
  • Comprehension and Analysis:
    • “Ask the AI to generate comprehension questions based on a short passage from a story or article for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation..”
    • Tip: Request comprehension questions that test your understanding of key ideas, themes, and character analysis.
  • Grammar and Syntax:
    • “Create questions that test your knowledge of sentence structure, parts of speech, and correct grammar usage for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation..”
    • Tip: You can ask for questions that focus on grammar rules, such as the correct usage of commas, tenses, and subject-verb agreement.
  • Writing Skills:
    • “Generate writing prompts that ask you to write descriptive essays or narratives based on a specific theme for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation..”
    • Tip: Ask the AI for writing prompts that help you practice descriptive writing, storytelling, or argumentative essays.
  • Vocabulary Building:
    • “Create vocabulary questions that challenge you to define complex words and use them in sentences for Lower Secondary Checkpoint Exam Preparation and list answers below with explanation..”
    • Tip: Request vocabulary-based questions where you need to identify meanings, synonyms, antonyms, and proper usage in context.
Checkpoint AI Tutor: System Architecture & Analytics

Checkpoint AI Tutor

Architecture & Analytics Dashboard for the Year 9 Kingsley curriculum AI integration. Powered by Retrieval-Augmented Generation (RAG).

Target Audience
Year 9
Kingsley Students
Core Subjects
3
Math, English, Science
AI Engines
Dual
Gemini & OpenAI
Custom Tables
2
cai_content & cai_progress

The RAG Data Flow Engine

Instead of expensive model fine-tuning, the plugin utilizes Retrieval-Augmented Generation. Uploaded JSON syllabus data is parsed and stored locally. When a student queries the system, relevant JSON blocks are retrieved and injected directly into the LLM prompt.

📄
JSON Upload
Admin Dashboard
🗄️
wp_cai_content
Local Database Table
🔍
Context Retrieval
Randomized SELECT
🤖
AI Prompt Injection
Gemini / GPT-4o

Knowledge Base Distribution

Proportional breakdown of the JSON curriculum data currently residing in the wp_cai_content table, categorized by primary subject area.

API Usage & Cost Optimization

Tracking external API calls against localized Cache Hits. The get_transient caching mechanism successfully intercepts duplicate queries to preserve API quotas.

Student Performance Matrix

Aggregated assessment scores mapped from the wp_cai_progress database table. This identifies areas where the AI Tutor should generate more targeted mock paper questions.