File size: 4,215 Bytes
8af63d1
 
 
 
 
 
 
 
 
 
 
 
 
 
70d5e26
8af63d1
 
90eecca
70d5e26
 
 
d2c766a
8af63d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f3898d2
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: mit
task_categories:
- text-generation
- table-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}}
}
```