Datasets:
File size: 10,257 Bytes
8af63d1 044d858 8af63d1 70d5e26 8af63d1 90eecca 70d5e26 d2c766a 8af63d1 f3898d2 8af63d1 044d858 8af63d1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 |
---
license: mit
task_categories:
- text-generation
- table-question-answering
- question-answering
language:
- ru
- en
tags:
- 1с
- ones
- 1C
- 1С
- один-с
pretty_name: 1C_forums_dataset_by_arefaste
size_categories:
- 1K<n<10K
configs:
- config_name: default
data_files:
- split: train
path: result_final_make_dataset.parquet
---
# 1C_forums: Dataset based parsed data from two of the most popular forums for 1c
This dataset made of the parsed data from two forums for coders at the 1C languages:
- [Infostart](https://forum.infostart.ru/group2/?a=26694) - all threads presents as like think section for model, and marked as the best result for queestion as final answer
- [Fastcode](https://fastcode.im/Templates?TemplatesOnly=True) - Only templates
## Dataset Overview
All rows prepared as useful columns. All text prepared as markdown text, and code 1c looks as like:
```md
\`\`\`1c
"ВЫБРАТЬ
| Ссылка.Контрагент,
| Ссылка.Магазин,
| СУММА(КоличествоСпрос) КАК КолвоСпрос
|ИЗ
| Документ.СпросНаТовар.Товары
|ГДЕ Ссылка.Дата МЕЖДУ ДОБАВИТЬКДАТЕ(&ДатаНачало, ГОД, -10) И &ДатаНачало
| СГРУППИРОВАТЬ ПО Ссылка.Контрагент, СсылкаМагазин";.
\`\`\`
```
### ❗IMPORTANT❗: Escaping special characters
Values in columns `prompt`, `think_process`, and `solution` have escaped special characters like `\n`, `\t`, and `\\`!
The reason for this behavior: the Python's `csv` module that I'm using in the parser to save rows saves `\n` as an actual newline character,
which makes reading the prepared file with Pandas impossible.
To fix it use simple lambda code:
```python
return_back_special_symbols = lambda x: x.replace("\\n", "\n").replace("\\t", "\t").replace("\\\\", "\\")
```
### Infostart
Choosen data at [Infostart](https://forum.infostart.ru/group2/?a=26694) are all forums threads with found answers in section Dev.
- `source` - for all rows for Infostart forum contains this value `forum_infostart`
- `in_source_id` - id of the thread from that web forum. To get link to this page use this format: `https://forum.infostart.ru/forum9/{in_source_id}/`
- `prompt` - it's a first question(msg) in thread.
- `think_process` - its all thread discution presented as like think process that in there each msg between others separeted `\n----\n`
- `solution` - msgs marked in thread as like solution for question
- `is_answer_a_link` - if link contains a more then 60-70% of all solution, it's contains value `True`, else `False`
- `has_link` - Counter links in solution. If solution doesn't contains any link, it value will be a `Nan`
- `tags` - predicted tags
### FastCode
All data at [Fastcode](https://fastcode.im/Templates?TemplatesOnly=True) are only templates, comments for this code made as new section `# Примечание` that what shows each comment.
- `source` - for all rows for Fastcode forum contains this value `fastcode_Templates`
- `in_source_id` - id of the thread from that web forum. To get link to this page use this format: `https://fastcode.im/Templates/{in_source_id}/`
- `prompt` - it's title of the template.
- `think_process` - **`None` - it's dont use it at all!**
- `solution` - it's description(if it's contains there) and code with notes(it's comments, if its are there)
- `is_answer_a_link` - if link contains a more then 60-70% of all solution, it's contains value `True`, else `False`
- `has_link` - Counter links in solution. If solution doesn't contains any link, it value will be a `Nan`
- `tags` - Tags at template separated by comma
## Dataset Statistics
* **Total examples**: 19041
- forum ***infostart***: 18299
- ***fastcode*** Template: 742
## Parsing scripts
You can find in folder `scripts_parsing`!
## Citation
Please cite this dataset if you use it in your work:
```
@misc{arefaste2025,
title={Arefaste: Parsed dataset for 1c from dataset},
author={arefaste},
year={2025},
publisher={Hugging Face},
howpublished={\url{https://huggingface.co/datasets/arefaste/1C_Forums}}
}
```
# RU DOCS
# 1C_forums: Набор данных на основе распарсенной информации с двух популярных форумов по 1С
Этот набор данных состоит из распарсенной информации с двух форумов для программистов на языке 1С:
- [Infostart](https://forum.infostart.ru/group2/?a=26694) - все ветки представлены как раздел для размышлений модели, а сообщение, отмеченное как лучший ответ на вопрос, помечено как итоговое решение.
- [Fastcode](https://fastcode.im/Templates?TemplatesOnly=True) - Только шаблоны кода.
## Обзор набора данных
Все строки подготовлены в виде полезных столбцов. Весь текст представлен в формате markdown, а код 1C выглядит следующим образом:
```md
\`\`\`1c
"ВЫБРАТЬ
| Ссылка.Контрагент,
| Ссылка.Магазин,
| СУММА(КоличествоСпрос) КАК КолвоСпрос
|ИЗ
| Документ.СпросНаТовар.Товары
|ГДЕ Ссылка.Дата МЕЖДУ ДОБАВИТЬКДАТЕ(&ДатаНачало, ГОД, -10) И &ДатаНачало
| СГРУППИРОВАТЬ ПО Ссылка.Контрагент, СсылкаМагазин";.
\`\`\`
```
### ❗ВАЖНО❗: Экранирование специальных символов
Значения в столбцах `prompt`, `think_process` и `solution` содержат экранированные специальные символы, такие как `\n`, `\t` и `\\`!
Причина такого поведения: модуль `csv` в Python, который используется в парсере для сохранения строк, сохраняет `\n` как символ переноса строки, что делает невозможным чтение подготовленного файла с помощью Pandas.
Чтобы это исправить, используйте простой лямбда-код:
```python
return_back_special_symbols = lambda x: x.replace("\\n", "\n").replace("\\t", "\t").replace("\\\\", "\\")
```
### Infostart
Выбранные данные с [Infostart](https://forum.infostart.ru/group2/?a=26694) - это все ветки форума с найденными ответами в разделе для разработчиков (Dev).
- `source` - для всех строк с форума Infostart содержит значение `forum_infostart`
- `in_source_id` - идентификатор ветки с этого веб-форума. Чтобы получить ссылку на страницу, используйте формат: `https://forum.infostart.ru/forum9/{in_source_id}/`
- `prompt` - это первый вопрос (сообщение) в ветке.
- `think_process` - это все обсуждение в ветке, представленное как процесс размышления, где каждое сообщение отделено от других с помощью `\n----\n`
- `solution` - сообщения в ветке, отмеченные как решение вопроса
- `is_answer_a_link` - если ссылка составляет более 60-70% всего решения, содержит значение `True`, иначе `False`
- `has_link` - счетчик ссылок в решении. Если решение не содержит ссылок, значение будет `NaN`
- `tags` - предсказанные теги
### FastCode
Все данные с [Fastcode](https://fastcode.im/Templates?TemplatesOnly=True) - это только шаблоны кода. Комментарии к этому коду сделаны в новом разделе `# Примечание`, который показывает каждый комментарий.
- `source` - для всех строк с форума Fastcode содержит значение `fastcode_Templates`
- `in_source_id` - идентификатор шаблона с этого веб-форума. Чтобы получить ссылку на страницу, используйте формат: `https://fastcode.im/Templates/{in_source_id}/`
- `prompt` - это заголовок шаблона.
- `think_process` - **`None` - не используется вообще!**
- `solution` - это описание (если есть) и код с примечаниями (комментариями, если они есть)
- `is_answer_a_link` - если ссылка составляет более 60-70% всего решения, содержит значение `True`, иначе `False`
- `has_link` - счетчик ссылок в решении. Если решение не содержит ссылок, значение будет `NaN`
- `tags` - Теги шаблона, разделенные запятой
## Статистика набора данных
* **Общее количество примеров**: 19041
* форум ***infostart***: 18299
* шаблонов ***fastcode***: 742
## Скрипты для парсинга
Их можно найти в папке `scripts_parsing`!
## Цитирование
Пожалуйста, процитируйте этот набор данных, если используете его в своей работе:
```
@misc{arefaste2025,
title={Arefaste: Parsed dataset for 1c from dataset},
author={arefaste},
year={2025},
publisher={Hugging Face},
howpublished={\url{https://huggingface.co/datasets/arefaste/1C_Forums}}
}
``` |