task_categories:text-generation task_categories:question-answering task_ids:language-modeling task_ids:open-domain-qa annotations_creators:crowdsourced language_creators:crowdsourced multilinguality:monolingual size_categories:1K<n<10K source_datasets:original language:ru license:cc0-1.0 region:us
This is a dataset of lessons and tests scraped from resh.edu.ru
---
annotations_creators:
- crowdsourced
language:
- ru
language_creators:
- crowdsourced
license:
- cc0-1.0
multilinguality:
- monolingual
pretty_name: resh.edu.ru
size_categories:
- 1K<n<10K
source_datasets:
- original
tags: []
task_categories:
- text-generation
- question-answering
task_ids:
- language-modeling
- open-domain-qa
---

# Dataset Card for resh.edu.ru

## Table of Contents
- [Dataset Card for resh.edu.ru](#dataset-card-for-resheduru)
  - [Table of Contents](#table-of-contents)
  - [Dataset Description](#dataset-description)
    - [Dataset Summary](#dataset-summary)
    - [Languages](#languages)
  - [Dataset Structure](#dataset-structure)
    - [Data Fields](#data-fields)
    - [Data Splits](#data-splits)
  - [Dataset Creation](#dataset-creation)
  - [Additional Information](#additional-information)
    - [Dataset Curators](#dataset-curators)
    - [Licensing information](#licensing-information)

## Dataset Description

- **Repository:** https://github.com/its5Q/resh-edu

### Dataset Summary

This is a dataset of lessons scraped from [resh.edu.ru](https://resh.edu.ru/). There are 7260 lessons with some metadata, the summary of those lessons, and some training excersices.
The raw unprocessed dataset is stored in `raw.jsonl.gz`. A processed version for causal language modeling will be out in the coming days.

### Languages

The dataset is in Russian, unless the lesson subject is foreign languages (there are Chinese, German, English and other lessons).

## Dataset Structure

### Data Fields

The lessons in the dataset should be in the following structure:
- `id` - lesson's ID (`int`)
- `format` - specifies the lesson format that was parsed (old or new) (`string`)
- `subject` - which subject does the lesson belong to (`string`)
- `title` - lesson's title (`string`)
- `author` - lesson's author name (empty in new lessons) (`string`)
- `grade` - lesson's grade (`int`)
- `summary` - lesson's summary in HTML (`string`)
- `excercises` - list of training excercises for the lesson. The structure of excercises varies on their type, and is described below.

All excercises have the following fields:
- `id` - excercise ID (`int`)
- `title` - excercise's title (`string`)
- `question` - question's HTML (`string`)
- `question_type` - type of question, differences between types is described below (`string`).

These are the question types:
- `single_choice` and `multiple_choice`  
  A task that requires you to choose one or multiple answers to a question.
  - `choices` - a list of possible choices
    - `id` - choice ID (`string`)
    - `html` - choice's HTML (`string`)
    - `correct` - indicates if the choice is correct (`bool`)
- `text_entry`  
  Requires you to fill in the blanks by typing in your answer
  - `text` - the text with blanks (in HTML format) (`string`)
  - `answers` - list of strings with correct answers that you need to fill in (`list[string]`)
- `gap_match_text`
  Requires you to fill in the gaps in text by choosing from a predefined list of answers.
  - `text` - the text with gaps (in HTML format) (`string`)
  - `choices` - list of possible answers you could choose from to fill the gaps with (plaintext) (`list[string]`)
  - `answers` - list of correct answers (plaintext) (`list[string]`)
- `gap_match_color`
  Requires you to paint different parts of text with colors
  - `text` - the text that you need to paint (in HTML format) (`string`)
  - `answers` - list of text part's IDs and their respectable color
- `two_sets_association`
  Requires you to split a list of items into pairs
  - `choices` - list of all items (in HTML format) (`list[string]`)
  - `pairs` - list of items split into pairs (in HTML format) (`list[string]`)
- `inline_choice`
  Requires you to fill in the blanks by choosing from a predefined set of answers
  - `choices` - list of lists of possible choices (plaintext) (`list[list[string]]`)
  - `answers` - list of correct answers (plaintext) (`list[string]`)
- `order`
  Requires you to put items in the correct order. Could contain multiple tasks, hence the list nesting.
  - `choices` - list of lists of scrabled items (in HTML format) (`list[list[string]]`)
  - `answers` - list of lists of correctly ordered items (in HTML format) (`list[list[string]]`)
- `gap_match_table`
  Requires you to split items into two groups.
  - `columns` - group names (plaintext) (`list[string]`)
  - `answers` - list of lists of items in each column (in HTML format) (`list[list[string]]`)



### Data Splits

There are 7260 lessons, all in the train split.

## Dataset Creation

The data was scraped using a script located in [my GitHub repository](https://github.com/its5Q/resh-edu).

## Additional Information

### Dataset Curators

- https://github.com/its5Q

### Licensing information

The lessons provided on [resh.edu.ru](https://resh.edu.ru/) are not protected by copyright and can be reused and distributed freely, as per Article 43 of the Constitution of the Russian Federation, and the Federal Law No. 273 of 29 December 2012 on Education.
