--- license: mit task_categories: - text-generation language: - en tags: - code pretty_name: GoodDocs-v0 size_categories: - 100K/cleaned_texts_on_metadata_only.parquet`. ## Awesome list extraction `data_collection_utils/awesome_final_repos.py` crawls the Awesome list-of-lists and extracts final repositories (those whose repo names do not include "awesome"). For each bullet entry like: ``` * [Fuse](https://github.com/owner/repo) - Mobile development tools. ``` It records: - `name`: the markdown link text (e.g., `Fuse`). - `link`: canonical GitHub repository URL (e.g., `https://github.com/owner/repo`). - `description`: text after the ` - ` dash, or the rest of the line (with the link and bullet removed) if no dash. - `stars` (optional): repository stargazers count when enabled. Configuration is YAML-first via `data_collection_utils/awesome_scrap_config.yaml`: - `root`: root Awesome repository URL, e.g., `https://github.com/sindresorhus/awesome`. - `depth`: recursion depth for nested Awesome lists (0 = only root). - `output_dir`: directory for `awesome-repos.parquet`. - `cache_dir`: directory for README fetch caches. - `workers`: concurrency for network requests. - `fetch_stars`: when `true`, also fetch stargazers for each parsed repo (makes extra API calls) and include a `stars` column. Run: ```bash python3 data_collection_utils/awesome_final_repos.py # or adjust via YAML first, then run without flags ``` Schema of `awesome-repos.parquet`: - `name` — link text from the Awesome entry. - `link` — canonical GitHub URL (). - `description` — description text without the leading ` - ` and without repeating the name. - `source_repo` — the Awesome list repository where the entry was found, formatted as `owner/repo`. - `stars` — integer, optional; only present when `fetch_stars: true`. ## Language filtering Language detection is performed with `langid.py` (see imports in `data_collection_utils/scrape_gh_docs.py`). The default configuration keeps English-only files (`lang_filter: en`). There is no probability/confidence threshold; we gate by the predicted language label and a minimum text length (`min_text_chars`). ## Licensing - Code and dataset scaffolding in this repository are under the MIT license (see frontmatter). - The original documentation content belongs to the respective upstream projects and remains governed by their licenses. Please consult each repository’s license before redistribution or commercial use. ## Acknowledgements This dataset draws from the open-source community’s documentation efforts. The seed list targets highly-starred repositories to bias toward quality, breadth, and maturity. Note to self: `size` distribution: 20th percentile - 363 symbols, 50p - 701, 95p - 17392