| ## ezio007/Data-StackExchange-Deduped |
|
|
| 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. |
|
|
| ### Included Tags |
| The dataset contains content associated with the following tags: |
|
|
| 1. svn |
| 2. mercurial |
| 3. perforce |
| 4. tfs |
| 5. cvs |
| 6. bazaar |
| 7. bitkeeper |
| 8. git |
| 9. cmd |
| 10. bash |
|
|
| ### Data Collection |
| - Questions and **only their accepted answers** were extracted. |
| - Data was filtered to include **exactly one entry per Question ID**. |
| - Filtered Question and Answer Quality (q_score>5 && a_score>10) |
|
|
| ### Data Cleaning & Preprocessing |
| - **Exact deduplication** was performed based on `question_id`. |
| - All entries containing tags related to **GitHub** or **GitLab** (including variants) were removed to avoid platform-specific bias. |
| - Only tag-relevant, non-duplicated question–answer pairs were retained. |
|
|
| ### Purpose |
| This dataset is intended for: |
| - Version control system comparison and analysis |
| - Command-line and shell usage understanding |
| - Training or evaluating NLP models on technical Q&A data |
|
|
| ## Dataset Schema |
|
|
| | # | Column Name | Data Type | Description | |
| |----|---------------------------|-----------|-------------| |
| | 1 | QuestionId | object | Unique Stack Exchange question identifier | |
| | 2 | QuestionTitle | object | Title of the question | |
| | 3 | QuestionScore | int64 | Community score of the question | |
| | 4 | QuestionCreatedUtc | object | Question creation timestamp (UTC) | |
| | 5 | QuestionBodyHtml | object | HTML body of the question | |
| | 6 | QuestionViewCount | int64 | Number of views for the question | |
| | 7 | QuestionOwnerUserId | float64 | User ID of the question author | |
| | 8 | QuestionLastActivityUtc | object | Last activity timestamp for the question | |
| | 9 | AcceptedAnswerId | int64 | ID of the accepted answer | |
| | 10 | AnswerScore | int64 | Community score of the accepted answer | |
| | 11 | AnswerCreatedUtc | object | Answer creation timestamp (UTC) | |
| | 12 | AnswerOwnerUserId | float64 | User ID of the answer author | |
| | 13 | AnswerLastActivityUtc | object | Last activity timestamp for the answer | |
| | 14 | QuestionLink | object | URL to the Stack Exchange question | |
| | 15 | AnswerLink | object | URL to the accepted answer | |
| | 16 | AnswerBodyHtml | object | HTML body of the accepted answer | |
| | 17 | AnswerBodyPreview | object | Text preview of the accepted answer | |
| | 18 | AllTagIdsCsv | object | Comma-separated tag IDs | |
| | 19 | AllTagNamesCsv | object | Comma-separated tag names | |
| | 20 | MergedQuestion | object | Merged and cleaned question text | |
| | 21 | quality_filter | object | Quality filtering label | |
| | 22 | unique_id | int64 | Internally generated unique identifier | |
| | 23 | tag_major_lang | object | Primary tag / language category | |
|
|
| --- |
|
|
| ## Record Counts by Tag |
|
|
| | Tag | Total Rows | |
| |------------|------------| |
| | bash | 11,692 | |
| | git | 7,146 | |
| | cmd | 1,710 | |
| | svn | 825 | |
| | mercurial | 549 | |
| | tfs | 305 | |
| | perforce | 138 | |
| | cvs | 48 | |
| | bazaar | 16 | |
| | bitkeeper | 1 | |
|
|
| ### Total Rows Across All Files |
| **22,430** |
|
|