{"adoption": {"forks": 543, "observed_at": "2026-08-28T04:06:40.064462+00:00", "stars": 2348}, "canonical_url": "https://ross.abutalabs.com/products/cpbook-code", "card": {"archived": false, "artifact_type": "learning-resource", "description": "CP4 Free Source Code Project (C++17, Java11, Python3 and OCaml)", "domain": ["education", "programming-languages"], "enriched": true, "function": ["developer-tools"], "health_score": 73, "homepage": null, "language": "Java", "license": null, "license_family": "other", "maturity": "active", "member_repos": ["stevenhalim/cpbook-code"], "name": "stevenhalim/cpbook-code", "platform": ["cross-platform"], "pushed_at": "2026-06-16T05:58:28+00:00", "repo": "stevenhalim/cpbook-code", "stars": 2348, "tags": ["competitive-programming", "data-structures", "algorithms", "reference-code", "cp4", "cpp", "java", "python", "ocaml"], "topics": [], "urls": [], "use_cases": ["study data structures and algorithms for competitive programming", "find reference implementations of classic algorithms before a contest", "copy well-tested algorithm templates like segment trees or graph algorithms", "compare algorithm implementations across C++, Java, Python, and OCaml", "supplement reading the Competitive Programming 4 book with runnable code", "prepare for ICPC or Codeforces contests with reusable code snippets"], "what_it_is": "The free companion source code repository for the Competitive Programming 4 book, containing implementations of well-known data structures and algorithms in C++17, Java 11, Python 3, and OCaml. It serves as a reference library that programmers can copy, adapt, and use in contests or other coding projects.", "when_to_avoid": ["you need a production-ready algorithm library with package management and versioned releases", "you want a general-purpose data structures library to use as a dependency in applications", "you need code with a formal open-source license file for commercial redistribution", "you are looking for tutorials or explanations rather than source code"], "when_to_choose": ["you are preparing for programming contests and want battle-tested algorithm templates", "you want to learn how classic data structures and algorithms are implemented in multiple languages", "you are reading the CP4 book and want its accompanying code", "you need a quick reference implementation rather than writing algorithms from scratch"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cpbook-code", "repo": "stevenhalim/cpbook-code", "role": "main", "score": 71}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.064462+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:36:59.832341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1bf3783d388e218b1d9bd2944cb5d68d7e3d30020419d41a154e216f3bb3ff", "fetched_at": "2026-08-28T04:06:40.064462+00:00", "kind": "readme", "missing": false, "url": "https://github.com/stevenhalim/cpbook-code"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.064462+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:36:59.832341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1bf3783d388e218b1d9bd2944cb5d68d7e3d30020419d41a154e216f3bb3ff", "fetched_at": "2026-08-28T04:06:40.064462+00:00", "kind": "readme", "missing": false, "url": "https://github.com/stevenhalim/cpbook-code"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:36:59.832341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1bf3783d388e218b1d9bd2944cb5d68d7e3d30020419d41a154e216f3bb3ff", "fetched_at": "2026-08-28T04:06:40.064462+00:00", "kind": "readme", "missing": false, "url": "https://github.com/stevenhalim/cpbook-code"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.064462+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.064462+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.064462+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:36:59.832341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1bf3783d388e218b1d9bd2944cb5d68d7e3d30020419d41a154e216f3bb3ff", "fetched_at": "2026-08-28T04:06:40.064462+00:00", "kind": "readme", "missing": false, "url": "https://github.com/stevenhalim/cpbook-code"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.064462+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.064462+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:36:59.832341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1bf3783d388e218b1d9bd2944cb5d68d7e3d30020419d41a154e216f3bb3ff", "fetched_at": "2026-08-28T04:06:40.064462+00:00", "kind": "readme", "missing": false, "url": "https://github.com/stevenhalim/cpbook-code"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.064462+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.064462+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.064462+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:36:59.832341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1bf3783d388e218b1d9bd2944cb5d68d7e3d30020419d41a154e216f3bb3ff", "fetched_at": "2026-08-28T04:06:40.064462+00:00", "kind": "readme", "missing": false, "url": "https://github.com/stevenhalim/cpbook-code"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.064462+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.064462+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:36:59.832341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1bf3783d388e218b1d9bd2944cb5d68d7e3d30020419d41a154e216f3bb3ff", "fetched_at": "2026-08-28T04:06:40.064462+00:00", "kind": "readme", "missing": false, "url": "https://github.com/stevenhalim/cpbook-code"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:36:59.832341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1bf3783d388e218b1d9bd2944cb5d68d7e3d30020419d41a154e216f3bb3ff", "fetched_at": "2026-08-28T04:06:40.064462+00:00", "kind": "readme", "missing": false, "url": "https://github.com/stevenhalim/cpbook-code"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:36:59.832341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1bf3783d388e218b1d9bd2944cb5d68d7e3d30020419d41a154e216f3bb3ff", "fetched_at": "2026-08-28T04:06:40.064462+00:00", "kind": "readme", "missing": false, "url": "https://github.com/stevenhalim/cpbook-code"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:36:59.832341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1bf3783d388e218b1d9bd2944cb5d68d7e3d30020419d41a154e216f3bb3ff", "fetched_at": "2026-08-28T04:06:40.064462+00:00", "kind": "readme", "missing": false, "url": "https://github.com/stevenhalim/cpbook-code"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 87, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2836, "days_push": 78, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 71, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}