{"adoption": {"forks": 363, "observed_at": "2026-08-28T04:08:03.898687+00:00", "stars": 3424}, "canonical_url": "https://ross.abutalabs.com/products/bouk-monkey", "card": {"archived": true, "artifact_type": "library", "description": "Monkey patching in Go", "domain": ["developer-tools", "testing"], "enriched": true, "function": ["testing", "mocking", "developer-tools"], "health_score": 10, "homepage": "https://bou.ke", "language": "Go", "license": "NOASSERTION", "license_family": "other", "maturity": "maintenance", "member_repos": ["bouk/monkey"], "name": "bouk/monkey", "platform": ["go"], "pushed_at": "2020-06-17T09:49:36+00:00", "repo": "bouk/monkey", "stars": 3424, "tags": ["monkey-patching", "runtime-patching", "test-doubles", "unsafe", "linux", "macos"], "topics": [], "urls": [], "use_cases": ["monkey patch functions in Go tests", "mock net.Dial to disable network access in tests", "replace fmt.Println with a stub during testing", "patch instance methods for all instances of a type", "call the original function from within a replacement using PatchGuard", "unpatch all replacements in test teardown"], "what_it_is": "A Go library that enables monkey patching of functions and instance methods at runtime by rewriting the running executable to insert jumps to replacement functions. It is explicitly intended for use in testing environments only, as the technique is inherently unsafe.", "when_to_avoid": ["in production code, since runtime executable rewriting is unsafe", "on platforms where the binary rewriting technique is unsupported", "you need to patch a method for only a single instance", "your project requires a permissive or standard license (license is non-standard)"], "when_to_choose": ["you need to stub out functions or methods in Go tests that cannot be injected via interfaces", "you want to disable network or side effects in integration tests", "you need to intercept calls to third-party functions you cannot modify"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/bouk-monkey", "repo": "bouk/monkey", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.898687+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:38:05.143814+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78c10eaa6c092e827ef700a92198b440dc2d27e23b077af0838eeb54b73a8c8e", "fetched_at": "2026-08-28T04:08:03.898687+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bouk/monkey"}, {"content_hash": "b2422ce3be5be1ad49668f27f51f56a952e3288885b3c9ac510a0f82cea2f379", "fetched_at": "2026-08-29T09:32:07.792371+00:00", "kind": "homepage", "missing": false, "url": "https://bou.ke"}, {"content_hash": "0db175128aa0c913e344f14d7a52713d66045fefdbe38db0e07238513f9f764e", "fetched_at": "2026-08-29T09:32:07.801253+00:00", "kind": "site_page", "missing": false, "url": "https://bou.ke/about"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.898687+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:38:05.143814+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78c10eaa6c092e827ef700a92198b440dc2d27e23b077af0838eeb54b73a8c8e", "fetched_at": "2026-08-28T04:08:03.898687+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bouk/monkey"}, {"content_hash": "b2422ce3be5be1ad49668f27f51f56a952e3288885b3c9ac510a0f82cea2f379", "fetched_at": "2026-08-29T09:32:07.792371+00:00", "kind": "homepage", "missing": false, "url": "https://bou.ke"}, {"content_hash": "0db175128aa0c913e344f14d7a52713d66045fefdbe38db0e07238513f9f764e", "fetched_at": "2026-08-29T09:32:07.801253+00:00", "kind": "site_page", "missing": false, "url": "https://bou.ke/about"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:38:05.143814+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78c10eaa6c092e827ef700a92198b440dc2d27e23b077af0838eeb54b73a8c8e", "fetched_at": "2026-08-28T04:08:03.898687+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bouk/monkey"}, {"content_hash": "b2422ce3be5be1ad49668f27f51f56a952e3288885b3c9ac510a0f82cea2f379", "fetched_at": "2026-08-29T09:32:07.792371+00:00", "kind": "homepage", "missing": false, "url": "https://bou.ke"}, {"content_hash": "0db175128aa0c913e344f14d7a52713d66045fefdbe38db0e07238513f9f764e", "fetched_at": "2026-08-29T09:32:07.801253+00:00", "kind": "site_page", "missing": false, "url": "https://bou.ke/about"}], "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:08:03.898687+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.898687+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.898687+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:38:05.143814+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78c10eaa6c092e827ef700a92198b440dc2d27e23b077af0838eeb54b73a8c8e", "fetched_at": "2026-08-28T04:08:03.898687+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bouk/monkey"}, {"content_hash": "b2422ce3be5be1ad49668f27f51f56a952e3288885b3c9ac510a0f82cea2f379", "fetched_at": "2026-08-29T09:32:07.792371+00:00", "kind": "homepage", "missing": false, "url": "https://bou.ke"}, {"content_hash": "0db175128aa0c913e344f14d7a52713d66045fefdbe38db0e07238513f9f764e", "fetched_at": "2026-08-29T09:32:07.801253+00:00", "kind": "site_page", "missing": false, "url": "https://bou.ke/about"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.898687+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.898687+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:38:05.143814+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78c10eaa6c092e827ef700a92198b440dc2d27e23b077af0838eeb54b73a8c8e", "fetched_at": "2026-08-28T04:08:03.898687+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bouk/monkey"}, {"content_hash": "b2422ce3be5be1ad49668f27f51f56a952e3288885b3c9ac510a0f82cea2f379", "fetched_at": "2026-08-29T09:32:07.792371+00:00", "kind": "homepage", "missing": false, "url": "https://bou.ke"}, {"content_hash": "0db175128aa0c913e344f14d7a52713d66045fefdbe38db0e07238513f9f764e", "fetched_at": "2026-08-29T09:32:07.801253+00:00", "kind": "site_page", "missing": false, "url": "https://bou.ke/about"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.898687+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.898687+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.898687+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:38:05.143814+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78c10eaa6c092e827ef700a92198b440dc2d27e23b077af0838eeb54b73a8c8e", "fetched_at": "2026-08-28T04:08:03.898687+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bouk/monkey"}, {"content_hash": "b2422ce3be5be1ad49668f27f51f56a952e3288885b3c9ac510a0f82cea2f379", "fetched_at": "2026-08-29T09:32:07.792371+00:00", "kind": "homepage", "missing": false, "url": "https://bou.ke"}, {"content_hash": "0db175128aa0c913e344f14d7a52713d66045fefdbe38db0e07238513f9f764e", "fetched_at": "2026-08-29T09:32:07.801253+00:00", "kind": "site_page", "missing": false, "url": "https://bou.ke/about"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.898687+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.898687+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:38:05.143814+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78c10eaa6c092e827ef700a92198b440dc2d27e23b077af0838eeb54b73a8c8e", "fetched_at": "2026-08-28T04:08:03.898687+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bouk/monkey"}, {"content_hash": "b2422ce3be5be1ad49668f27f51f56a952e3288885b3c9ac510a0f82cea2f379", "fetched_at": "2026-08-29T09:32:07.792371+00:00", "kind": "homepage", "missing": false, "url": "https://bou.ke"}, {"content_hash": "0db175128aa0c913e344f14d7a52713d66045fefdbe38db0e07238513f9f764e", "fetched_at": "2026-08-29T09:32:07.801253+00:00", "kind": "site_page", "missing": false, "url": "https://bou.ke/about"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:38:05.143814+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78c10eaa6c092e827ef700a92198b440dc2d27e23b077af0838eeb54b73a8c8e", "fetched_at": "2026-08-28T04:08:03.898687+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bouk/monkey"}, {"content_hash": "b2422ce3be5be1ad49668f27f51f56a952e3288885b3c9ac510a0f82cea2f379", "fetched_at": "2026-08-29T09:32:07.792371+00:00", "kind": "homepage", "missing": false, "url": "https://bou.ke"}, {"content_hash": "0db175128aa0c913e344f14d7a52713d66045fefdbe38db0e07238513f9f764e", "fetched_at": "2026-08-29T09:32:07.801253+00:00", "kind": "site_page", "missing": false, "url": "https://bou.ke/about"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:38:05.143814+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78c10eaa6c092e827ef700a92198b440dc2d27e23b077af0838eeb54b73a8c8e", "fetched_at": "2026-08-28T04:08:03.898687+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bouk/monkey"}, {"content_hash": "b2422ce3be5be1ad49668f27f51f56a952e3288885b3c9ac510a0f82cea2f379", "fetched_at": "2026-08-29T09:32:07.792371+00:00", "kind": "homepage", "missing": false, "url": "https://bou.ke"}, {"content_hash": "0db175128aa0c913e344f14d7a52713d66045fefdbe38db0e07238513f9f764e", "fetched_at": "2026-08-29T09:32:07.801253+00:00", "kind": "site_page", "missing": false, "url": "https://bou.ke/about"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:38:05.143814+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78c10eaa6c092e827ef700a92198b440dc2d27e23b077af0838eeb54b73a8c8e", "fetched_at": "2026-08-28T04:08:03.898687+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bouk/monkey"}, {"content_hash": "b2422ce3be5be1ad49668f27f51f56a952e3288885b3c9ac510a0f82cea2f379", "fetched_at": "2026-08-29T09:32:07.792371+00:00", "kind": "homepage", "missing": false, "url": "https://bou.ke"}, {"content_hash": "0db175128aa0c913e344f14d7a52713d66045fefdbe38db0e07238513f9f764e", "fetched_at": "2026-08-29T09:32:07.801253+00:00", "kind": "site_page", "missing": false, "url": "https://bou.ke/about"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "archived", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4176, "days_push": 2268, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}