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

Update README to match collection notebook

Browse files
Files changed (1) hide show
  1. README.md +12 -9
README.md CHANGED
@@ -39,10 +39,12 @@ issues, and the scikit-learn project is well known, openly developed and well do
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, then assembled into a pandas DataFrame, saved as CSV and published to the Hugging Face Hub in Parquet format.
44
- - Collection date: 12 October 2026
45
- - Authentication: requests were authenticated with a GitHub personal access token. The token is not included in this dataset or repository.
46
  - Scope: the dataset contains issues only. No pull requests are included (no record has a `/pull/` URL).
47
  - 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.
48
 
@@ -72,6 +74,7 @@ issues, and the scikit-learn project is well known, openly developed and well do
72
  - Duplicates: none found (all `issue_id`, `issue_number` and `html_url` values are unique).
73
  - Derived fields added: `text_length` and `time_to_close_hours`.
74
  - Missing values were **kept, not imputed**: 9 empty bodies, 235 records without labels, and 5 open issues without `closed_at` / `time_to_close_hours`.
 
75
 
76
  ## 6. Initial data summary
77
 
@@ -106,11 +109,11 @@ Not intended for: profiling individual contributors, or drawing conclusions abou
106
 
107
  ## 9. Ethics, legal and compliance
108
 
109
- - **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.
110
  - **Attribution:** content originates from the scikit-learn GitHub project and its contributors; every record links back to its original issue via `html_url`.
111
  - **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.
112
- - **Terms of service:** data was collected from publicly available content through the official GitHub API.
113
- - **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, secure handling of credentials, and versioned storage.
114
  - **Security:** API tokens are not stored in the notebooks or this repository.
115
 
116
  ## 10. Risks and corrective actions
@@ -127,9 +130,9 @@ Not intended for: profiling individual contributors, or drawing conclusions abou
127
  ## 11. Storage, versioning and reproducibility
128
 
129
  - Published on the Hugging Face Hub (git-based, so every commit is versioned): https://huggingface.co/datasets/BeNatural/github-scikit-learn-issues-dataset
130
- - Notebooks: three notebooks (data collection and augmentation, Transformers pipeline, FAISS semantic search) are submitted with this assessment as evidence.
131
- - Local copy: the CSV and notebooks are kept as a backup copy alongside the project files.
132
- - Version: v1.0, collected 12 October 2026. Any later changes to the data or processing should be recorded here.
133
 
134
  ## 12. References
135
 
 
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
 
 
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
 
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
 
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