Privacy Policy
How SQL Arena handles and protects personal data
Last updated: May 12, 2026
1. General provisions
This Privacy Policy ("Policy") describes how the Service at https://sql.coderang.dev processes Users' personal data. The data controller is Individual Entrepreneur Artem V. Lusnikov, TIN 861005141399, OGRNIP 321470400032439 ("Operator").
The Policy is drafted in compliance with Federal Law No. 152-FZ of 27 July 2006 "On Personal Data" and applicable regulations, taking into account the EU General Data Protection Regulation (GDPR) for Users from the European Economic Area.
By using the Service and/or registering on the Site, the User confirms their agreement with this Policy.
2. What data is processed
The Operator processes the following categories of personal data:
- Identification data: email address, display name, unique account identifier.
- Authentication data: password hash (the original password is never stored or transmitted), session identifiers (httpOnly cookies).
- OAuth data: user ID, email, name, and avatar obtained from Google, GitHub, or Yandex when signing in via the respective provider.
- Payment data: YooKassa payment ID, amount, date, status. Full card credentials are not stored by the Operator — they remain with the payment provider.
- Service-usage data: User's SQL queries, task-attempt history, grading results, track progress, statistics, request timestamps.
- Technical data: IP address, browser User-Agent, visit time, language preferences, error and performance data.
- AI-feature request content: topic, difficulty, task context, User prompt text — transmitted to the selected AI provider (OpenAI or Anthropic) to produce a response.
3. Purposes and legal bases
Data is processed for the following purposes:
- Providing access to the Service, registration and authentication — legal basis: performance of a contract (Art. 6 para. 1 cl. 5 of 152-FZ, Art. 6(1)(b) GDPR).
- Processing payments, issuing fiscal receipts — legal basis: contract performance and Federal Law No. 54-FZ on cash-register equipment.
- Recording learning progress, building statistics and rankings — legal basis: contract performance.
- Sending service notifications (password reset, payment confirmation, Offer changes) — legal basis: contract performance, Operator's legitimate interest.
- Fraud prevention, infrastructure protection, and security-incident response — legal basis: Operator's legitimate interest (Art. 6(1)(f) GDPR).
- Improving Service quality and analysing feature usage — legal basis: Operator's legitimate interest or User consent.
4. Data sharing with third parties
The Operator shares a limited set of data with the following processors to fulfil the purposes in Section 3:
- YooKassa (YooMoney NBCO LLC) — to process payments. Data shared: email, amount, plan identifier.
- Google LLC, GitHub Inc., Yandex LLC — for OAuth sign-in: identification data is retrieved from the provider and stored by the Operator.
- OpenAI, Inc. and Anthropic, PBC — for AI features: the prompt text and task context are transmitted without identity linkage.
- Hosting provider (owner of the Service's physical infrastructure) — data is processed and stored within the Russian Federation.
- Law-enforcement and state agencies — pursuant to a reasoned request under applicable Russian law.
The Operator does not share personal data with third parties for marketing or ad-targeting purposes without the User's separate consent.
5. Retention periods
- Account data — for the lifetime of the Account; upon deletion — for 30 calendar days, after which the Account and associated personal data are deleted (except data retained by law).
- Payment and fiscal data — 5 years from the date of the transaction, per Russian tax law.
- Task attempts, SQL queries, and progress data — until Account deletion.
- Technical logs and security data — up to 180 days from the event.
- AI-request history — up to 90 days for quality review; afterwards deleted or anonymised.
6. Data security
The Operator applies technical and organisational security measures, including: encrypted connections (HTTPS/TLS), passwords stored as bcrypt hashes, httpOnly cookies for session tokens, least-privilege access for Operator staff, regular backups, and security-incident monitoring and logging.
If a breach affecting Users' personal data is detected, the Operator notifies Roskomnadzor under Art. 19 para. 7 of 152-FZ and, where appropriate, the affected Users.
7. User rights
The User has the right to:
- be informed about the processing of their personal data;
- request correction, restriction, or deletion of data that is inaccurate, outdated, or unlawfully obtained;
- withdraw consent to processing at any time;
- request deletion of the Account and all associated data (right to be forgotten);
- receive a copy of their data in machine-readable format (data portability, for EEA Users);
- lodge a complaint against the Operator with Roskomnadzor or a court.
Requests are sent to coderang.dev@gmail.com. Response time: up to 30 calendar days.
9. Policy changes
The Operator may amend this Policy. The current version is posted at /privacy with the date of last update. Material changes are additionally communicated by email.
10. Contacts
For any questions about personal-data processing, please contact coderang.dev@gmail.com.