densenet's picture
Upload folder using huggingface_hub
7febd01 verified
|
Raw
History Blame Contribute Delete
3.95 kB
metadata
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:

<!-- 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 on your machine.
  • data_to_parquet.py requires pyarrow.