{ "meta": { "id": "_page_extras", "title": "Page-authored glossary entries and rounded restatements", "notes": "Written by the page author, not by tools/extract_slm.py. Each term restates or adds a definition for the glossary tooltips; every number in it is a rounded form of a value in the named data file, given in source. Entries with the same term as data/glossary.json replace that definition on the page only, to keep tooltips at three significant figures.", "sources": [ { "repo": "hf-space:Vineethsain/defenseclaw-slm-toolcall", "path": "sites/slm-toolcall/data/_page_extras.json", "sha256": null, "commit": null } ] }, "glossary": { "terms": [ { "id": "budget", "term": "The budget", "aliases": [ "budget", "false-block budget" ], "definition": "At most 13 false blocks in 3,381 benign calls, a block false-positive rate of 0.00385. It is the existing DefenseClaw cascade's own rate on this corpus. Every model is re-thresholded to it.", "source": "leaderboard.json data.budget (fpr_cap 0.00384502, max_false_positives 13, n_neg 3381)" }, { "id": "false-block", "term": "False block", "aliases": [ "false blocks" ], "definition": "A benign tool call the guard blocks. The budget caps how many are allowed.", "source": "leaderboard.json data.budget" }, { "id": "recall", "term": "Recall", "definition": "Destructive calls blocked, out of the 436 that had to be blocked.", "source": "leaderboard.json data.budget.n_pos" }, { "id": "precision", "term": "Precision", "definition": "Of the calls a model blocks, the share that had to be blocked. Undefined for a model that blocks nothing.", "source": "data/README.md shared conventions" }, { "id": "f1", "term": "F1", "definition": "The harmonic mean of precision and recall. It ignores the 3,381 correctly allowed calls, so it is not inflated by the benign majority.", "source": "leaderboard.json at_budget.f1" }, { "id": "auc", "term": "AUC", "aliases": [ "raw AUC" ], "definition": "Area under the ROC curve: the chance a model scores a random destructive call above a random benign one. It uses no threshold.", "source": "ranking_auc.json auc_raw" }, { "id": "default-decision", "term": "Default-decision F1", "aliases": [ "default decision", "as shipped" ], "definition": "F1 when the model decides at its own documented setting, with no threshold fitted to this corpus. Called block-only F1 as shipped on the System One Space.", "source": "leaderboard.json default_decision" }, { "id": "block-everything", "term": "Block-everything baseline", "aliases": [ "block everything" ], "definition": "Blocking every call catches all 436 and wrongly blocks all 3,381 benign calls, for F1 0.205. A model's F1 below it means its decision carries less than a trivial rule.", "source": "leaderboard.json baselines.block_everything.f1 (0.20503174229955326)" }, { "id": "all-allow", "term": "All-allow accuracy", "definition": "Allowing every call is right on 3,381 of 3,817 cases, accuracy 0.886. Accuracy is set by the benign class here.", "source": "leaderboard.json budget.all_allow_accuracy (0.8857741681949175)" }, { "id": "lc-auc", "term": "Length-controlled AUC", "aliases": [ "length-controlled", "LC-AUC" ], "definition": "AUC inside each prompt-length quintile, pooled with each quintile weighted by its destructive-benign pairs. It removes the advantage of simply scoring long trajectories higher.", "source": "glossary.json lc-auc; ranking_auc.json published_estimator" }, { "id": "chance-band", "term": "Chance band", "definition": "AUC from 0.471 to 0.529: where a model with no signal lands 95% of the time on this corpus. Below it means scores run against the label.", "source": "cues.json chance_band (0.471205496131191, 0.528794503868809)" }, { "id": "oracle", "term": "Best-F1 threshold (oracle)", "aliases": [ "oracle", "oracle F1" ], "definition": "The threshold that maximises F1 when swept over the same rows it is scored on. An in-sample upper bound, never an operating point.", "source": "glossary.json oracle" }, { "id": "wilson", "term": "Wilson interval", "aliases": [ "Wilson 95% interval" ], "definition": "A 95% interval for a proportion such as recall, accurate near 0 and 1 where the usual formula fails.", "source": "leaderboard.json interval_methods.recall_and_fpr" }, { "id": "bootstrap", "term": "Bootstrap interval", "definition": "A 95% interval for F1 from 2,000 resamples of the cases, with each model's threshold held fixed. Published at 13 false blocks only.", "source": "leaderboard.json interval_methods.f1, f1_resamples 2000" }, { "id": "roc", "term": "ROC curve", "definition": "Every operating point a model reaches as its threshold moves: false blocks along one axis, destructive calls caught along the other.", "source": "curves.json" }, { "id": "vertex-rule", "term": "Vertex rule", "definition": "To read a model at a budget, take its curve point with the most catches among points within that many false blocks. Points between vertices are not reachable thresholds.", "source": "curves.json meta.notes" }, { "id": "random-blocker", "term": "Random blocker", "definition": "A rule that blocks calls at random at the same false-block rate. At 13 false blocks it would catch 1.7 of 436 on average.", "source": "union.json random_catch_at_budget (1.676427092576161)" }, { "id": "pareto", "term": "Pareto frontier", "definition": "The models no other model beats on both axes at once.", "source": "size_cost.json pareto_axes" }, { "id": "rows-per-min", "term": "Rows per minute", "definition": "Prediction rows scored per minute on 8 pinned CPU threads, decoders at Q4_K_M under llama.cpp. An optimistic ceiling for a laptop.", "source": "size_cost.json measurement_conditions" }, { "id": "q4km", "term": "Q4_K_M", "definition": "A 4-bit llama.cpp quantisation of the weights. File sizes here run from 0.871 to 2.32 GiB.", "source": "size_cost.json memory (0.871, 2.323 GiB)" }, { "id": "peak-rss", "term": "Peak RSS", "definition": "The most memory the process held at once, weights included. It is not additive with the file size.", "source": "size_cost.json caveats rss-not-additive" }, { "id": "gated", "term": "Gated", "definition": "The weights download only after accepting the vendor's terms on Hugging Face. 8 of 22 models are gated, in 3 acceptance groups.", "source": "sources.json gating.counts" }, { "id": "grade", "term": "Truth grade", "aliases": [ "grade" ], "definition": "A label from one deterministic function: A confirmed destructive, B destructive, C unresolved and excluded, D benign.", "source": "corpus.json grade_scheme" }, { "id": "prevalence", "term": "Prevalence", "definition": "The share of scorable cases that must be blocked: 436 of 3,817, or 11.4%.", "source": "leaderboard.json budget.prevalence (0.11422583180508253)" }, { "id": "union", "term": "Union of models", "definition": "Block a call when any of the combined models would block it. Catches add up, and so do false blocks.", "source": "union.json definition" }, { "id": "calibration", "term": "Calibration", "definition": "Whether a score of 0.7 means about 70% of such cases are destructive. Read per bucket of the model's own score.", "source": "calibration.json" }, { "id": "tool-call", "term": "Tool call", "aliases": [ "tool calls" ], "definition": "One action an AI agent asks to take, such as running a shell command, editing a file or calling an API. The guard judges each one before it runs.", "source": "design/page-brief-revision-1.md section 1 (owner framing); tools/cache/slm-toolcall/index.html question" }, { "id": "trajectory", "term": "Trajectory", "definition": "Everything the agent has done in the session so far, up to the tool call it is about to make. Each model reads it as context.", "source": "tools/cache/slm-toolcall/index.html (given the agent's trajectory so far)" }, { "id": "guard", "term": "Guard", "aliases": [ "tool-call guard" ], "definition": "A check that sees each tool call before it runs and decides to allow it, ask a human to confirm it, or block it.", "source": "design/page-brief-revision-1.md section 1; tools/cache/slm-toolcall/methodology.html (P(block), P(confirm) three-class output)" }, { "id": "defenseclaw", "term": "DefenseClaw", "definition": "A tool-call guard in three tiers: deterministic rules, then a Decision Model, then a Gemma 4 LLM judge for the calls the Decision Model is unsure about.", "source": "design/audits/system-one.md headline; design/page-brief-revision-1.md section 1" }, { "id": "decision-model", "term": "Decision Model", "aliases": [ "Decision Models" ], "definition": "DefenseClaw's middle tier: a fast model that answers allow, confirm or block for every call, so the slow judge sees only the uncertain ones. Measured on the System One Space, not here.", "source": "design/page-brief-revision-1.md section 1 (system-one); design/audits/system-one.md" }, { "id": "system-one", "term": "System One", "definition": "DefenseClaw's name for its Decision Model tier. Its models are compared on the System One Space, whose numbers are not interchangeable with these.", "source": "design/page-brief-revision-1.md section 1; tools/cache/slm-toolcall/index.html scope" }, { "id": "llm-judge", "term": "LLM judge", "definition": "DefenseClaw's last tier, a Gemma 4 model. It is slow, so it sees only the calls the Decision Model is unsure about.", "source": "design/audits/system-one.md headline (Gemma 4 judge)" }, { "id": "small-model", "term": "Small model", "aliases": [ "small models" ], "definition": "Here, a local language model or classifier under 6B parameters that can run on a laptop CPU. The 22 tested run from 70.8M to 4.30B parameters.", "source": "tools/cache/slm-toolcall/index.html (22 local models, from 70.8M to 4.30B parameters; under 6B); size_cost.json measurement_conditions" } ] } }