ezio007 commited on
Commit
d79c4c7
·
verified ·
1 Parent(s): ff21b4a

Create readme.md

Browse files
Files changed (1) hide show
  1. readme.md +80 -0
readme.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## ezio007/Data-StackExchange-Deduped
2
+
3
+ This dataset was created from **Stack Exchange Data Dump**, consisting of **questions and their accepted answers** related to version control systems and command-line environments.
4
+
5
+ ### Included Tags
6
+ The dataset contains content associated with the following tags:
7
+
8
+ 1. svn
9
+ 2. mercurial
10
+ 3. perforce
11
+ 4. tfs
12
+ 5. cvs
13
+ 6. bazaar
14
+ 7. bitkeeper
15
+ 8. git
16
+ 9. cmd
17
+ 10. bash
18
+
19
+ ### Data Collection
20
+ - Questions and **only their accepted answers** were extracted.
21
+ - Data was filtered to include **exactly one entry per Question ID**.
22
+
23
+ ### Data Cleaning & Preprocessing
24
+ - **Exact deduplication** was performed based on `question_id`.
25
+ - All entries containing tags related to **GitHub** or **GitLab** (including variants) were removed to avoid platform-specific bias.
26
+ - Only tag-relevant, non-duplicated question–answer pairs were retained.
27
+
28
+ ### Purpose
29
+ This dataset is intended for:
30
+ - Version control system comparison and analysis
31
+ - Command-line and shell usage understanding
32
+ - Training or evaluating NLP models on technical Q&A data
33
+
34
+ ## Dataset Schema
35
+
36
+ | # | Column Name | Data Type | Description |
37
+ |----|---------------------------|-----------|-------------|
38
+ | 1 | QuestionId | object | Unique Stack Exchange question identifier |
39
+ | 2 | QuestionTitle | object | Title of the question |
40
+ | 3 | QuestionScore | int64 | Community score of the question |
41
+ | 4 | QuestionCreatedUtc | object | Question creation timestamp (UTC) |
42
+ | 5 | QuestionBodyHtml | object | HTML body of the question |
43
+ | 6 | QuestionViewCount | int64 | Number of views for the question |
44
+ | 7 | QuestionOwnerUserId | float64 | User ID of the question author |
45
+ | 8 | QuestionLastActivityUtc | object | Last activity timestamp for the question |
46
+ | 9 | AcceptedAnswerId | int64 | ID of the accepted answer |
47
+ | 10 | AnswerScore | int64 | Community score of the accepted answer |
48
+ | 11 | AnswerCreatedUtc | object | Answer creation timestamp (UTC) |
49
+ | 12 | AnswerOwnerUserId | float64 | User ID of the answer author |
50
+ | 13 | AnswerLastActivityUtc | object | Last activity timestamp for the answer |
51
+ | 14 | QuestionLink | object | URL to the Stack Exchange question |
52
+ | 15 | AnswerLink | object | URL to the accepted answer |
53
+ | 16 | AnswerBodyHtml | object | HTML body of the accepted answer |
54
+ | 17 | AnswerBodyPreview | object | Text preview of the accepted answer |
55
+ | 18 | AllTagIdsCsv | object | Comma-separated tag IDs |
56
+ | 19 | AllTagNamesCsv | object | Comma-separated tag names |
57
+ | 20 | MergedQuestion | object | Merged and cleaned question text |
58
+ | 21 | quality_filter | object | Quality filtering label |
59
+ | 22 | unique_id | int64 | Internally generated unique identifier |
60
+ | 23 | tag_major_lang | object | Primary tag / language category |
61
+
62
+ ---
63
+
64
+ ## Record Counts by Tag
65
+
66
+ | Tag | Total Rows |
67
+ |------------|------------|
68
+ | bash | 11,692 |
69
+ | git | 7,146 |
70
+ | cmd | 1,710 |
71
+ | svn | 825 |
72
+ | mercurial | 549 |
73
+ | tfs | 305 |
74
+ | perforce | 138 |
75
+ | cvs | 48 |
76
+ | bazaar | 16 |
77
+ | bitkeeper | 1 |
78
+
79
+ ### Total Rows Across All Files
80
+ **22,430**