JSON-Rohbericht maschinenlesbar
{
"data": {
"repo": {
"topics": [
"billing",
"go",
"golang",
"metering",
"pricing",
"proration",
"rating-engine",
"subscription-billing",
"usage-based-billing",
"zero-dependency",
"stripe-billing-alternative"
],
"is_fork": false,
"size_kb": 199,
"has_wiki": true,
"homepage": "https://zkrebbekx.github.io/tariff/",
"languages": {
"Go": 282630,
"CSS": 15801,
"HTML": 12681,
"Makefile": 1118,
"Dockerfile": 1009,
"JavaScript": 35366
},
"pushed_at": "2026-07-28T12:24:26Z",
"created_at": "2026-07-21T21:51:27Z",
"owner_type": "User",
"updated_at": "2026-07-22T04:00:08Z",
"description": "Usage-based billing rating for Go — tiered, volume, package and per-unit pricing to exact line items. Zero dependencies, no float, no infra.",
"is_archived": false,
"is_disabled": false,
"license_spdx": "MIT",
"default_branch": "main",
"license_spdx_raw": "MIT",
"primary_language": "Go",
"significant_languages": [
"Go",
"JavaScript"
]
},
"owner": {
"blog": null,
"name": "Zac Krebbekx",
"type": "User",
"login": "zkrebbekx",
"company": null,
"location": "South Australia",
"followers": 5,
"avatar_url": "https://avatars.githubusercontent.com/u/334641?v=4",
"created_at": "2010-07-17T04:08:55Z",
"is_verified": null,
"public_repos": 36,
"account_age_days": 5861
},
"license": {
"state": "standard",
"spdx_id": "MIT",
"raw_spdx": "MIT",
"file_present": true,
"scorecard_found": true,
"profile_has_license": true
},
"activity": {
"releases": [
{
"tag": "v0.2.0",
"kind": "minor",
"published_at": "2026-07-22T00:55:17Z"
},
{
"tag": "v0.1.0",
"kind": "minor",
"published_at": "2026-07-21T13:43:31Z"
}
],
"recent_commits": [
{
"oid": "95db0e7c9eb40c2036e6856acffa72124a76b025",
"body": "The segmented tier bar is tariff's visual identity: one quantity rated across\nprice tiers, each band a flat color summing to the total ($35 + $5 + $1.50 =\n$41.50), the same graduated-cost bar the playground draws. Adds the logo and\nthe social-preview banner under docs/assets, and leads the README with the\nbanner linked to the playground.",
"is_bot": false,
"headline": "docs: brand assets — logo and social preview",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T03:59:31Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "c489b6937cd17123e7b0a32b1f0ad9edab8af521",
"body": "Adds a Try the playground callout near the top pointing at the live Pages URL.",
"is_bot": false,
"headline": "docs(readme): link the playground",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T02:16:36Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "a4cb76ca95fbcd67010c15b9e7c4875ccdbfeb20",
"body": "Mirrors the sibling pages workflow: on push to main and workflow_dispatch,\nwith contents:read / pages:write / id-token:write and a pages concurrency\ngroup. The build job (setup-go 1.25) compiles GOOS=js GOARCH=wasm to\nweb/tariff.wasm, copies the toolchain's wasm_exec.js beside it, and uploads\nweb/ as the Pages artifact; the deploy job publishes it to the github-pages\nenvironment. Pinned action SHAs, no npm.",
"is_bot": false,
"headline": "ci(pages): deploy the playground to GitHub Pages",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T02:16:36Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "e10077b1a0f4ab17c1da44d9eebe2bc0f92d6d51",
"body": "A hand-written, dependency-free web/ (vanilla JS + inline SVG, no framework,\nno CDN, theme-aware) driving the WASM engine. Two flagship visuals: graduated\nvs volume rendered side by side as segmented cost bars plus a total-vs-quantity\nline chart, so moving the quantity shows the two totals diverge a\n[…]\nbasis, plus a month-end cycle-boundary demo). Three loadable\nscenarios each teach one idea. .gitignore negates the *.html rule for\nweb/index.html and ignores the CI-built tariff.wasm and wasm_exec.js.",
"is_bot": false,
"headline": "feat(playground): static web UI for the rating core",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T02:16:27Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "046714f3b689ed439ba023c8852bcdf6de21a5e2",
"body": "A js && wasm entrypoint in the root module (cmd/tariff-wasm) that compiles\nthe tariff library to WebAssembly and exposes rate/proration/compose/\nboundary/fraction plus loadScenario on the global \"tariff\" object. Every\ncall recovers from a panic into a returned {error, code} rather than\ntearing down \n[…]\nat.SetString,\nguarded by the same length and scientific-exponent bounds tariffd added so\nan absurd rate string cannot hang the tab; amounts return as int64 minor\nunits plus a formatted display string.",
"is_bot": false,
"headline": "feat(playground): WASM bridge exposing the rating core to JS",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T02:16:08Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "0a520127c50fbb26b313d25da14ce0d11131251c",
"body": "…mpose steps\n\nService review found three resource/robustness majors (the exactness core\nheld under every probe):\n\n- A rate string was fed to big.Rat.SetString unbounded. SetString accepts\n scientific notation, so a 9-byte '1e1000000' denotes a ~415 KB integer, and\n a compose body packed with such \n[…]\nount cap; ~52000\n one-field steps in a 1 MiB body burned ~35s of CPU. Step count is now capped\n at 512, far above any real invoice.\n\nRegression tests for all three. 100 -> 117 tests, 90.2% coverage.",
"is_bot": false,
"headline": "fix(tariffd): bound rate magnitude, require currency decimals, cap co…",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T01:54:44Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "d7f2432d7c3db1f7127a10c846dd592e9ed9bd71",
"body": "README gains a \"Running the service\" section: docker compose up plus curl\nexamples for the exact-rate contract, the order-matters composition, and a\nproration golden, with an honest scope note (stateless compute, optional\ntoken, proxy for production). DESIGN.md records \"Phase 3 as built\" — the\nbig.Rat-over-JSON string contract, the sentinel-mirroring error map, and the\nprefix-recompose approach to per-step effects.",
"is_bot": false,
"headline": "docs: document tariffd — README service section and phase 3 design note",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T01:24:33Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "2886f44a9658f85228e1db24972e8ed986213208",
"body": "Add tariffd to the test matrix (go 1.23/1.24/1.25; no service needed — it is\nstateless compute) and give the lint job a module matrix so golangci-lint runs\nin the nested module too. Action SHAs stay pinned.",
"is_bot": false,
"headline": "ci: build, test and lint the tariffd module",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T01:24:33Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "5d20b1acc2e7da11f90765ab89db1f35640e3359",
"body": "tariffd exposes the whole library over JSON — /v1/rate, /v1/proration,\n/v1/proration/fraction, /v1/compose, /v1/boundary, plus /healthz and an\nembedded /v1/openapi.yaml. It is a nested module with a replace back to the\nroot; the dependency budget is stdlib net/http (Go 1.22 pattern routing) and\ntari\n[…]\ntters\ncomposition, the month-end boundary, the Stripe/Chargebee proration goldens,\nauth, and the full sentinel error-mapping table. 90.0% statement coverage;\nclean vet, gofmt -s, -race, golangci-lint.",
"is_bot": false,
"headline": "feat(tariffd): standalone stateless REST service for the rating core",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T01:24:25Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "e08eaba3617d08f896ab464009559f2a59086280",
"body": "The atomic-balance fix defers a draw's balance mutation to Compose's commit,\nso a bare step.apply (via the runStep test helper) no longer mutates the\nbalance. Update runStep to commit the deferred draws after applying, mirroring\nCompose, so the existing DrawCredit/DrawCommitment balance assertions observe\nthe mutation. Behaviour unchanged; the helper now models apply-then-commit.",
"is_bot": false,
"headline": "test: commit deferred draws in the single-step helper",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T00:55:17Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "26f2280ed44acb50b00cfe1248064c540a97e47a",
"body": "…igns\n\nPhase-2 adversarial review found one major and two minor defects, all on\ncomposition/proration precondition paths (the calendar arithmetic held under\n40k+ fuzz cases):\n\n- MAJOR: Compose mutated caller credit/commitment balances in place, so a\n Compose that errored on a later step (e.g. a cal\n[…]\nmaining==1\nday-basis partition invariant asserted directly across a DST day — the design\nstated it but no test checked it. Renamed a misleading 'round-robin' subtest.\n456 -> 483 tests, 98.7% coverage.",
"is_bot": false,
"headline": "fix: make Compose atomic over balances; guard PercentOff and Change s…",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T00:53:13Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "b91542efb05790086774705f708e3f05afaa8126",
"body": "Record the phase-2 build in docs/DESIGN.md with the exact rules: the drift-free\nmonth-end boundary clamp, the second-vs-day DST semantics (real elapsed\nnanoseconds vs whole civil days), the Change/Proration sign model, and the\ncredit/commitment drawdown cap. Note the corrections and clarifications f\n[…]\n\nAdd proration and composition sections to the package overview and README, the\nexpanded sentinel list, and runnable Example_proration (the Stripe golden) and\nExample_compose (order-matters) examples.",
"is_bot": false,
"headline": "docs: phase 2 as built — proration and composition",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T00:26:05Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "4c3bed13fcdfe9f103f1eb54ddfcfa4edd682a1e",
"body": "Add explicit, caller-ordered invoice composition. A sealed Step interface with\nconstructors — Charged, PercentOff, AmountOff, MinimumCharge, DrawCredit,\nDrawCommitment — each appends labeled line(s) and moves the running total by\nexactly that amount; Compose left-folds them over an empty Invoice in \n[…]\nscount vs\ncredit-after-discount consuming different amounts of the balance, each order\nindividually correct. New sentinels: ErrBadDiscount, ErrBadFloor,\nErrBadBalance, ErrCurrencyMismatch, ErrNilStep.",
"is_bot": false,
"headline": "feat(compose): interaction-order invoice composition",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T00:22:53Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "76e8c9bbd9d30c8763be9c066d1b11d5df8c7f4e",
"body": "Add the proration calendar: Period (half-open [Start, End)), a Basis enum\n(ProrateBySecond default, ProrateByDay), Period.Fraction returning an exact\n*big.Rat, Prorate (amount x fraction rounded once through the currency), and\nChange (credit-unused + charge-new + net, the verified Stripe/Chargebee\nm\n[…]\n. Tests reproduce the\nStripe -$5/+$10/$5 golden to the second and the Chargebee day-based figures\nexactly, and cover both DST directions, leap years, and the month-end and\nnegative-step boundary math.",
"is_bot": false,
"headline": "feat(proration): billing-period fractions, Change, and cycle boundaries",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T00:16:43Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "faa1eed445b75dad6598d0fe5ede71b38ca112ae",
"body": "Lift phase 1's refusal of a negative total in Allocate and the internal\nallocate/allocateRat core. A negative total is split on its magnitude with\nthe sign carried back onto every share, so the parts sum exactly to the\n(negative) total, the negative leftover lands on the same largest-remainder\nparts\n[…]\nned exact-sum / zero-weight / positive-unchanged\ntests, and fuzzes both signs. Also corrects the stale round-robin wording in\nthe package overview and README (the largest-remainder fix predated them).",
"is_bot": false,
"headline": "feat(allocate): split signed totals for proration credits",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T00:07:40Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "f74f2b8114938170d82f0eafcf461fdb3315aab9",
"body": "The authoritative spec for phase 2 — the credit-unused + charge-new + net\nproration model (Stripe/Chargebee), day- and second-based fractions,\nmonth-end and DST calendar traps, and explicit interaction-order\ncomposition (charges, discounts, minimums, credits, commitments).",
"is_bot": false,
"headline": "docs(design): add phase 2 proration and composition spec",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-22T00:07:31Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "c6efdc761615635ebc0a384c1c15b474fce4e798",
"body": "Phase-1 adversarial review found one wrong-sign bug and one misattribution:\n\n- Folding FlatFee into the rated total was the single arithmetic step the rate\n path did not overflow-check; a total near MaxInt64 plus any fee wrapped to a\n negative invoice, silently. Guarded with addInt64 -> ErrOverflo\n[…]\n all three (flat-fee overflow, free/exact-tier\nattribution, zero-ratio Allocate); existing reconciliation expectations updated\nto the hand-verified largest-remainder values. 234 tests, 99.6% coverage.",
"is_bot": false,
"headline": "fix: overflow-guard the flat-fee add, and allocate by largest remainder",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-21T13:43:31Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "120852c0b7d2e8d0c7c32c2268cd7b84bf336279",
"body": "Pure-Go, zero-dependency usage-billing rating core: per-unit, graduated,\nvolume, package/block and stairstep models with free allowances and an\noptional flat fee. Rates are exact math/big.Rat; quantity × rate is never\nfloat64 and is rounded to the currency's minor unit exactly once, via a\ncaller-sel\n[…]\ncator, typed sentinel errors, golden vectors from\nStripe/Lago, edge/boundary/overflow tests, fuzz targets and benchmarks.\nCoverage 99.6%; clean under go vet, gofmt -s, go test -race and golangci-lint.",
"is_bot": false,
"headline": "feat: phase 1 rating core — exact tiered/volume/package billing",
"author_name": "Zac Krebbekx",
"author_login": "zkrebbekx",
"committed_at": "2026-07-21T13:22:45Z",
"body_truncated": true,
"is_coding_agent": false
}
],
"releases_count": 2,
"commits_last_year": 18,
"latest_release_at": "2026-07-22T00:55:17Z",
"latest_release_tag": "v0.2.0",
"releases_from_tags": true,
"days_since_last_push": 6,
"active_weeks_last_year": 1,
"days_since_latest_release": 12,
"mean_days_between_releases": 0.5
},
"artifacts": {
"collected": true,
"structure": [
"tree.compose",
"tree.dockerfile",
"tree.go_main"
],
"declarations": []
},
"community": {
"has_readme": true,
"has_license": true,
"readme_badges": {
"hosts": [],
"total": 0,
"header": 0,
"collected": true,
"has_inspect_badge": false
},
"has_description": true,
"has_contributing": false,
"health_percentage": 57,
"has_issue_template": false,
"has_code_of_conduct": false,
"has_pull_request_template": false
},
"ecosystem": {
"packages": [
{
"name": "github.com/zkrebbekx/tariff",
"exists": true,
"license": null,
"keywords": [],
"ecosystem": "go",
"categories": [],
"matches_repo": true,
"registry_url": "https://pkg.go.dev/github.com/zkrebbekx/tariff",
"declared_type": null,
"is_deprecated": false,
"latest_version": "v0.2.0",
"repository_url": "https://github.com/zkrebbekx/tariff",
"versions_count": 2,
"total_downloads": null,
"dependents_count": null,
"deprecation_note": null,
"maintainers_count": null,
"monthly_downloads": null,
"first_published_at": null,
"latest_published_at": "2026-07-22T00:55:17Z",
"latest_version_yanked": null,
"days_since_latest_publish": 12
},
{
"name": "github.com/zkrebbekx/tariff/tariffd",
"exists": true,
"license": null,
"keywords": [],
"ecosystem": "go",
"categories": [],
"matches_repo": true,
"registry_url": "https://pkg.go.dev/github.com/zkrebbekx/tariff/tariffd",
"declared_type": null,
"is_deprecated": false,
"latest_version": "v0.1.0",
"repository_url": "https://github.com/zkrebbekx/tariff",
"versions_count": 1,
"total_downloads": null,
"dependents_count": null,
"deprecation_note": null,
"maintainers_count": null,
"monthly_downloads": null,
"first_published_at": null,
"latest_published_at": "2026-07-22T01:54:44Z",
"latest_version_yanked": null,
"days_since_latest_publish": 12
}
]
},
"popularity": {
"forks": 0,
"stars": 0,
"watchers": 0,
"fork_history": {
"days": [],
"complete": true,
"collected": 0,
"total_forks": 0
},
"star_history": {
"days": [],
"complete": true,
"collected": 0,
"total_stars": 0,
"collected_at": null
},
"open_issues_and_prs": 1
},
"ai_readiness": {
"has_nix": false,
"example_dirs": [
"examples"
],
"has_llms_txt": false,
"has_dockerfile": true,
"has_mcp_signal": false,
"bootstrap_files": [
"Makefile"
],
"api_schema_files": [
"tariffd/internal/api/openapi.yaml"
],
"has_devcontainer": false,
"typecheck_configs": [],
"toolchain_manifests": [
"examples/go.mod",
"go.mod",
"tariffd/go.mod"
],
"largest_source_bytes": 35366,
"source_files_sampled": 45,
"oversized_source_files": 0,
"agent_instruction_files": [],
"agent_instruction_max_bytes": null
},
"dependencies": {
"manifests": [
"examples/go.mod",
"go.mod",
"tariffd/go.mod"
],
"advisories": {
"error": "No resolved dependencies to assess",
"scope": "repository_graph",
"source": null,
"findings": [],
"collected": false,
"malicious": [],
"truncated": false,
"by_severity": {},
"advisory_count": 0,
"affected_count": 0,
"assessed_count": 0,
"malicious_count": 0,
"assessed_package": null,
"unassessed_count": 0,
"direct_affected_count": 0
},
"ecosystems": [
"go"
],
"dependencies": [
{
"name": "github.com/zkrebbekx/tariff",
"manifest": "tariffd/go.mod",
"ecosystem": "go",
"version_constraint": "v0.2.0"
}
],
"all_dependencies": {
"error": null,
"source": "github-sbom",
"packages": [],
"collected": true,
"truncated": false,
"total_count": 0,
"direct_count": 0,
"indirect_count": 0
}
},
"maintainership": {
"issues": {
"open_prs": 1,
"merged_prs": 0,
"open_issues": 0,
"closed_ratio": null,
"closed_issues": 0,
"closed_unmerged_prs": 0
},
"bus_factor": 1,
"bot_contributors": 0,
"top_contributors": [
{
"type": "User",
"login": "zkrebbekx",
"commits": 18,
"avatar_url": "https://avatars.githubusercontent.com/u/334641?v=4"
}
],
"contributors_sampled": 1,
"top_contributor_share": 1
},
"quality_signals": {
"has_ci": true,
"has_tests": true,
"ci_workflows": [
"ci.yml",
"pages.yml"
],
"has_docs_dir": true,
"linter_configs": [
".golangci.yml"
],
"has_editorconfig": false,
"has_linter_config": true,
"has_precommit_config": false
},
"security_signals": {
"lockfiles": [],
"scorecard": {
"checks": [
{
"name": "Binary-Artifacts",
"score": 10,
"reason": "no binaries found in the repo",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#binary-artifacts"
},
{
"name": "Branch-Protection",
"score": null,
"reason": "internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#branch-protection"
},
{
"name": "CI-Tests",
"score": null,
"reason": "no pull request found",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#ci-tests"
},
{
"name": "CII-Best-Practices",
"score": 0,
"reason": "no effort to earn an OpenSSF best practices badge detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#cii-best-practices"
},
{
"name": "Code-Review",
"score": 0,
"reason": "Found 0/18 approved changesets -- score normalized to 0",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
},
{
"name": "Contributors",
"score": 0,
"reason": "project has 0 contributing companies or organizations -- score normalized to 0",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#contributors"
},
{
"name": "Dangerous-Workflow",
"score": 10,
"reason": "no dangerous workflow patterns detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dangerous-workflow"
},
{
"name": "Dependency-Update-Tool",
"score": 10,
"reason": "update tool detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dependency-update-tool"
},
{
"name": "Fuzzing",
"score": 10,
"reason": "project is fuzzed",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#fuzzing"
},
{
"name": "License",
"score": 10,
"reason": "license file detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
},
{
"name": "Maintained",
"score": 0,
"reason": "project was created within the last 90 days. Please review its contents carefully",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#maintained"
},
{
"name": "Packaging",
"score": null,
"reason": "packaging workflow not detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#packaging"
},
{
"name": "Pinned-Dependencies",
"score": 5,
"reason": "dependency not pinned by hash detected -- score normalized to 5",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies"
},
{
"name": "SAST",
"score": 0,
"reason": "no SAST tool detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#sast"
},
{
"name": "Security-Policy",
"score": 10,
"reason": "security policy file detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#security-policy"
},
{
"name": "Signed-Releases",
"score": null,
"reason": "no releases found",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#signed-releases"
},
{
"name": "Token-Permissions",
"score": 10,
"reason": "GitHub workflow tokens follow principle of least privilege",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#token-permissions"
},
{
"name": "Vulnerabilities",
"score": 10,
"reason": "0 existing vulnerabilities detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
}
],
"commit": "95db0e7c9eb40c2036e6856acffa72124a76b025",
"ran_at": "2026-08-03T12:58:46Z",
"aggregate_score": 6.7,
"scorecard_version": "v5.5.0"
},
"has_codeql_workflow": false,
"has_security_policy": true,
"has_dependabot_config": true
},
"contribution_flow": {
"collected": true,
"recent_prs": {
"merged_7d": 0,
"decided_7d": 0,
"merged_30d": 0,
"authors_30d": 0,
"decided_30d": 0,
"sample_size": 0,
"window_days": 30,
"sample_exhausted": false,
"authors_probed_30d": 0,
"newcomer_merged_30d": 0,
"bot_prs_excluded_30d": 0,
"newcomer_authors_30d": 0,
"newcomer_decided_30d": 0
},
"ci_last_run_at": "2026-07-28T12:24:26Z",
"oldest_open_prs": [
{
"number": 1,
"created_at": "2026-07-21T21:52:21Z",
"last_comment_at": null,
"last_comment_author": null
}
],
"last_merged_pr_at": null,
"ci_last_conclusion": "SUCCESS",
"oldest_open_issues": []
}
},
"config": {
"disabled_metrics": [],
"disabled_categories": [],
"disabled_components": {}
},
"source": {
"url": "https://github.com/zkrebbekx/tariff",
"host": "github.com",
"name": "tariff",
"owner": "zkrebbekx"
},
"metrics": {
"overall": {
"key": "overall",
"band": "moderate",
"name": "Overall health",
"note": "The weighted overall 55 is calibrated to 57 on the published index scale (record calibration 2026-08-02).",
"notes": [
{
"code": "overall_calibration",
"params": {
"raw": 55,
"calibrated": 57,
"calibration": "2026-08-02"
}
}
],
"value": 57,
"inputs": {
"security": 67,
"vitality": 64,
"community": 24,
"governance": 34,
"calibration": "2026-08-02",
"engineering": 88,
"ai_readiness": 64,
"weighted_overall_raw": 55
},
"components": []
},
"categories": [
{
"key": "vitality",
"band": "moderate",
"name": "Vitality",
"value": 64,
"weight": 0.21,
"metrics": [
{
"key": "development_activity",
"band": "weak",
"name": "Development activity",
"note": null,
"notes": [],
"value": 48,
"inputs": {
"commits_last_year": 18,
"human_commit_share": null,
"days_since_last_push": 6,
"active_weeks_last_year": 1
},
"components": [
{
"key": "push_recency",
"name": "Push recency",
"detail": "last push 6 days ago",
"points": 36,
"status": "met",
"details": [
{
"code": "push_recency",
"params": {
"days": 6
}
}
],
"max_points": 36
},
{
"key": "commit_cadence",
"name": "Commit cadence",
"detail": "1/52 weeks with commits",
"points": 0.7,
"status": "partial",
"details": [
{
"code": "commit_cadence_weeks",
"params": {
"weeks": 1
}
}
],
"max_points": 36
},
{
"key": "commit_volume",
"name": "Commit volume",
"detail": "18 commits in the last year",
"points": 11.5,
"status": "partial",
"details": [
{
"code": "commits_last_year",
"params": {
"count": 18
}
}
],
"max_points": 18
},
{
"key": "openssf_scorecard_maintained",
"name": "OpenSSF Scorecard: Maintained",
"detail": "project was created within the last 90 days. Please review its contents carefully",
"points": 0,
"status": "missed",
"details": [],
"max_points": 10
}
]
},
{
"key": "release_discipline",
"band": "excellent",
"name": "Release discipline",
"note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"openssf_scorecard_signed_releases"
]
}
},
{
"code": "weights_renormalized",
"params": {}
}
],
"value": 88,
"inputs": {
"releases_count": 2,
"latest_release_tag": "v0.2.0",
"releases_from_tags": true,
"days_since_latest_release": 12,
"mean_days_between_releases": 0.5
},
"components": [
{
"key": "ships_releases",
"name": "Ships releases",
"detail": "2 version tags (no GitHub releases)",
"points": 16.2,
"status": "partial",
"details": [
{
"code": "version_tags_no_releases",
"params": {
"count": 2
}
}
],
"max_points": 27
},
{
"key": "release_recency",
"name": "Release recency",
"detail": "latest release 12 days ago",
"points": 36,
"status": "met",
"details": [
{
"code": "release_recency",
"params": {
"days": 12
}
}
],
"max_points": 36
},
{
"key": "release_cadence",
"name": "Release cadence",
"detail": "a release every ~0.5 days",
"points": 27,
"status": "met",
"details": [
{
"code": "release_cadence",
"params": {
"gap": 0.5
}
}
],
"max_points": 27
},
{
"key": "openssf_scorecard_signed_releases",
"name": "OpenSSF Scorecard: Signed-Releases",
"detail": "no releases found",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 10
}
]
},
{
"key": "abandonment",
"band": "exceptional",
"name": "Abandonment",
"note": null,
"notes": [],
"value": 100,
"inputs": {
"cap": null,
"state": "unverified",
"guards": [],
"signals": [],
"red_flag": false,
"multiplier_pct": 100,
"declared_reason": null,
"unverified_reason": "repository_too_young",
"unanswered_open_prs": null,
"unanswered_open_issues": null,
"days_since_last_merged_pr": null,
"days_since_last_human_commit": null,
"days_since_last_human_commit_is_floor": false
},
"components": [
{
"key": "project_is_still_maintained",
"name": "Project is still maintained",
"detail": "maintenance record not established from the collected data",
"points": 100,
"status": "met",
"details": [
{
"code": "abandonment_unverified",
"params": {}
}
],
"max_points": 100
}
]
}
],
"description": "Is the project alive — is code being written and are releases shipping?"
},
{
"key": "community",
"band": "at_risk",
"name": "Community & Adoption",
"value": 24,
"weight": 0.17,
"metrics": [
{
"key": "popularity",
"band": "critical",
"name": "Popularity & adoption",
"note": null,
"notes": [],
"value": 1,
"inputs": {
"forks": 0,
"stars": 0,
"watchers": 0,
"growth_state": "unverified",
"growth_factor_pct": 100,
"growth_unverified_reason": "no_history"
},
"components": [
{
"key": "stars",
"name": "Stars",
"detail": "0 stars",
"points": 0,
"status": "missed",
"details": [
{
"code": "stars",
"params": {
"count": 0
}
}
],
"max_points": 60
},
{
"key": "forks",
"name": "Forks",
"detail": "0 forks",
"points": 0,
"status": "missed",
"details": [
{
"code": "forks",
"params": {
"count": 0
}
}
],
"max_points": 25
},
{
"key": "watchers",
"name": "Watchers",
"detail": "0 watchers",
"points": 0,
"status": "missed",
"details": [
{
"code": "watchers",
"params": {
"count": 0
}
}
],
"max_points": 15
}
]
},
{
"key": "community_health",
"band": "moderate",
"name": "Community health",
"note": null,
"notes": [],
"value": 50,
"inputs": {
"has_readme": true,
"has_license": true,
"readme_badges": 0,
"has_contributing": false,
"has_issue_template": false,
"has_code_of_conduct": false,
"readme_badge_services": [],
"has_pull_request_template": false
},
"components": [
{
"key": "readme",
"name": "README",
"detail": null,
"points": 22.5,
"status": "met",
"details": [],
"max_points": 22.5
},
{
"key": "license",
"name": "License",
"detail": "recognized license (MIT)",
"points": 22.5,
"status": "met",
"details": [
{
"code": "license_standard",
"params": {}
},
{
"code": "license_spdx",
"params": {
"spdx": "MIT"
}
}
],
"max_points": 22.5
},
{
"key": "contributing_guide",
"name": "CONTRIBUTING guide",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 18
},
{
"key": "code_of_conduct",
"name": "Code of conduct",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 13.5
},
{
"key": "issue_template",
"name": "Issue template",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 7.2
},
{
"key": "pr_template",
"name": "PR template",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 6.3
}
]
}
],
"description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
},
{
"key": "governance",
"band": "at_risk",
"name": "Sustainability & Governance",
"value": 34,
"weight": 0.23,
"metrics": [
{
"key": "maintainer_resilience",
"band": "critical",
"name": "Maintainer resilience (bus factor)",
"note": null,
"notes": [],
"value": 10,
"inputs": {
"bus_factor": 1,
"contributors_sampled": 1,
"top_contributor_share": 1
},
"components": [
{
"key": "bus_factor",
"name": "Bus factor",
"detail": "1 contributor(s) cover half of all commits",
"points": 9,
"status": "partial",
"details": [
{
"code": "bus_factor",
"params": {
"count": 1
}
}
],
"max_points": 54
},
{
"key": "commit_distribution",
"name": "Commit distribution",
"detail": "top contributor authored 100% of commits",
"points": 0,
"status": "missed",
"details": [
{
"code": "top_contributor_share",
"params": {
"share": 100
}
}
],
"max_points": 22.5
},
{
"key": "contributor_breadth",
"name": "Contributor breadth",
"detail": "1 contributors",
"points": 1.4,
"status": "partial",
"details": [
{
"code": "contributors_sampled",
"params": {
"count": 1
}
}
],
"max_points": 13.5
},
{
"key": "openssf_scorecard_contributors",
"name": "OpenSSF Scorecard: Contributors",
"detail": "project has 0 contributing companies or organizations -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 10
}
]
},
{
"key": "responsiveness",
"band": "critical",
"name": "Issue & PR responsiveness",
"note": "Excluded from scoring (no data or not applicable): Issue resolution, PR acceptance, Newcomer PR acceptance. Remaining weights renormalized.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"issue_resolution",
"pr_acceptance",
"newcomer_pr_acceptance"
]
}
},
{
"code": "weights_renormalized",
"params": {}
}
],
"value": 1,
"inputs": {
"merged_prs": 0,
"open_issues": 0,
"closed_issues": 0,
"prs_merged_7d": 0,
"prs_decided_7d": 0,
"prs_merged_30d": 0,
"prs_decided_30d": 0,
"issue_closed_ratio": null,
"closed_unmerged_prs": 0,
"first_time_authors_30d": 0,
"first_time_prs_merged_30d": 0,
"first_time_prs_decided_30d": 0
},
"components": [
{
"key": "issue_resolution",
"name": "Issue resolution",
"detail": "no issues or no data",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_issues_or_data",
"params": {}
}
],
"max_points": 42
},
{
"key": "pr_acceptance",
"name": "PR acceptance",
"detail": "no decided pull requests or no data",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_decided_prs_or_data",
"params": {}
}
],
"max_points": 30
},
{
"key": "newcomer_pr_acceptance",
"name": "Newcomer PR acceptance",
"detail": "no first-time contributor's PR decided in 30d",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_newcomer_prs",
"params": {
"days": 30
}
}
],
"max_points": 13
},
{
"key": "openssf_scorecard_code_review",
"name": "OpenSSF Scorecard: Code-Review",
"detail": "Found 0/18 approved changesets -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 15
}
]
},
{
"key": "stewardship",
"band": "weak",
"name": "Ownership & stewardship",
"note": "Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"verified_domain"
]
}
},
{
"code": "weights_renormalized",
"params": {}
}
],
"value": 49,
"inputs": {
"followers": 5,
"owner_type": "User",
"is_verified": null,
"owner_login": "zkrebbekx",
"public_repos": 36,
"account_age_days": 5861
},
"components": [
{
"key": "ownership_backing",
"name": "Ownership backing",
"detail": "personal (user) account",
"points": 10,
"status": "partial",
"details": [
{
"code": "owner_personal",
"params": {}
}
],
"max_points": 30
},
{
"key": "verified_domain",
"name": "Verified domain",
"detail": "not applicable to user accounts",
"points": 0,
"status": "excluded",
"details": [
{
"code": "not_applicable_to_user_accounts",
"params": {}
}
],
"max_points": 20
},
{
"key": "owner_reach",
"name": "Owner reach",
"detail": "5 followers of zkrebbekx",
"points": 5.6,
"status": "partial",
"details": [
{
"code": "owner_followers",
"params": {
"count": 5,
"login": "zkrebbekx"
}
}
],
"max_points": 25
},
{
"key": "track_record",
"name": "Track record",
"detail": "36 public repos, account ~16 yr old",
"points": 23.4,
"status": "partial",
"details": [
{
"code": "public_repos",
"params": {
"count": 36
}
},
{
"code": "account_age_years",
"params": {
"years": 16
}
}
],
"max_points": 25
}
]
},
{
"key": "package_maintenance",
"band": "excellent",
"name": "Package maintenance",
"note": null,
"notes": [],
"value": 92,
"inputs": {
"packages": [
"github.com/zkrebbekx/tariff",
"github.com/zkrebbekx/tariff/tariffd"
],
"ecosystems": "go",
"any_deprecated": false,
"min_days_since_publish": 12
},
"components": [
{
"key": "published_resolvable",
"name": "Published & resolvable",
"detail": "2 package(s) on go",
"points": 25,
"status": "met",
"details": [
{
"code": "packages_published",
"params": {
"count": 2,
"ecosystems": "go"
}
}
],
"max_points": 25
},
{
"key": "publish_recency",
"name": "Publish recency",
"detail": "latest publish 12 days ago",
"points": 35,
"status": "met",
"details": [
{
"code": "publish_recency",
"params": {
"days": 12
}
}
],
"max_points": 35
},
{
"key": "version_history",
"name": "Version history",
"detail": "2 published versions",
"points": 12,
"status": "partial",
"details": [
{
"code": "published_versions",
"params": {
"count": 2
}
}
],
"max_points": 20
},
{
"key": "not_deprecated",
"name": "Not deprecated",
"detail": "active, not deprecated or yanked",
"points": 20,
"status": "met",
"details": [
{
"code": "package_not_deprecated",
"params": {}
}
],
"max_points": 20
}
]
}
],
"description": "Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?"
},
{
"key": "engineering",
"band": "excellent",
"name": "Engineering Quality",
"value": 88,
"weight": 0.19,
"metrics": [
{
"key": "engineering_practices",
"band": "excellent",
"name": "Engineering practices",
"note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: CI-Tests. Remaining weights renormalized.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"openssf_scorecard_ci_tests"
]
}
},
{
"code": "weights_renormalized",
"params": {}
}
],
"value": 80,
"inputs": {
"has_ci": true,
"has_tests": true,
"has_editorconfig": false,
"has_linter_config": true,
"has_precommit_config": false
},
"components": [
{
"key": "ci_workflows",
"name": "CI workflows",
"detail": "2 workflow(s)",
"points": 24,
"status": "met",
"details": [
{
"code": "ci_workflows",
"params": {
"count": 2
}
}
],
"max_points": 24
},
{
"key": "tests_present",
"name": "Tests present",
"detail": null,
"points": 24,
"status": "met",
"details": [],
"max_points": 24
},
{
"key": "linter_config",
"name": "Linter config",
"detail": ".golangci.yml",
"points": 16,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": ".golangci.yml"
}
}
],
"max_points": 16
},
{
"key": "pre_commit_hooks",
"name": "Pre-commit hooks",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 9.6
},
{
"key": "editorconfig",
"name": ".editorconfig",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 6.4
},
{
"key": "openssf_scorecard_ci_tests",
"name": "OpenSSF Scorecard: CI-Tests",
"detail": "no pull request found",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 20
}
]
},
{
"key": "documentation",
"band": "exceptional",
"name": "Documentation",
"note": null,
"notes": [],
"value": 100,
"inputs": {
"topics": [
"billing",
"go",
"golang",
"metering",
"pricing",
"proration",
"rating-engine",
"subscription-billing",
"usage-based-billing",
"zero-dependency",
"stripe-billing-alternative"
],
"has_wiki": true,
"homepage": "https://zkrebbekx.github.io/tariff/",
"has_readme": true,
"has_docs_dir": true,
"has_description": true
},
"components": [
{
"key": "readme",
"name": "README",
"detail": null,
"points": 30,
"status": "met",
"details": [],
"max_points": 30
},
{
"key": "documentation_directory",
"name": "Documentation directory",
"detail": null,
"points": 25,
"status": "met",
"details": [],
"max_points": 25
},
{
"key": "documentation_homepage_site",
"name": "Documentation / homepage site",
"detail": "https://zkrebbekx.github.io/tariff/",
"points": 15,
"status": "met",
"details": [],
"max_points": 15
},
{
"key": "repository_description",
"name": "Repository description",
"detail": null,
"points": 10,
"status": "met",
"details": [],
"max_points": 10
},
{
"key": "topics",
"name": "Topics",
"detail": "11 topics",
"points": 10,
"status": "met",
"details": [
{
"code": "topics_count",
"params": {
"count": 11
}
}
],
"max_points": 10
},
{
"key": "wiki",
"name": "Wiki",
"detail": null,
"points": 10,
"status": "met",
"details": [],
"max_points": 10
}
]
}
],
"description": "Are baseline engineering and documentation practices in place?"
},
{
"key": "security",
"band": "good",
"name": "Security",
"value": 67,
"weight": 0.16,
"metrics": [
{
"key": "security_posture",
"band": "good",
"name": "Security posture",
"note": "Excluded from scoring (no data or not applicable): Branch-Protection, CI-Tests, Packaging, Signed-Releases. Remaining weights renormalized.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"branch_protection",
"ci_tests",
"packaging",
"signed_releases"
]
}
},
{
"code": "weights_renormalized",
"params": {}
}
],
"value": 67,
"inputs": {
"source": "openssf_scorecard",
"checks_evaluated": 14,
"scorecard_version": "v5.5.0",
"checks_inconclusive": 4,
"scorecard_aggregate": 6.7
},
"components": [
{
"key": "binary_artifacts",
"name": "Binary-Artifacts",
"detail": "no binaries found in the repo",
"points": 7.5,
"status": "met",
"details": [],
"max_points": 7.5
},
{
"key": "branch_protection",
"name": "Branch-Protection",
"detail": "internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 7.5
},
{
"key": "ci_tests",
"name": "CI-Tests",
"detail": "no pull request found",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 2.5
},
{
"key": "cii_best_practices",
"name": "CII-Best-Practices",
"detail": "no effort to earn an OpenSSF best practices badge detected",
"points": 0,
"status": "missed",
"details": [],
"max_points": 2.5
},
{
"key": "code_review",
"name": "Code-Review",
"detail": "Found 0/18 approved changesets -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 7.5
},
{
"key": "contributors",
"name": "Contributors",
"detail": "project has 0 contributing companies or organizations -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 2.5
},
{
"key": "dangerous_workflow",
"name": "Dangerous-Workflow",
"detail": "no dangerous workflow patterns detected",
"points": 10,
"status": "met",
"details": [],
"max_points": 10
},
{
"key": "dependency_update_tool",
"name": "Dependency-Update-Tool",
"detail": "update tool detected",
"points": 7.5,
"status": "met",
"details": [],
"max_points": 7.5
},
{
"key": "fuzzing",
"name": "Fuzzing",
"detail": "project is fuzzed",
"points": 5,
"status": "met",
"details": [],
"max_points": 5
},
{
"key": "license",
"name": "License",
"detail": "license file detected",
"points": 2.5,
"status": "met",
"details": [],
"max_points": 2.5
},
{
"key": "maintained",
"name": "Maintained",
"detail": "project was created within the last 90 days. Please review its contents carefully",
"points": 0,
"status": "missed",
"details": [],
"max_points": 7.5
},
{
"key": "packaging",
"name": "Packaging",
"detail": "packaging workflow not detected",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 5
},
{
"key": "pinned_dependencies",
"name": "Pinned-Dependencies",
"detail": "dependency not pinned by hash detected -- score normalized to 5",
"points": 2.5,
"status": "partial",
"details": [],
"max_points": 5
},
{
"key": "sast",
"name": "SAST",
"detail": "no SAST tool detected",
"points": 0,
"status": "missed",
"details": [],
"max_points": 5
},
{
"key": "security_policy",
"name": "Security-Policy",
"detail": "security policy file detected",
"points": 5,
"status": "met",
"details": [],
"max_points": 5
},
{
"key": "signed_releases",
"name": "Signed-Releases",
"detail": "no releases found",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 7.5
},
{
"key": "token_permissions",
"name": "Token-Permissions",
"detail": "GitHub workflow tokens follow principle of least privilege",
"points": 7.5,
"status": "met",
"details": [],
"max_points": 7.5
},
{
"key": "vulnerabilities",
"name": "Vulnerabilities",
"detail": "0 existing vulnerabilities detected",
"points": 7.5,
"status": "met",
"details": [],
"max_points": 7.5
}
]
},
{
"key": "high_risk_jurisdiction_exposure",
"band": "exceptional",
"name": "High-Risk Jurisdiction Exposure",
"note": "Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.",
"notes": [
{
"code": "jurisdiction_evidence_limits",
"params": {}
}
],
"value": 100,
"inputs": {
"meaning": "self-published location evidence; not nationality or citizenship",
"red_flag": false,
"exposures": [],
"policy_countries": [
"Russia",
"Iran",
"North Korea"
],
"commit_weight_rule": {
"min_commits": 50,
"min_commit_share": 0.1
},
"review_only_matches": 0,
"below_threshold_exposures": [],
"assessed_self_published_locations": 2
},
"components": [
{
"key": "policy_exposure_multiplier",
"name": "Policy exposure multiplier",
"detail": "no confirmed policy-scope location match",
"points": 100,
"status": "met",
"details": [
{
"code": "jurisdiction_no_match",
"params": {}
}
],
"max_points": 100
}
]
}
],
"description": "Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure?"
},
{
"key": "ai_readiness",
"band": "moderate",
"name": "AI Readiness",
"value": 64,
"weight": 0.04,
"metrics": [
{
"key": "ai_agent_context",
"band": "critical",
"name": "Agent context & guidance",
"note": "Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"legible_commit_history"
]
}
},
{
"code": "weights_renormalized",
"params": {}
}
],
"value": 1,
"inputs": {
"has_llms_txt": false,
"legible_history_share": null,
"agent_instruction_files": [],
"agent_instruction_max_bytes": null
},
"components": [
{
"key": "agent_instructions",
"name": "Agent instructions",
"detail": "no CLAUDE.md / AGENTS.md / editor rules",
"points": 0,
"status": "missed",
"details": [
{
"code": "no_agent_instructions",
"params": {}
}
],
"max_points": 45
},
{
"key": "machine_readable_docs_llms_txt",
"name": "Machine-readable docs (llms.txt)",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 15
},
{
"key": "legible_commit_history",
"name": "Legible commit history",
"detail": "no data",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 40
}
]
},
{
"key": "ai_verify_loop",
"band": "excellent",
"name": "Verify loop (build / test / typecheck)",
"note": "Excluded from scoring (no data or not applicable): Demonstrated agent practice. Remaining weights renormalized.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"demonstrated_agent_practice"
]
}
},
{
"code": "weights_renormalized",
"params": {}
}
],
"value": 91,
"inputs": {
"has_nix": false,
"has_tests": true,
"lockfiles": [],
"has_dockerfile": true,
"typed_language": true,
"bootstrap_files": [
"Makefile"
],
"has_devcontainer": false,
"has_linter_config": true,
"typecheck_configs": [],
"agent_commit_share": null,
"toolchain_manifests": [
"examples/go.mod",
"go.mod",
"tariffd/go.mod"
],
"dependency_bot_commit_share": 0
},
"components": [
{
"key": "one_command_bootstrap",
"name": "One-command bootstrap",
"detail": "Makefile",
"points": 18,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": "Makefile"
}
}
],
"max_points": 18
},
{
"key": "automated_tests",
"name": "Automated tests",
"detail": null,
"points": 22,
"status": "met",
"details": [],
"max_points": 22
},
{
"key": "lint_format_config",
"name": "Lint / format config",
"detail": ".golangci.yml",
"points": 11,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": ".golangci.yml"
}
}
],
"max_points": 11
},
{
"key": "static_type_checking",
"name": "Static type checking",
"detail": "Go (statically typed)",
"points": 11,
"status": "met",
"details": [
{
"code": "statically_typed_language",
"params": {
"language": "Go"
}
}
],
"max_points": 11
},
{
"key": "reproducible_environment",
"name": "Reproducible environment",
"detail": "Dockerfile",
"points": 10,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": "Dockerfile"
}
}
],
"max_points": 10
},
{
"key": "demonstrated_agent_practice",
"name": "Demonstrated agent practice",
"detail": "no data",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 10
},
{
"key": "automated_maintenance",
"name": "Automated maintenance",
"detail": "dependency automation configured, none observed in the sampled commits",
"points": 5,
"status": "partial",
"details": [
{
"code": "dependency_bot_config_only",
"params": {}
}
],
"max_points": 8
},
{
"key": "openssf_scorecard_pinned_dependencies",
"name": "OpenSSF Scorecard: Pinned-Dependencies",
"detail": "dependency not pinned by hash detected -- score normalized to 5",
"points": 5,
"status": "partial",
"details": [],
"max_points": 10
}
]
},
{
"key": "ai_code_legibility",
"band": "exceptional",
"name": "Code legibility for models",
"note": null,
"notes": [],
"value": 100,
"inputs": {
"primary_language": "Go",
"largest_source_bytes": 35366,
"source_files_sampled": 45,
"oversized_source_files": 0
},
"components": [
{
"key": "type_checkable_code",
"name": "Type-checkable code",
"detail": "Go (statically typed)",
"points": 45,
"status": "met",
"details": [
{
"code": "statically_typed_language",
"params": {
"language": "Go"
}
}
],
"max_points": 45
},
{
"key": "manageable_file_sizes",
"name": "Manageable file sizes",
"detail": "0/45 source files over 60KB",
"points": 55,
"status": "met",
"details": [
{
"code": "oversized_source_files",
"params": {
"kb": 60,
"sampled": 45,
"oversized": 0
}
}
],
"max_points": 55
}
]
},
{
"key": "ai_interfaces",
"band": "excellent",
"name": "Machine-readable interfaces",
"note": null,
"notes": [],
"value": 80,
"inputs": {
"example_dirs": [
"examples"
],
"has_mcp_signal": false,
"api_schema_files": [
"tariffd/internal/api/openapi.yaml"
]
},
"components": [
{
"key": "api_schema_openapi_graphql_proto",
"name": "API schema (OpenAPI/GraphQL/proto)",
"detail": "tariffd/internal/api/openapi.yaml",
"points": 40,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": "tariffd/internal/api/openapi.yaml"
}
}
],
"max_points": 40
},
{
"key": "mcp_server",
"name": "MCP server",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 20
},
{
"key": "runnable_examples",
"name": "Runnable examples",
"detail": "examples",
"points": 40,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": "examples"
}
}
],
"max_points": 40
}
]
}
],
"description": "How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight: agent tooling is a real maintenance signal, but its absence must never gate the top of the scale (calibration saturates at raw 91, so 100/100 remains reachable with AI Readiness at zero)."
}
],
"classification": {
"labels": [
"network-service",
"library"
],
"scores": {
"cli": 3,
"library": 6,
"network-service": 6
},
"primary": "network-service",
"evidence": [
{
"tier": "distribution",
"label": "library",
"source": "registry:go",
"weight": 6
},
{
"tier": "structure",
"label": "cli",
"source": "tree.go_main",
"weight": 3
},
{
"tier": "structure",
"label": "network-service",
"source": "api_schema",
"weight": 3
},
{
"tier": "structure",
"label": "network-service",
"source": "tree.compose",
"weight": 3
}
],
"artifacts": [],
"confidence": "medium",
"host_extension": false,
"runs_as_process": true,
"consumed_by_code": true
},
"metrics_version": "2.3.1"
},
"warnings": [],
"report_type": "repository",
"generated_at": "2026-08-03T12:58:49.637303Z",
"schema_version": "0.30.0",
"badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/z/zkrebbekx/tariff.svg",
"full_name": "zkrebbekx/tariff",
"license_state": "standard",
"license_spdx": "MIT"
}