{"adoption": {"forks": 290, "observed_at": "2026-08-28T04:03:45.918337+00:00", "stars": 1147}, "canonical_url": "https://ross.abutalabs.com/products/code2vec", "card": {"archived": false, "artifact_type": "library", "description": "TensorFlow code for the neural network presented in the paper: \"code2vec: Learning Distributed Representations of Code\"", "domain": ["machine-learning", "programming-languages", "developer-tools", "artificial-intelligence"], "enriched": true, "function": ["machine-learning", "deep-learning", "nlp", "parser"], "health_score": 20, "homepage": "https://code2vec.org", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["tech-srl/code2vec"], "name": "tech-srl/code2vec", "platform": ["python", "cross-platform"], "pushed_at": "2023-09-20T14:34:38+00:00", "repo": "tech-srl/code2vec", "stars": 1147, "tags": ["code-embeddings", "tensorflow", "research", "code-analysis", "method-name-prediction", "academic"], "topics": ["code2vec", "learning", "distributed", "representations", "of", "code", "technion"], "urls": [], "use_cases": ["generate vector embeddings for code snippets", "predict method names from Java code", "research machine learning on source code", "train a code representation model on a new programming language", "extract code2vec embeddings for downstream ML tasks", "reproduce results from the code2vec paper"], "what_it_is": "Official TensorFlow implementation of the code2vec model from the POPL'2019 paper, which learns distributed vector representations of code snippets from abstract syntax tree paths. It is trained by default to predict Java method names but is language-agnostic and intended for research in machine learning on code.", "when_to_avoid": ["you need a production-ready code intelligence service", "you want modern transformer-based code models like CodeBERT", "you need active development or new features", "you don't work in Python/TensorFlow"], "when_to_choose": ["you need code embeddings based on AST paths for research or classification", "you want to experiment with neural models of source code in TensorFlow", "you want to reproduce or extend the code2vec model"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/code2vec", "repo": "tech-srl/code2vec", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.918337+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:34:04.183992+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "292a24dac822b71772ae30b458824a253acfd6e00c343b6f1497d1f9bab1983e", "fetched_at": "2026-08-28T04:03:45.918337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tech-srl/code2vec"}, {"content_hash": "37e3a81b31cacdf2756952387653186c56f9b0126a87750951196fd6b99ef905", "fetched_at": "2026-08-29T12:39:23.764447+00:00", "kind": "homepage", "missing": false, "url": "https://code2vec.org"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.918337+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:34:04.183992+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "292a24dac822b71772ae30b458824a253acfd6e00c343b6f1497d1f9bab1983e", "fetched_at": "2026-08-28T04:03:45.918337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tech-srl/code2vec"}, {"content_hash": "37e3a81b31cacdf2756952387653186c56f9b0126a87750951196fd6b99ef905", "fetched_at": "2026-08-29T12:39:23.764447+00:00", "kind": "homepage", "missing": false, "url": "https://code2vec.org"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:34:04.183992+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "292a24dac822b71772ae30b458824a253acfd6e00c343b6f1497d1f9bab1983e", "fetched_at": "2026-08-28T04:03:45.918337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tech-srl/code2vec"}, {"content_hash": "37e3a81b31cacdf2756952387653186c56f9b0126a87750951196fd6b99ef905", "fetched_at": "2026-08-29T12:39:23.764447+00:00", "kind": "homepage", "missing": false, "url": "https://code2vec.org"}], "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:03:45.918337+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.918337+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.918337+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:34:04.183992+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "292a24dac822b71772ae30b458824a253acfd6e00c343b6f1497d1f9bab1983e", "fetched_at": "2026-08-28T04:03:45.918337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tech-srl/code2vec"}, {"content_hash": "37e3a81b31cacdf2756952387653186c56f9b0126a87750951196fd6b99ef905", "fetched_at": "2026-08-29T12:39:23.764447+00:00", "kind": "homepage", "missing": false, "url": "https://code2vec.org"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.918337+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.918337+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:34:04.183992+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "292a24dac822b71772ae30b458824a253acfd6e00c343b6f1497d1f9bab1983e", "fetched_at": "2026-08-28T04:03:45.918337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tech-srl/code2vec"}, {"content_hash": "37e3a81b31cacdf2756952387653186c56f9b0126a87750951196fd6b99ef905", "fetched_at": "2026-08-29T12:39:23.764447+00:00", "kind": "homepage", "missing": false, "url": "https://code2vec.org"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.918337+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.918337+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.918337+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:34:04.183992+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "292a24dac822b71772ae30b458824a253acfd6e00c343b6f1497d1f9bab1983e", "fetched_at": "2026-08-28T04:03:45.918337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tech-srl/code2vec"}, {"content_hash": "37e3a81b31cacdf2756952387653186c56f9b0126a87750951196fd6b99ef905", "fetched_at": "2026-08-29T12:39:23.764447+00:00", "kind": "homepage", "missing": false, "url": "https://code2vec.org"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.918337+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.918337+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:34:04.183992+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "292a24dac822b71772ae30b458824a253acfd6e00c343b6f1497d1f9bab1983e", "fetched_at": "2026-08-28T04:03:45.918337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tech-srl/code2vec"}, {"content_hash": "37e3a81b31cacdf2756952387653186c56f9b0126a87750951196fd6b99ef905", "fetched_at": "2026-08-29T12:39:23.764447+00:00", "kind": "homepage", "missing": false, "url": "https://code2vec.org"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:34:04.183992+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "292a24dac822b71772ae30b458824a253acfd6e00c343b6f1497d1f9bab1983e", "fetched_at": "2026-08-28T04:03:45.918337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tech-srl/code2vec"}, {"content_hash": "37e3a81b31cacdf2756952387653186c56f9b0126a87750951196fd6b99ef905", "fetched_at": "2026-08-29T12:39:23.764447+00:00", "kind": "homepage", "missing": false, "url": "https://code2vec.org"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:34:04.183992+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "292a24dac822b71772ae30b458824a253acfd6e00c343b6f1497d1f9bab1983e", "fetched_at": "2026-08-28T04:03:45.918337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tech-srl/code2vec"}, {"content_hash": "37e3a81b31cacdf2756952387653186c56f9b0126a87750951196fd6b99ef905", "fetched_at": "2026-08-29T12:39:23.764447+00:00", "kind": "homepage", "missing": false, "url": "https://code2vec.org"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:34:04.183992+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "292a24dac822b71772ae30b458824a253acfd6e00c343b6f1497d1f9bab1983e", "fetched_at": "2026-08-28T04:03:45.918337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tech-srl/code2vec"}, {"content_hash": "37e3a81b31cacdf2756952387653186c56f9b0126a87750951196fd6b99ef905", "fetched_at": "2026-08-29T12:39:23.764447+00:00", "kind": "homepage", "missing": false, "url": "https://code2vec.org"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2962, "days_push": 1078, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}