Datasets:
messages listlengths 2 2 |
|---|
[
{
"role": "user",
"content": "Write a Python function: Record a Bekenstein-gated energy-budget receipt for ONE completed turn. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _emit_turn_receipt(text: str, model_used: str,... |
[
{
"role": "user",
"content": "Write a Python function: Organ/surface count the Brain is lighting, derived from the SAME graph the Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef lit_summary(knowledge: dict) -> dict:\n ... |
[
{
"role": "user",
"content": "Write a Python function: Public API: feed Lambda score, get conformal drift analysis. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef conformal_drift_update(lambda_score: float) -> dict:\n ... |
[
{
"role": "user",
"content": "Write a Python function: Register lifecycle writes with the host's existing deny-by-default gate. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _install_operator_gate_patterns() -> None:\n ... |
[
{
"role": "user",
"content": "Write a Python function: Grade the overall constitution over the EVALUABLE Articles only. NEVER CONSTITUTIONAL Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _decide_verdict(article_records:... |
[
{
"role": "user",
"content": "Write a Python function: Top Federal Register agencies by recent activity (compliance surface). Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef feed_fr_agencies(limit: int = 14) -> dict[str, ... |
[
{
"role": "user",
"content": "Write a Python function: Evaluate ONE Article against the gathered sibling signals. Returns a per-Article record Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _eval_article(article: dict, s... |
[
{
"role": "user",
"content": "Write a Python function: Reuse the Wave-A/H cc-attest measured-boot chain via szl_attested_inference. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _measurement_chain(seed: int, model: str)... |
[
{
"role": "user",
"content": "Write a Python function: Ecosystem status = live model roster (real in-request read) + meter-gated joules. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _f_ecosystem() -> dict:\n \"\"\"E... |
[
{
"role": "user",
"content": "Write a Python function: DSSE-sign via szl_dsse; never fabricate a signature if no key present. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _sign(payload: Dict[str, Any], ptype: str) -> D... |
[
{
"role": "user",
"content": "Write a Python function: Nervous system (OTel + vsp): recent spans as a synaptic mesh. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef spans_recent(ns: str = \"a11oy\") -> Dict[str, Any]:\n ... |
[
{
"role": "user",
"content": "Write a Python function: Seed the live LMDB dir from a repo-committed snapshot, if one exists. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _restore_snapshot(lmdb_path: str, ns: str) -> bo... |
[
{
"role": "user",
"content": "Write a Python function: Convenience wrapper for embedding in govern/infer receipts. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef eu_disclosure_field_for_receipt(\n nvml_joules_delta: f... |
[
{
"role": "user",
"content": "Write a Python function: Probe for the GPU quant stack WITHOUT importing heavy modules at request time Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _gpu_libs_present() -> dict:\n \"\"\"... |
[
{
"role": "user",
"content": "Write a Python function: Public metadata view of a profile — provenance + availability + sha256 ONLY. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _public_view(profile: dict[str, Any], bod... |
[
{
"role": "user",
"content": "Write a Python function: An UNSIGNED SHA-256 content-digest receipt over the explanation trace (no Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _content_receipt(trace: dict) -> dict:\n ... |
[
{
"role": "user",
"content": "Write a Python function: Best-effort in-process call to Dev1's operator status handler. None if absent. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _try_operator_status() -> Optional[Mapp... |
[
{
"role": "user",
"content": "Write a Python function: Fetch once; provider-wide CourtListener/NVD 429s hold later reads. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _source_json_with_cooldown(\n client: httpx.Clie... |
[
{
"role": "user",
"content": "Write a Python function: Share the code run-loop's configured-tenant admission, or fail closed. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _tenant_refusal(request):\n \"\"\"Share the ... |
[
{
"role": "user",
"content": "Write a Python function: Existing Anatomy v5 bridge to the Brain evidence receipt contract. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef evidence_receipt_anatomy(node_id: str, ns: str = \"... |
[
{
"role": "user",
"content": "Write a Python function: On *.hf.space: omit Space Hub / furniture rel=canonical. Do not stamp product. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef omit_space_or_furniture_canonical_link(... |
[
{
"role": "user",
"content": "Write a Python function: N(ρ) = (‖ρ^{T_B}‖₁ − 1)/2 (Vidal-Werner 2002), eigenvalue method. 2-qubit. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef negativity(rho, logarithmic: bool = False) ... |
[
{
"role": "user",
"content": "Write a Python function: Produce (or accept) a DSSE envelope and verify it; optionally flip a byte to Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef verify_receipt_full(envelope: Optional[di... |
[
{
"role": "user",
"content": "Write a Python function: True if `tok` appears only in a negated/attribute context (e.g. 'no conflict', Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _is_negated(text: str, tok: str) -> boo... |
[
{
"role": "user",
"content": "Write a Python function: Return the first existing certificate path, or None if none is present. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef cert_path():\n \"\"\"Return the first exist... |
[
{
"role": "user",
"content": "Write a Python function: Fetch Dev1's REAL archive snapshot defensively. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _archive(seed: int, cycles: int) -> Dict[str, Any]:\n \"\"\"Fetch D... |
[
{
"role": "user",
"content": "Write a Python function: Return (seeds:id->weight, matched_fraction). Seeds = nodes whose text Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _seed_from_query(query: str, nodes: list) -> tup... |
[
{
"role": "user",
"content": "Write a Python function: Sign a demo receipt with the LIVE classical scheme + an HONEST hybrid envelope. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef pqc_sign_demo(text: str) -> dict[str, ... |
[
{
"role": "user",
"content": "Write a Python function: 7-tier router. Returns OpenAI-compatible response + Khipu receipt. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\nasync def v1_router(request: Request) -> JSONResponse:\... |
[
{
"role": "user",
"content": "Write a Python function: Density specific impulse Isp_rho = rho_mix * Isp — the binding metric under a Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef density_impulse(rho_mix_g_cm3: float, ... |
[
{
"role": "user",
"content": "Write a Python function: No raw receipt, prompt, model, hash, URL, or attacker-supplied free text. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _public_forum_event(entry: dict) -> dict:\n ... |
[
{
"role": "user",
"content": "Write a Python function: True only when the stored receipt carries a DSSE envelope whose every signature entry Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _has_dsse_signature_bytes(receip... |
[
{
"role": "user",
"content": "Write a Python function: Project a formula output onto a [0,1] TRUST scalar for Λ-aggregation. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _to_scalar(out: Any, formula_name: str = \"\") -... |
[
{
"role": "user",
"content": "Write a Python function: Offline verification: recompute the digest and check the signature against the embedded Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef verify_receipt(receipt: dict) ... |
[
{
"role": "user",
"content": "Write a Python function: Build a SCITT Agent Action Capsule for a governed-inference turn. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef build_capsule(\n *,\n prompt_hash: str,\n m... |
[
{
"role": "user",
"content": "Write a Python function: Best-effort in-process call to the live operator status handler. None if absent. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _try_operator_status() -> Optional[Ma... |
[
{
"role": "user",
"content": "Write a Python function: Run the full hybrid training loop and return the pipeline + loss curve. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _train(seed=7, n_qubits=3, layers=2, steps=12)... |
[
{
"role": "user",
"content": "Write a Python function: Return (verdict, reason). Verdict in {allow, block, abstain}. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef organ_verdict(organ: str, action_hash: str, context: dic... |
[
{
"role": "user",
"content": "Write a Python function: Mount the projection endpoint on the FastAPI ``app``. Returns a status string. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef register(app, ns: str = \"a11oy\") -> s... |
[
{
"role": "user",
"content": "Write a Python function: Construct the draft-05 controls_evaluated object honestly from real signals. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef build_controls_evaluated(*,\n ... |
[
{
"role": "user",
"content": "Write a Python function: Deterministic canonical serialization of the gap-bearing content (excludes the Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _canonical_core(result: dict) -> str:\n... |
[
{
"role": "user",
"content": "Write a Python function: Call a governed formula tool on hatun-mcp via the MCP client. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _tool_formula_call(tool: str, args: dict[str, Any]) -> A... |
[
{
"role": "user",
"content": "Write a Python function: Build a signed inference receipt. Never raises; on any crypto/key failure it returns an Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef sign_receipt(request: str, sou... |
[
{
"role": "user",
"content": "Implement this Python module for the SZL governed estate: szl_surface_manifests.py — honesty manifests for client-only frontier surfaces."
},
{
"role": "assistant",
"content": "```python\n#!/usr/bin/env python3\n# SPDX-License-Identifier: Apache-2.0\n# © 2026 Lutar,... |
[
{
"role": "user",
"content": "Write a Python function: Load Intel's in-guest Quote Generation Library without a shell helper. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _load_tdx_attest_library():\n \"\"\"Load Int... |
[
{
"role": "user",
"content": "Write a Python function: Deterministic stdlib LCG (no numpy) — same convention as szl_kv_cache. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _rng(seed: int):\n \"\"\"Deterministic stdli... |
[
{
"role": "user",
"content": "Implement this Python module for the SZL governed estate: szl_hf_scout.py — scrape-shaped honesty over public Hub cards."
},
{
"role": "assistant",
"content": "```python\n# SPDX-License-Identifier: Apache-2.0\n# © 2026 Lutar, Stephen P. — SZL Holdings · ORCID 0009-0... |
[
{
"role": "user",
"content": "Write a Python function: Return an asset descriptor + a server-side fetched preview (honest degrade). Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef asset_status(key: str) -> dict[str, Any]:... |
[
{
"role": "user",
"content": "Write a Python function: Validate a cumulative counter snapshot, never a job-attributed energy window. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _meter_counter_evidence(payload: Any, *,... |
[
{
"role": "user",
"content": "Write a Python function: True Proportional Navigation lateral accel command a_cmd = N * Vc * λ̇. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef pn_accel_cmd(N: float, Vc: float, los_rate: f... |
[
{
"role": "user",
"content": "Write a Python function: Mesh status = real per-node HTTP probes taken this request. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _f_mesh() -> dict:\n \"\"\"Mesh status = real per-node ... |
[
{
"role": "user",
"content": "Write a Python function: Deterministic model-router crossover (GENERALIZED active-flux law). Maps query Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef router_crossover(query_difficulty: floa... |
[
{
"role": "user",
"content": "Write a Python function: Read the first present key from a branch dict (rename-tolerant). Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _branch_get(b: Dict[str, Any], *keys: str, default: A... |
[
{
"role": "user",
"content": "Write a Python function: Emit a Khipu DSSE receipt. Signature is PLACEHOLDER until Ed25519 is wired. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef create_dsse_receipt(\n flagship: str,\n... |
[
{
"role": "user",
"content": "Write a Python function: Call Google Gemini free tier (gemini-1.5-flash). Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _call_gemini(prompt: str) -> tuple[str, dict]:\n \"\"\"Call Google... |
[
{
"role": "user",
"content": "Write a Python function: Omit unofficial rows the readiness probe cannot honestly admit. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _finance_public_series(series: dict[str, Any]) -> dict... |
[
{
"role": "user",
"content": "Write a Python function: Deterministic, transparent, never-above-earned assurance derivation. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _derive_assurance(serve_measured: bool, cite_verd... |
[
{
"role": "user",
"content": "Write a Python function: A MODELED link (OISL between sats, or ground-space downlink). modeled:true. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _link(link_id: str, src: str, dst: str, ki... |
[
{
"role": "user",
"content": "Write a Python function: Genuine Adam gradient-descent fit of a 2 -> hidden -> 1 KAN with per-edge Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _fit_kan(seed, hidden, knots, epochs, grid, ... |
[
{
"role": "user",
"content": "Write a Python function: RFC 6962 leaf hash: SHA-256(0x00 || body). Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef leaf_hash(entry_body_b64: str) -> bytes:\n \"\"\"RFC 6962 leaf hash: SHA... |
[
{
"role": "user",
"content": "Write a Python function: Register idempotent, read-only runtime endpoints and the soft-404 guard. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef register(app: Any, ns: str = \"a11oy\") -> di... |
[
{
"role": "user",
"content": "Write a Python function: Return the bounded minimum spacing between CourtListener requests. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _courtlistener_min_interval_s() -> float:\n \"\"... |
[
{
"role": "user",
"content": "Write a Python function: LIVE sovereign-inference posture (delegated to the orchestrator — the authority). Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _sovereign_state() -> dict:\n \"\... |
[
{
"role": "user",
"content": "Write a Python function: Squared Cartesian distance of a fractional difference df via the metric G. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _frac_dist2(df: tuple[float, float, float],... |
[
{
"role": "user",
"content": "Implement this Python module for the SZL governed estate: szl_unified_formulas.py — UNIFIED leader-formula module (thesis v6), real deterministic"
},
{
"role": "assistant",
"content": "```python\n# VENDORED FROM szl-holdings/platform@880fda4f67fd2bbdc3507dce6d81fb78... |
[
{
"role": "user",
"content": "Write a Python function: GET /brain/brainretro/manifest — this surface's OWN honesty manifest, at a path Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef handle_manifest(ns: str = \"a11oy\") -... |
[
{
"role": "user",
"content": "Write a Python function: Resolve the a11oy Code agent's model credential, provider-agnostically. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef resolve_code_llm_key() -> dict[str, Any]:\n ... |
[
{
"role": "user",
"content": "Write a Python function: €/token = (J/token / 3.6e9 J/kWh) * (€/MWh / 1000 kWh/MWh). Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _eur_per_token(joules_per_token: Optional[float],\n ... |
[
{
"role": "user",
"content": "Write a Python function: Fetch + parse {METER_URL}/metrics with a SHORT timeout. Honest result dict: Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _fetch_meter() -> dict:\n \"\"\"Fetch +... |
[
{
"role": "user",
"content": "Write a Python function: Derive the model output hash for the in-toto subject.digest. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef compute_output_hash(receipt: dict) -> str | None:\n \"... |
[
{
"role": "user",
"content": "Write a Python function: Return the receipt key identifier for a normalized PUBLIC PEM. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef keyid_for_public_pem(public_pem: str) -> str:\n \"\"... |
[
{
"role": "user",
"content": "Write a Python function: SZL-PQ Receipt Bus: an append-only, hash-chained command receipt designed for a Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef szl_pq_receipt(command: str, prev_hash... |
[
{
"role": "user",
"content": "Write a Python function: DSSE-sign the in-toto Statement. Real ECDSA-P256 when the cosign secret is present in-Space; Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _sign_statement(statement... |
[
{
"role": "user",
"content": "Write a Python function: CR3 - RF Signal Attribution Phoenix Protocol (B1 dual-witness). regl IQ scatter + radar. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _d_CR3(mode, host):\n \"\"... |
[
{
"role": "user",
"content": "Write a Python function: Read + parse the shipped certificate. Returns (cert_dict, path) on success, Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef load_certificate():\n \"\"\"Read + pars... |
[
{
"role": "user",
"content": "Write a Python function: Deterministic feature-hashed bag-of-tokens embedding (MODELED). Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _hash_embed_one(text: str, dim: int = EMBED_DIM) -> li... |
[
{
"role": "user",
"content": "Write a Python function: Allodial Sovereignty Score 𝒜 ∈ [0,100]. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef allodial_score(seals: Sequence[int], weights: Sequence[float] | None,\n ... |
[
{
"role": "user",
"content": "Write a Python function: Return the checked-in adoption contract without upgrading its honesty state. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef get_frontier_adoption() -> dict[str, Any]... |
[
{
"role": "user",
"content": "Write a Python function: Metabolic Theory of Ecology rate B = b0 · M^β · exp(−E/kT). Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef mte_rate(M_kg: float, T_kelvin: float, b0: float = 70.0,\... |
[
{
"role": "user",
"content": "Write a Python function: Build the live freshness aggregate over the reused honest brain graph. Never raises: an Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef build_aggregate(ns: str = \"a1... |
[
{
"role": "user",
"content": "Write a Python function: Autonomous-ledger section. Independent fail-closed domain: on error the Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _ledger_section_html(ledger) -> str:\n \"\"... |
[
{
"role": "user",
"content": "Write a Python function: Module-level convenience: append to the shared process chain. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef append_receipt(**kwargs) -> dict:\n \"\"\"Module-leve... |
[
{
"role": "user",
"content": "Write a Python function: Governed envelope — byte-compatible with serve.py's gov_envelope contract Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _gov(payload: dict, status: str = \"REAL\", ... |
[
{
"role": "user",
"content": "Write a Python function: An UNSIGNED SHA-256 content-digest receipt over a governed answer object (no signature Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef content_receipt(report: dict) -... |
[
{
"role": "user",
"content": "Write a Python function: Report the proposed route target, not a model that WILLAY served. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _route_target_model(verdict: Dict[str, Any], body: D... |
[
{
"role": "user",
"content": "Write a Python function: GET /brain/health/info — static self-describing manifest (no compute). PURE READ. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef handle_info(ns: str = \"a11oy\") -> ... |
[
{
"role": "user",
"content": "Write a Python function: Nearest-rank percentile of an already-sorted list (None if empty). Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _percentile(sorted_vals: List[float], pct: float) -... |
[
{
"role": "user",
"content": "Write a Python function: Seed a query vector q and seq_len token key vectors. n_needles positions carry a Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _build_task(seed: int, seq_len: int, ... |
[
{
"role": "user",
"content": "Write a Python function: True only for the JSON DATA surface that should be metered. Liveness probes Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _is_rate_limited_path(path: str) -> bool:\... |
[
{
"role": "user",
"content": "Write a Python function: (d) Dominant-community share of the grounding nodes (clustered vs scattered). Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _community_consistency(nodes: list) -> d... |
[
{
"role": "user",
"content": "Write a Python function: Reflect observation age as well as transport cache age in FX health. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _fx_cached_health(key: str) -> dict[str, Any]:\n ... |
[
{
"role": "user",
"content": "Write a Python function: List text-file paths in an HF Space via the public tree API (real content Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _hf_space_files(space: str) -> list[str]:\n ... |
[
{
"role": "user",
"content": "Write a Python function: Genuine adaptive depth routing over a deterministic difficulty distribution. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _route(seed=42, tokens=256, max_depth=4, ... |
[
{
"role": "user",
"content": "Write a Python function: Read once and reject path/descriptor mutation around that exact read. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _read_stable_regular_file(\n path: pathlib.Pa... |
[
{
"role": "user",
"content": "Write a Python function: Mount /proven-formulas (HTML) + /api/<ns>/v1/proven/* (JSON + live checks). Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef register(app: FastAPI, ns: str = \"a11oy\"... |
[
{
"role": "user",
"content": "Write a Python function: Yield (kind, obj) for every JSONL record in the committed harvest files. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef _iter_harvest_records():\n \"\"\"Yield (ki... |
[
{
"role": "user",
"content": "Write a Python function: Honest KNOWLEDGE half of the pulse, reused from a11oy_brain_graph. Follow the SZL receipts doctrine: fail closed, no fabricated claims."
},
{
"role": "assistant",
"content": "```python\ndef knowledge_summary(ns: str = \"a11oy\") -> dict:\n ... |
End of preview. Expand in Data Studio
a11oy-code SFT v1 — the governed code corpus
2,658 (prompt, code) pairs generated from the SZL estate's own governed source (a11oy runtime: orchestrator, khipu, ledger, routers — 408 files, seed 20261109), plus doctrine abstention pairs: the agent refuses to fabricate payment wire formats, rule IDs, live telemetry, or silent-failure refactors.
Purpose: train a11oy-code — a code agent that writes receipted code and abstains where its corpus has no receipt. Provenance: generated from github.com/szl-holdings/a11oy at the repository head; generation script follows the AST docstring-pair method.
- Downloads last month
- 40