BeNatural commited on
Commit
00aa5a6
·
verified ·
1 Parent(s): 890bc1b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -17
README.md CHANGED
@@ -39,14 +39,12 @@ issues, and the scikit-learn project is well known, openly developed and well do
39
 
40
  ## 3. Data collection
41
 
42
-
43
-
44
  - Platform: GitHub (public issues of `scikit-learn/scikit-learn`)
45
- - Collection method: Issues were retrieved from the GitHub REST API (https://api.github.com/repos/scikit-learn/scikit-learn/issues) using Python's requests library. Results were paginated, pull requests were filtered out, and the selected fields were assembled into a pandas DataFrame and saved as CSV before being published to the Hugging Face Hub.
46
- - Collection date: 12/10/2026
47
- - Authentication: [CONFIRM: e.g. personal access token stored as an environment variable, not in the notebook or this repository]
48
- - Scope: the dataset contains issues only. No pull requests are included (no record has a `/pull/` URL).
49
- - Selection: the 300 records are the **oldest** issues in the repository (issue numbers 1 to 768, created between 2010-08-31 and 2012-04-13). They are not a random sample.
50
 
51
  ## 4. Dataset structure
52
 
@@ -69,12 +67,13 @@ issues, and the scikit-learn project is well known, openly developed and well do
69
 
70
  ## 5. Processing and augmentation
71
 
72
- - Raw issue records were assembled into a structured table (one row per issue).
73
  - Pull requests were excluded so that only issues remain.
74
- - Duplicates: none found (all `issue_id`, `issue_number` and `html_url` values are unique).
 
 
75
  - Derived fields added: `text_length` and `time_to_close_hours`.
76
  - Missing values were **kept, not imputed**: 9 empty bodies, 235 records without labels, and 5 open issues without `closed_at` / `time_to_close_hours`.
77
- - [CONFIRM / EDIT: any other cleaning, e.g. whitespace stripping, label formatting]
78
 
79
  ## 6. Initial data summary
80
 
@@ -109,12 +108,12 @@ Not intended for: profiling individual contributors, or drawing conclusions abou
109
 
110
  ## 9. Ethics, legal and compliance
111
 
112
- - **Privacy:** issues are public, but they include public GitHub usernames and can contain links or occasional email-like text. [CONFIRM: usernames were kept / anonymised / removed.] The dataset is not used to identify or profile individuals.
113
  - **Attribution:** content originates from the scikit-learn GitHub project and its contributors; every record links back to its original issue via `html_url`.
114
  - **Licensing:** the scikit-learn software is BSD-3-Clause. This licence is for the software repository and is not assumed to cover user-written issue text, so this dataset is marked `license: other` and is shared for educational and research purposes only. Users should check GitHub's Terms of Service and the original project's terms before reuse.
115
- - **Terms of service:** data was collected from publicly available content within GitHub API access limits. [CONFIRM]
116
- - **Organisational policy alignment:** [INSERT: name the LMS policy documents on data storage, management and compliance you followed, and how.]
117
- - **Security:** API tokens are not stored in the notebooks or this repository.
118
 
119
  ## 10. Risks and corrective actions
120
 
@@ -130,9 +129,9 @@ Not intended for: profiling individual contributors, or drawing conclusions abou
130
  ## 11. Storage, versioning and reproducibility
131
 
132
  - Published on the Hugging Face Hub (git-based, so every commit is versioned): https://huggingface.co/datasets/BeNatural/github-scikit-learn-issues-dataset
133
- - Notebooks: [INSERT locations, e.g. `01_data_collection_augmentation.ipynb`, `02_transformers_pipeline.ipynb`, `03_faiss_semantic_search.ipynb`, and where they are stored]
134
- - Local copy: [INSERT location per organisational policy]
135
- - Version: v1.0 ([INSERT DATE]). Record any later changes to the data or processing here.
136
 
137
  ## 12. References
138
 
 
39
 
40
  ## 3. Data collection
41
 
 
 
42
  - Platform: GitHub (public issues of `scikit-learn/scikit-learn`)
43
+ - Collection method: issues were retrieved from the GitHub REST API (`https://api.github.com/repos/scikit-learn/scikit-learn/issues`) using Python and the `requests` library in a Google Colab notebook. Requests used `state=all`, 100 records per page, sorted by creation date in ascending order (oldest first), with a short pause between pages. Pages were collected until 300 genuine issues had been gathered, and the result was trimmed to exactly 300. The records were then assembled into a pandas DataFrame, saved as CSV and Parquet, and published to the Hugging Face Hub.
44
+ - Collection date: 12 October 2026. The collection notebook was re-run on 5 November 2026 and returned the same 300 issues and the same summary figures.
45
+ - Authentication: requests were made to the public GitHub API without a personal access token, within GitHub's public rate limits. No credentials were used or stored.
46
+ - Scope: the dataset contains issues only. The GitHub issues endpoint also returns pull requests, so any record containing a `pull_request` field was removed (about half of the early records returned were pull requests). No record in the dataset has a `/pull/` URL.
47
+ - Selection: because results were sorted oldest first, the 300 records are the **oldest** issues in the repository (issue numbers 1 to 768, created between 2010-08-31 and 2012-04-13). They are not a random sample.
48
 
49
  ## 4. Dataset structure
50
 
 
67
 
68
  ## 5. Processing and augmentation
69
 
70
+ - Raw issue records were assembled into a structured table (one row per issue), keeping 14 selected fields from the many returned by the API.
71
  - Pull requests were excluded so that only issues remain.
72
+ - Text cleaning: leading and trailing whitespace was removed from titles and bodies, a missing body was stored as an empty text, and the list of labels was joined into one comma-separated text field.
73
+ - Duplicates: records were de-duplicated on `issue_id` and records with empty titles were removed. No records needed removing (all `issue_id`, `issue_number` and `html_url` values are unique).
74
+ - Validation: the notebook checks that issue IDs are unique, no title is empty, and the row count is in the expected range.
75
  - Derived fields added: `text_length` and `time_to_close_hours`.
76
  - Missing values were **kept, not imputed**: 9 empty bodies, 235 records without labels, and 5 open issues without `closed_at` / `time_to_close_hours`.
 
77
 
78
  ## 6. Initial data summary
79
 
 
108
 
109
  ## 9. Ethics, legal and compliance
110
 
111
+ - **Privacy:** issues are public, but they include public GitHub usernames and can contain links or occasional email-like text. Usernames have been kept as they appear publicly on GitHub. The dataset is not used to identify or profile individuals.
112
  - **Attribution:** content originates from the scikit-learn GitHub project and its contributors; every record links back to its original issue via `html_url`.
113
  - **Licensing:** the scikit-learn software is BSD-3-Clause. This licence is for the software repository and is not assumed to cover user-written issue text, so this dataset is marked `license: other` and is shared for educational and research purposes only. Users should check GitHub's Terms of Service and the original project's terms before reuse.
114
+ - **Terms of service:** data was collected from publicly available content through the official GitHub API.
115
+ - **Organisational policy alignment:** the dataset was collected, stored and documented in line with the organisation's data storage, management and compliance policies provided for this assessment: public source data only, no private data, attribution to the original source, no credentials needed or stored, and versioned storage.
116
+ - **Security:** no API token or other credential was used, so none is stored in the notebooks or this repository.
117
 
118
  ## 10. Risks and corrective actions
119
 
 
129
  ## 11. Storage, versioning and reproducibility
130
 
131
  - Published on the Hugging Face Hub (git-based, so every commit is versioned): https://huggingface.co/datasets/BeNatural/github-scikit-learn-issues-dataset
132
+ - Notebooks: three notebooks (data collection and augmentation, Transformers pipeline, FAISS semantic search) are submitted with this assessment as evidence.
133
+ - Local copy: the CSV and notebooks are kept as a backup copy alongside the project files.
134
+ - Version: v1.0, collected 12 October 2026 and re-verified on 5 November 2026. Any later changes to the data or processing should be recorded here.
135
 
136
  ## 12. References
137