Legal

Privacy Policy

What we collect when you learn on CodeMentorAI, how we use it, who we share it with, and the choices you have.

Last updated: Read the Terms of Service
On this page

1. Information We Collect

CodeMentorAI collects personal and technical information to provide, maintain, and improve our interactive code learning services:

  • Account Data: Email address, display name, avatar URL, password hashes, and OAuth profile metadata (Google, GitHub).
  • Code Submissions & Telemetry: Source code written in our code editor, compilation error logs, runtime execution benchmarks, test case pass rates, and submission timestamps.
  • Usage & Device Metrics: IP address, browser type, operating system, session duration, and feature interaction logs.
  • Mentor Verification Data: If you apply to become a mentor, an image of a valid government-issued ID, and any resume or supporting credential files you choose to upload. See Section 4.

2. How We Use Your Information

We process collected data for the following essential purposes:

  • Generating personalized AI code reviews, time/space complexity estimates, and refactoring tips.
  • Tracking your module completion progress, active streaks, and leaderboard rankings.
  • Maintaining cloud code execution sandboxes and preventing platform abuse or malicious scripts.
  • Verifying the identity of people who apply to become mentors.
  • Sending essential account notifications, password resets, and payment receipts for CodeCoin top-ups.

3. AI Code Review & Data Privacy Guarantees

When you request AI code mentorship or submit code for evaluation, your code snippets are transmitted securely to our AI evaluation pipeline.

Zero-Training Guarantee: We explicitly contract with enterprise AI model providers to ensure that your private code submissions are never used to train public foundation models or shared with unauthorized third parties.

4. Mentor Identity Verification

To protect learners, people who apply to create modules and assessments as mentors must verify who they are. This section applies only to mentor applicants; learners are never asked for an ID.

  • What we collect:An image (PNG, JPG, or WebP) of a valid government-issued ID, such as a passport, driver's license, or national ID. You may also upload a resume and up to three supporting credential files, which are optional.
  • Why we collect it: Only to confirm that the applicant is a real person and to decide whether to approve the mentor account. We do not use your ID for advertising, profiling, or AI model training.
  • Who can see it: Authorized CodeMentorAI administrators reviewing mentor applications. Your ID is never shown to learners, other mentors, or on your public profile.
  • Where it is stored: In our storage provider, Supabase, under the same security controls described in Section 8.
  • How long we keep it: Only as long as needed to review your application and to keep your mentor account in good standing. If you delete your account or ask us to remove your ID, it is permanently deleted within 30 days (see Section 7).

5. Information Sharing & Third-Party Services

We do not sell, rent, or trade your personal information. We only share data with trusted infrastructure vendors bound by strict confidentiality obligations:

  • Authentication & Database: Supabase (PostgreSQL encrypted storage).
  • Cloud Infrastructure: Vercel and AWS execution sandboxes.
  • Payment Processors: Stripe (PCI-DSS compliant payment processing).

6. Cookies & Local Storage State

We utilize essential HTTP cookies and browser LocalStorage solely to maintain your active authentication session, save unsubmitted code editor drafts, and preserve user preferences (e.g., dark theme selection, language filters).

7. Data Retention & Erasure

We retain your account profile and submission history for as long as your account remains active. You have the right to request full account deletion and data erasure at any time by contacting our support team. Upon deletion, your personal data will be permanently purged within 30 days.

8. Data Security Measures

We implement robust technical and organizational security controls, including TLS/SSL encryption in transit, AES-256 database encryption at rest, role-based access control (RBAC), and isolated container execution environments to safeguard your code and personal data.

9. Your Rights (GDPR & CCPA Compliance)

Depending on your location, you possess privacy rights under applicable data protection laws (including GDPR and CCPA):

  • The right to access and receive a copy of your stored personal data.
  • The right to rectify inaccurate profile information.
  • The right to object to data processing or request account erasure.

10. International Data Transfers

CodeMentorAI operates global cloud infrastructure. Information collected may be stored and processed in the United States or other countries where our server providers maintain facilities. By using the Platform, you consent to the transfer of data across international borders under applicable legal safeguards.

11. Contact Us Regarding Privacy

If you have any questions, requests, or privacy concerns regarding this Privacy Policy, please reach out to our Privacy Office using the details below.

CodeMentorAI Data Protection Office