{"adoption": {"forks": 197, "observed_at": "2026-08-28T04:08:36.131094+00:00", "stars": 4133}, "canonical_url": "https://ross.abutalabs.com/products/codemod", "card": {"archived": true, "artifact_type": "cli-tool", "description": "Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source.", "domain": ["developer-tools"], "enriched": true, "function": ["developer-tools", "cli", "parser"], "health_score": 10, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["facebookarchive/codemod"], "name": "facebookarchive/codemod", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2020-11-28T11:33:52+00:00", "repo": "facebookarchive/codemod", "stars": 4133, "tags": ["code-refactoring", "interactive-editing", "regex-replacement", "facebook", "archived", "command-line", "automation"], "topics": [], "urls": [], "use_cases": ["interactively refactor a large codebase with regex replacements", "review and approve each automated code change via a diff", "deprecate an API or tag across hundreds of files", "split a bulk code-editing task across a team with start/end offsets", "count occurrences of a pattern before refactoring", "edit matched lines in my editor during a bulk rename"], "what_it_is": "Codemod is a Python tool and library from Facebook for assisting large-scale codebase refactors that are partially automated but need human oversight. It interactively shows diffs for regex-based replacements across many files, letting users accept, reject, or edit each change.", "when_to_avoid": ["you need AST-aware, language-specific transformations (use jscodeshift or a language codemod framework)", "you want fully automated, unattended bulk edits", "you need an actively maintained tool (the repo is archived)"], "when_to_choose": ["you need human review on each automated replacement across many files", "you want a lightweight Python CLI without learning a full codemod framework", "you need to pause, resume, or divide refactoring work by file position"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/codemod", "repo": "facebookarchive/codemod", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.131094+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:23:02.450949+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6ad216b9a9da069dbc3db16a784b5006b1f1d96e336c41ad4adb8335ed3f60c", "fetched_at": "2026-08-28T04:08:36.131094+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookarchive/codemod"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.131094+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:23:02.450949+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6ad216b9a9da069dbc3db16a784b5006b1f1d96e336c41ad4adb8335ed3f60c", "fetched_at": "2026-08-28T04:08:36.131094+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookarchive/codemod"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:23:02.450949+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6ad216b9a9da069dbc3db16a784b5006b1f1d96e336c41ad4adb8335ed3f60c", "fetched_at": "2026-08-28T04:08:36.131094+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookarchive/codemod"}], "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:36.131094+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.131094+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.131094+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:23:02.450949+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6ad216b9a9da069dbc3db16a784b5006b1f1d96e336c41ad4adb8335ed3f60c", "fetched_at": "2026-08-28T04:08:36.131094+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookarchive/codemod"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.131094+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.131094+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:23:02.450949+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6ad216b9a9da069dbc3db16a784b5006b1f1d96e336c41ad4adb8335ed3f60c", "fetched_at": "2026-08-28T04:08:36.131094+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookarchive/codemod"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.131094+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.131094+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.131094+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:23:02.450949+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6ad216b9a9da069dbc3db16a784b5006b1f1d96e336c41ad4adb8335ed3f60c", "fetched_at": "2026-08-28T04:08:36.131094+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookarchive/codemod"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.131094+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.131094+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:23:02.450949+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6ad216b9a9da069dbc3db16a784b5006b1f1d96e336c41ad4adb8335ed3f60c", "fetched_at": "2026-08-28T04:08:36.131094+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookarchive/codemod"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:23:02.450949+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6ad216b9a9da069dbc3db16a784b5006b1f1d96e336c41ad4adb8335ed3f60c", "fetched_at": "2026-08-28T04:08:36.131094+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookarchive/codemod"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:23:02.450949+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6ad216b9a9da069dbc3db16a784b5006b1f1d96e336c41ad4adb8335ed3f60c", "fetched_at": "2026-08-28T04:08:36.131094+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookarchive/codemod"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:23:02.450949+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6ad216b9a9da069dbc3db16a784b5006b1f1d96e336c41ad4adb8335ed3f60c", "fetched_at": "2026-08-28T04:08:36.131094+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookarchive/codemod"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 6362, "days_push": 2104, "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}}