File size: 3,946 Bytes
7febd01
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
language:
 - en
multilinguality:
 - monolingual
tags:
 - text
 - qa
 - code
 - lua
 - roblox
size_categories:
 - 1K<n<10K
task_categories:
 - question-answering
task_ids:
 - closed-domain-qa
pretty_name: "scriptinghelpers archive"
configs:
  - config_name: raw_data
    data_files:
      - split: train
        path: "questions_raw.snappy.parquet"
  - config_name: parsed_data
    data_files:
      - split: train
        path: "data.snappy.parquet"
dataset_info:
  - config_name: raw_data
    features:
      - name: path
        dtype: string
      - name: content
        dtype: string
    splits:
      - name: train
        num_examples: 5733
  - config_name: parsed_data
    features:
      - name: question_score
        dtype: string
      - name: title  
        dtype: string
      - name: question_userid
        dtype: string
      - name: question_user
        dtype: string
      - name: question_user_score
        dtype: string
      - name: question_datetime
        dtype: string
      - name: question
        dtype: string
      - name: question_id
        dtype: string
      - name: answer_count
        dtype: string
      - name: answer_id
        dtype: string
      - name: answer_score
        dtype: string
      - name: answer_userid
        dtype: string
      - name: answer_user
        dtype: string
      - name: answer_user_score
        dtype: string
      - name: answer_datetime
        dtype: string
      - name: answer
        dtype: string
    splits:
      - name: train
        num_examples: 5129
---

This is a small dataset containing question/answer articles on (now defunct) scriptinghelpers.org, which was a StackExchange-like website for Roblox developers. It was scraped from archive.org about a year ago and parsed with regex.

## Trivia

 - There are 2097 archived articles with accepted answers out of 5129.
 - The earliest question archived was posted on `Sat Feb  1 23:57:31 2014` with question_id `1` by TheGuyWithAShortName entitled `HttpService - PostAsync `. It had an accepted answer posted on `2014-02-17 03:11:33` by MarkOtaris.
 - The last question archived was posted on `Sun Apr  2 01:40:15 2023` with question_id `133258` by RedWirePlatinum entitled `Help with making a bouncy character script *without* creating instances?`.
 - The last question archived with an accepted answer was posted on `Thu Mar 30 18:53:16 2023` with question_id `133254` by krLuCiEzkr entitled `LocalScript that checks if a player has this badge doesn't work? [CLOSED]`. Its answer was posted on `2023-03-30 19:29:01` by MaleficentMaestro.

## Other Notes

The `question` and `answer` columns have an endogenous HTML schema that has not been transformed into Markdown. For instance, in question id `129668`:

```html
<!-- question -->
<p>I was trying to remove the HopperBin in user's inventory using the following script:</p>
<pre class="brush: lua">game.Players.PlayerAdded:Connect(function(player)
    for i,v in pairs(player.Backpack:GetChildren())
        if v:IsA("HopperBin") then
            v:Destroy()
        end
    end
end)
</pre>
<p>Instead of removing, it does nothing.
Any help would be great!</p>

<!-- answer -->
<p>1st of all, you should try it when the <strong>Character</strong> is added. Tools and such do not go straight to the backpack, it <strong>waits until the character is added and then adds tools to the backpack</strong>.</p>
<p>2nd of all, I wouldn't use HopperBins to begin with, as they're <strong>deprecated</strong> (use tools).</p>

```

Parsing was done only with the single-pass regular expression and minimal post-processing to remove recurring anomalies.
Comments and unaccepted answers were not included in the parsed data, but can be found in the raw data.

## Requirements

- `brute.py` requires an installation of [ripgrep](https://github.com/burntsushi/ripgrep#installation) on your machine.
- `data_to_parquet.py` requires pyarrow.