{"adoption": {"forks": 78, "observed_at": "2026-08-28T04:04:37.235117+00:00", "stars": 1401}, "canonical_url": "https://ross.abutalabs.com/products/dashbitco-mox", "card": {"archived": false, "artifact_type": "library", "description": "Mocks and explicit contracts in Elixir", "domain": ["testing", "developer-tools"], "enriched": true, "function": ["testing", "mocking"], "health_score": 80, "homepage": null, "language": "Elixir", "license": null, "license_family": "other", "maturity": "stable", "member_repos": ["dashbitco/mox"], "name": "dashbitco/mox", "platform": ["elixir", "jvm"], "pushed_at": "2026-08-25T08:30:43+00:00", "repo": "dashbitco/mox", "stars": 1401, "tags": ["elixir", "behaviour-based-mocks", "concurrent-tests", "explicit-contracts"], "topics": [], "urls": [], "use_cases": ["mock external API calls in Elixir tests", "define mocks based on behaviours instead of ad-hoc modules", "keep Elixir tests concurrent with async: true while mocking", "assert on function inputs using pattern matching instead of expectation rules", "enforce explicit contracts between application components", "swap real implementations with test doubles in test_helper.exs"], "what_it_is": "Mox is an Elixir library for defining concurrent mocks based on explicit behaviours (contracts). It enforces strict mocking principles so tests can run with async: true while stubbing behaviour implementations.", "when_to_avoid": ["you need ad-hoc or per-test dynamic mocking without defining behaviours", "you are not working in the Elixir/Erlang ecosystem", "you prefer expectation-based mocking libraries with complex verification rules"], "when_to_choose": ["you write Elixir applications and want reliable, concurrency-safe mocks", "you prefer behaviour-driven design with explicit contracts between modules", "you need mocks that support parallel test execution", "you want to avoid dynamically generated mock modules in tests"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/dashbitco-mox", "repo": "dashbitco/mox", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.235117+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:39:02.003476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db27a261b19ac87a41d815b3a32c89d9394c0c4db383f87d45363398269ca240", "fetched_at": "2026-08-28T04:04:37.235117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dashbitco/mox"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.235117+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:39:02.003476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db27a261b19ac87a41d815b3a32c89d9394c0c4db383f87d45363398269ca240", "fetched_at": "2026-08-28T04:04:37.235117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dashbitco/mox"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:39:02.003476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db27a261b19ac87a41d815b3a32c89d9394c0c4db383f87d45363398269ca240", "fetched_at": "2026-08-28T04:04:37.235117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dashbitco/mox"}], "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:04:37.235117+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.235117+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.235117+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:39:02.003476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db27a261b19ac87a41d815b3a32c89d9394c0c4db383f87d45363398269ca240", "fetched_at": "2026-08-28T04:04:37.235117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dashbitco/mox"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.235117+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.235117+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:39:02.003476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db27a261b19ac87a41d815b3a32c89d9394c0c4db383f87d45363398269ca240", "fetched_at": "2026-08-28T04:04:37.235117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dashbitco/mox"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.235117+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.235117+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.235117+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:39:02.003476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db27a261b19ac87a41d815b3a32c89d9394c0c4db383f87d45363398269ca240", "fetched_at": "2026-08-28T04:04:37.235117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dashbitco/mox"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.235117+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.235117+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:39:02.003476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db27a261b19ac87a41d815b3a32c89d9394c0c4db383f87d45363398269ca240", "fetched_at": "2026-08-28T04:04:37.235117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dashbitco/mox"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:39:02.003476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db27a261b19ac87a41d815b3a32c89d9394c0c4db383f87d45363398269ca240", "fetched_at": "2026-08-28T04:04:37.235117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dashbitco/mox"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:39:02.003476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db27a261b19ac87a41d815b3a32c89d9394c0c4db383f87d45363398269ca240", "fetched_at": "2026-08-28T04:04:37.235117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dashbitco/mox"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:39:02.003476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db27a261b19ac87a41d815b3a32c89d9394c0c4db383f87d45363398269ca240", "fetched_at": "2026-08-28T04:04:37.235117+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dashbitco/mox"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "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": 3264, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}