macmacmacmac commited on
Commit
cc6367b
·
verified ·
1 Parent(s): 2742817

Redo FT checkpoint (spot1, epoch 1) from jev-train-1 H100 run 2026-11-03

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ SecJev Use and Distribution Agreement
2
+ Version 1.0 — 23 September 2026
3
+
4
+ Copyright (c) 2026 the respective SecJev contributors, for their original
5
+ contributions only.
6
+
7
+ 1. Scope and rights holders
8
+
9
+ This agreement covers the original SecJev contributions in releases that
10
+ expressly reference it: code, documentation, dataset compilation and original
11
+ annotations, and model adaptations, only to the extent the relevant contributor
12
+ holds rights that can be licensed. It does not claim ownership of upstream
13
+ datasets, model weights, software, individual facts or public-domain material.
14
+
15
+ Third-party components and source-derived records retain their own applicable
16
+ terms. Consult SOURCES.md, UPSTREAM.md and THIRD_PARTY_NOTICES.md where supplied,
17
+ the licenses/ directory, and record-level provenance. Inclusion in a SecJev
18
+ release does not turn third-party material into material licensed solely under
19
+ this agreement. This agreement does not withdraw permissions validly granted
20
+ for earlier releases under another license.
21
+
22
+ 2. Permission for original SecJev contributions
23
+
24
+ Subject to this agreement, each contributor grants a worldwide, non-exclusive,
25
+ royalty-free copyright license to use, copy, study, modify and distribute that
26
+ contributor's covered contributions, including for research, education,
27
+ evaluation, training, fine-tuning and distillation. This grant does not itself
28
+ prohibit commercial use of those contributions; section 4 governs uses that
29
+ also involve upstream rights or conditions. Permissions remain available for
30
+ the duration of the licensed rights while the applicable conditions are met.
31
+
32
+ 3. Attribution, modifications and redistribution
33
+
34
+ When distributing covered contributions or modifications, retain this agreement,
35
+ applicable copyright and attribution notices, source references and required
36
+ third-party license texts. Identify the SecJev release used, describe material
37
+ changes, and distinguish modified releases from the original project. Preserve
38
+ source-to-record mappings, or provide an equivalent usable provenance mapping,
39
+ when distributing source-derived data.
40
+
41
+ Redistribute upstream material only to the extent its own terms or a separate
42
+ authorization permit. If permission for a particular act of redistribution is
43
+ unclear, this agreement does not supply that permission; obtain clarification
44
+ or distribute acquisition/transformation instructions instead of that material.
45
+ Do not represent this agreement as removing upstream conditions. Do not impose
46
+ restrictions on a recipient's independent rights in third-party or public-domain
47
+ material. Derivatives may carry additional terms for new contributions only
48
+ where those terms respect the existing rights and obligations.
49
+
50
+ 4. Source-specific conditions and commercial use
51
+
52
+ The complete corpus has multiple sources and no blanket unrestricted commercial
53
+ clearance. In particular:
54
+
55
+ - ToN-IoT's official terms grant academic research use and require permission
56
+ from its author for commercial use. This agreement grants neither that
57
+ permission nor a broader redistribution right on the author's behalf.
58
+ - CIC requires dataset and paper attribution for its permitted redistribution.
59
+ - VeReMi material licensed under CC BY 4.0 retains attribution, change-notice
60
+ and other requirements of that license, and its independently granted rights.
61
+ - LANL material covered by a public-domain dedication remains public domain.
62
+ - MIT- and Apache-licensed upstream software and model components retain their
63
+ license texts and applicable notices; simulator licenses must not be assumed
64
+ to determine every right in their outputs or input datasets.
65
+
66
+ The source-specific register gives details and links to the original terms.
67
+ Where a proposed use requires additional authorization, obtain it from each
68
+ relevant rights holder. SecJev contributors cannot grant upstream permissions.
69
+
70
+ Training on data does not, by this agreement alone, automatically assign the
71
+ data's license to every resulting weight or output, or establish that every
72
+ such weight or output is cleared for commercial use. Model releases must identify
73
+ their upstream components and training sources. Users must assess the terms
74
+ applicable to their actual data use, model use and redistribution. This agreement
75
+ does not assert that ordinary model outputs are owned by SecJev or must carry
76
+ this agreement merely because the model produced them.
77
+
78
+ 5. Priority and reserved rights
79
+
80
+ Upstream terms govern upstream material; this agreement governs only the rights
81
+ granted by SecJev contributors. It must not be read to narrow CC BY, MIT, Apache,
82
+ CC0 or other independently granted upstream permissions. Statutory exceptions
83
+ and uses that require no permission remain unaffected. No trademark rights or
84
+ right to imply endorsement are granted. No additional patent license is granted
85
+ here; independently applicable upstream patent grants remain unaffected.
86
+
87
+ 6. No warranties; responsibility for use
88
+
89
+ To the extent permitted by applicable law, covered contributions are supplied
90
+ as available without warranties, including as to accuracy, fitness for purpose
91
+ or non-infringement. Contributors are not liable for losses arising from their
92
+ use to the extent such liability may lawfully be excluded. This agreement does
93
+ not exclude rights or liabilities that applicable law makes non-excludable.
94
+
95
+ 7. Noncompliance
96
+
97
+ Permissions under this agreement terminate for a use that violates its
98
+ conditions. They are reinstated when the violation is remedied within 30 days
99
+ of the user's discovery, or with the relevant contributor's written permission.
100
+ This does not change upstream licenses or remedies available under applicable
101
+ law. A legally ineffective provision does not invalidate the remainder where
102
+ the remainder can operate consistently with this agreement's scope.
103
+
104
+ 8. Versions and inquiries
105
+
106
+ This version applies to releases that expressly adopt it. Later versions do not
107
+ automatically change the terms of existing copies. The accompanying Chinese
108
+ translation is for convenience; this English text controls in a discrepancy.
109
+ Project inquiries: https://github.com/UESTC1010/SecJev/issues
110
+
111
+ This is a project-specific agreement, not a claim of OSI approval or a substitute
112
+ for permissions that only upstream rights holders can grant.
LICENSE.zh-CN.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SecJev 使用与分发协议
2
+
3
+ **版本 1.0 · 2026 年 9 月 23 日**
4
+
5
+ 版权所有 © 2026 各 SecJev 贡献者,仅限其各自原创贡献。本文件为英文 [LICENSE](LICENSE) 的中文译文;两者有歧义时,以英文为准。
6
+
7
+ ## 1. 适用范围与权利归属
8
+
9
+ 本协议适用于明确引用本协议的发布版本中,SecJev 贡献者有权授权的原创代码、文档、数据编排与原创标注,以及模型适配贡献。本协议不主张对上游数据、模型权重、软件、单个事实或公有领域材料的所有权。
10
+
11
+ 第三方组件和来源于第三方的数据记录仍适用各自的条款。请结合随附的 `SOURCES.md`、`UPSTREAM.md`、`THIRD_PARTY_NOTICES.md`、`licenses/` 和记录级来源信息确定适用条件。材料被纳入 SecJev,不意味着它只受本协议约束。本协议不撤销此前版本通过其他许可证已经有效授予的权限。
12
+
13
+ ## 2. 对 SecJev 原创贡献的授权
14
+
15
+ 在遵守本协议的前提下,各贡献者就其有权授权的贡献,授予全球性、非独占、免许可费的著作权许可,允许使用、复制、研究、修改和分发,包括科研、教学、评测、训练、微调和蒸馏。
16
+
17
+ 本项授权本身不禁止对这些原创贡献的商业使用;涉及上游权利或条件的使用还应满足第 4 条。只要遵守适用条件,授权在相应权利存续期间有效。
18
+
19
+ ## 3. 署名、修改与再分发
20
+
21
+ 分发本协议覆盖的贡献或其修改版本时,应保留本协议、适用的版权与署名声明、来源引用,以及必须保留的第三方许可证文本。应注明使用的 SecJev 版本和实质修改,区分修改版本与原始项目。分发来源于第三方的数据时,应保留来源与记录之间的对应关系,或提供等效、可用的溯源方式。
22
+
23
+ 只有上游条款或单独授权允许时,才可再分发对应的上游材料。某项再分发行为的授权不明确时,本协议不补足该授权;应取得明确许可,或提供获取与转换说明而非直接分发该材料。
24
+
25
+ 不得将本协议表述为对上游条件的豁免,不得限制接收者对第三方材料或公有领域材料独立享有的权利。衍生版本可对新增贡献约定条款,但不得损害原有权利和义务。
26
+
27
+ ## 4. 数据源条件与商业使用
28
+
29
+ 完整语料包含多个来源,不提供不受限制的统一商用保证。其中:
30
+
31
+ - **ToN-IoT**:官方条款允许学术研究使用,商业使用须获得作者许可。本协议不代替该许可,也不代表作者授予更广泛的再分发权。
32
+ - **CIC**:在其允许的再分发中,应按要求引用数据集及对应论文。
33
+ - **VeReMi**:采用 CC BY 4.0 的材料保留该许可证的署名、修改说明等要求,以及该许可证独立授予的权限。
34
+ - **LANL**:已经适用公有领域奉献的材料继续保持该状态。
35
+ - **MIT、Apache 等上游组件**:保留各自许可证和适用声明;不能仅凭模拟器的代码许可证推定其全部输出或输入数据的权利状态。
36
+
37
+ 各来源的具体条件及官方链接见来源说明。拟进行的使用需要额外授权时,应分别向相关权利人取得;SecJev 贡献者无权代其授权。
38
+
39
+ 本协议既不规定数据许可证自动传递给所有训练所得权重或输出,也不保证这些权重或输出全部具备商用条件。模型发布应说明上游组件和训练来源;使用者应根据实际的数据使用、模型使用和再分发行为确认适用条款。普通模型输出不会仅因由模型产生,就被本协议认定属于 SecJev 或必须采用本协议。
40
+
41
+ ## 5. 条款优先级与保留权利
42
+
43
+ 上游材料适用上游条款,本协议仅约束 SecJev 贡献者有权授予的权利。本协议不得被解释为缩减 CC BY、MIT、Apache、CC0 或其他上游许可独立授予的权限。法律规定的例外及无需许可的使用不受影响。
44
+
45
+ 本协议不授予商标权或暗示背书的权利,不额外授予专利许可;已经独立适用的上游专利授权不受影响。
46
+
47
+ ## 6. 无担保与使用责任
48
+
49
+ 在适用法律允许的范围内,本协议覆盖的贡献按现有状态提供,不对准确性、特定用途适用性或不侵权作出担保;贡献者在法律允许免责的范围内不承担因使用而产生的损失责任。本条不排除法律规定不得排除的权利或责任。
50
+
51
+ ## 7. 违反协议
52
+
53
+ 违反本协议条件的使用,其本协议项下许可终止。使用者发现违反行为后 30 日内完成纠正,或取得相关贡献者书面同意,许可恢复。本条不修改上游许可及依法可获得的救济。某项条款依法无效时,在剩余条款仍可依照本协议范围独立运行的情况下,不影响其效力。
54
+
55
+ ## 8. 版本与联系
56
+
57
+ 本版本仅适用于明确采用它的发布内容,后续版本不自动改变既有副本的许可条件。项目联系入口:[SecJev Issues](https://github.com/UESTC1010/SecJev/issues)。
58
+
59
+ 本协议为项目自定义协���,不宣称获得 OSI 认证,也不能替代只能由上游权利人授予的许可。
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: other
5
+ license_name: secjev-use-and-distribution-agreement-v1.0
6
+ license_link: LICENSE
7
+ base_model: Qwen/Qwen3.5-4B-Base
8
+ tags:
9
+ - security
10
+ - decision-model
11
+ - lora
12
+ - prompt-injection
13
+ ---
14
+
15
+ # SecJev-4B-Spot1-Redo
16
+
17
+ Redo fine-tune of SecJev-4B for Spot 1 — tool-output injection filter (incoming tool responses). This repository root is a complete
18
+ Kev checkpoint directory (LoRA adapter + trained head + tokenizer), loadable
19
+ with the Kev loader. The Qwen3.5-4B-Base backbone is not re-hosted;
20
+ `bootstrap.py` fetches the pinned backbone and Kev source.
21
+
22
+ ## Training
23
+
24
+ - Compute: DigitalOcean GPU droplet `jev-train-1` (NVIDIA H100 80GB), 2026-11-03 22:53:41–23:03:28 UTC.
25
+ - Method: `ft_action.py`, 1 epoch, lr 3e-5, batch 32 questions, token budget
26
+ 4096, gradient checkpointing, fp32 weights with bf16 autocast.
27
+ Trainable parameters: 33,776,128 (LoRA + head); backbone frozen.
28
+ - Data: `data/bench/train_spot1_t.jsonl` (train) / `data/bench/dev_spot1_t.jsonl` (dev), jev-stageA redo bench sets.
29
+ - Full training log: `redo-training-log.jsonl` and `redo-training.stdout.txt`
30
+ in this repository. Machine-readable details: `redo-provenance.json`.
31
+
32
+ ## Dev results (only evaluation so far)
33
+
34
+ Corrected per-question re-evaluation of this checkpoint on the dev file
35
+ (score: authorization = P("2") + 0.5·P("1"); injection = P("true")):
36
+
37
+ | question | dev n | dev pos | AUC | TPR@0.5 | FPR@0.5 |
38
+ |---|---|---|---|---|---|
39
+ | injection | 500 | 250 | 0.9327 | 0.7800 | 0.0400 |
40
+
41
+ No frozen-test, adaptive-attack, or independent-replication result exists yet
42
+ for this checkpoint. Dev rows were used for training-time monitoring. Treat
43
+ the numbers above as development measurements, not deployment guarantees.
44
+
45
+ Note: the training-time dev metrics printed in `redo-training-log.jsonl` for
46
+ injection-question runs used an authorization-only scoring formula and are
47
+ invalid for those runs (they show AUC 0.0 / 0.14); the table above supersedes
48
+ them. Training itself used correct targets.
SOURCES.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sources and attribution
2
+
3
+ SecJev-Corpus v1.0.0 transforms upstream observations into structured decision
4
+ questions. Transformations include feature projection, identifier anonymization,
5
+ history-window construction, explicit-policy labeling, deduplication, option
6
+ permutation, and grouped splitting. Source annotations are not relabeled as
7
+ proven real-world attacks. Newly run simulations are identified as SecJev
8
+ experiments rather than results reported by the upstream authors.
9
+
10
+ ## CICIoT2023 — 48,000 questions
11
+
12
+ E. C. P. Neto, S. Dadkhah, R. Ferreira, A. Zohourian, R. Lu, and A. A. Ghorbani.
13
+ *CICIoT2023: A real-time dataset and benchmark for large-scale attacks in IoT environment* (2023).
14
+
15
+ - [Dataset and paper](https://www.unb.ca/cic/datasets/iotdataset-2023.html)
16
+ - [CIC redistribution and citation policy, under Common questions](https://www.unb.ca/cic/datasets/index.html)
17
+ - Mirror used: `bencorn/CIC-IoT-2023`, revision `dac6afc7c1f6242202abf6059932e4c4d166e662`.
18
+
19
+ CIC explicitly permits redistribution and mirroring with dataset and paper attribution.
20
+ Capture labels remain capture-level annotations; incidental background traffic is possible.
21
+
22
+ ## ToN-IoT — 40,000 questions
23
+
24
+ [Official dataset and usage conditions](https://research.unsw.edu.au/projects/toniot-datasets).
25
+ Free academic research use is granted by the authors; commercial use requires
26
+ separate author permission. The source requests citation of the following eight
27
+ publications, linked from its official page:
28
+
29
+ 1. Nour Moustafa (2021), network dataset study, *Sustainable Cities and Society*, 102994.
30
+ 2. Tim M. Booij, Irina Chiscop, Erik Meeuwissen, Nour Moustafa, and Frank T. H. den Hartog (2021), ToN-IoT heterogeneity and feature standardization, *IEEE Internet of Things Journal*.
31
+ 3. Abdullah Alsaedi, Nour Moustafa, Zahir Tari, Abdun Mahmood, and Adnan Anwar (2020), TON-IoT telemetry dataset, *IEEE Access* 8, 165130–165150.
32
+ 4. Nour Moustafa, M. Keshk, E. Debie, and H. Janicke (2020), federated Windows datasets, *TrustCom*, 848–855. DOI: 10.1109/TrustCom50675.2020.00114.
33
+ 5. Nour Moustafa, M. Ahmed, and S. Ahmed (2020), ToN-IoT Linux dataset evaluation, *TrustCom*, 727–735. DOI: 10.1109/TrustCom50675.2020.00100.
34
+ 6. Nour Moustafa (2019), TON-IoT dataset presentation, *eResearch Australasia*.
35
+ 7. Nour Moustafa (2019), IoT–Fog–Cloud architecture review. [arXiv:1906.01055](https://arxiv.org/abs/1906.01055).
36
+ 8. Javed Ashraf et al. (2021), IoTBoT-IDS, *Sustainable Cities and Society*, 103041.
37
+
38
+ Mirror used: `codymlewis/TON_IoT_network`, revision
39
+ `b953d9388d2db3bc392ea7150476e4f219a2a1cb`. Features derive from the fixed network CSV.
40
+
41
+ ## VeReMi NextGen — 22,498 questions
42
+
43
+ Artur Hermann, Jan-Niklas Remmers, Dennis Eisermann, Benjamin Erb, and Frank Kargl.
44
+ *VeReMi NextGen: A Dataset for Evaluating Misbehavior Detection Systems in VANETs*.
45
+ [Zenodo record / DOI 10.5281/zenodo.19665762](https://zenodo.org/records/19665762).
46
+ License: CC BY 4.0; full notice in `licenses/VeReMi-LICENSE.txt`.
47
+
48
+ Only validated observation categories enter this corpus. Sender claims are
49
+ projected into a common representation. The official independent test boundary is retained.
50
+
51
+ ## Twins / Streamlet — 29,588 questions
52
+
53
+ [Twins simulator](https://github.com/asonnino/twins-simulator), revision
54
+ `3a3215addf3f79cb7b1dd2b0677f4d0896943d0b`; Apache-2.0 notice included.
55
+ These are newly sampled controlled experiments using the upstream implementation.
56
+ Answers follow the explicit observer certificate policy and visible message history.
57
+ A validator ID follows the simulator's physical-author representation; no hidden
58
+ attacker identity is inferred.
59
+
60
+ ## ByzFL / FoolsGold / MNIST — 17,000 questions
61
+
62
+ - [ByzFL](https://github.com/LPD-EPFL/byzfl), EPFL, revision `5830978d991a0900748f7ce901dc3ca532081b26`; MIT.
63
+ - [FoolsGold](https://github.com/DistributedML/FoolsGold), revision `0aa55114296a2d3c2bcb6f544a6fae31e8e7b8b4`; MIT.
64
+ - Yann LeCun, Corinna Cortes, and Christopher J. C. Burges, MNIST handwritten-digit data, underlying the controlled gradient experiments.
65
+
66
+ The corpus contains measured update summaries from 80 fresh runs, with separate
67
+ MNIST pools across splits and explicit attacker configurations. Original images
68
+ are not redistributed. The earlier simulated aggregation-selection tasks are
69
+ not part of this release.
70
+
71
+ ## LANL — 7,902 questions
72
+
73
+ Alexander D. Kent (2015), *Comprehensive, Multi-Source Cyber-Security Events*.
74
+ Los Alamos National Laboratory. DOI: 10.17021/1179829.
75
+ Related publication: A. D. Kent, *Cybersecurity Data Sources for Dynamic Network
76
+ Research*, in *Dynamic Networks in Cybersecurity*, 2015.
77
+
78
+ [Official data, citation and public-domain dedication](https://csr.lanl.gov/data/cyber1/).
79
+ Our questions use visible authentication histories and explicit triage rules.
80
+ Unlabeled events are not assigned a confirmed-benign label. The source's
81
+ successful-authentication selection bias remains applicable.
82
+
83
+ ## AgentDojo — 4,143 questions
84
+
85
+ [AgentDojo](https://github.com/ethz-spylab/agentdojo), ETH Zurich SPY Lab and contributors,
86
+ revision `089ed468cf3ed0322acc66b0211f26d9d90dbf60`; MIT notice included.
87
+ Records are drawn from published tool outputs and attack/control runs. Task and
88
+ shared-response components are grouped; shared environment or attack templates
89
+ are not a claim of unseen-template evaluation.
90
+
91
+ ## InjecAgent — 1,054 questions
92
+
93
+ [InjecAgent](https://github.com/uiuc-kang-lab/InjecAgent), UIUC Kang Lab and contributors,
94
+ revision `f19c9f2c79a41046eb13c03c51a24c567a8ffa07`; MIT notice included.
95
+ This release uses the declared objectives of injected instructions. The
96
+ all-positive injection-detection task is excluded.
THIRD_PARTY_NOTICES.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Third-party notices
2
+
3
+ The SecJev Use and Distribution Agreement applies only to the rights held by SecJev contributors. The following upstream licenses remain in effect and are not replaced by that agreement.
4
+
5
+ | Component | Attribution | Applicable terms |
6
+ |---|---|---|
7
+ | Kev source and initial Kev-0.8B adapter/head | Jared Palmer and Kev contributors | Apache-2.0; see licenses/Apache-2.0.txt and UPSTREAM.md |
8
+ | Qwen3.5-0.8B-Base and Qwen3.5-2B-Base backbones | Qwen team / Alibaba and applicable contributors | Apache-2.0; see licenses/Apache-2.0.txt and UPSTREAM.md |
9
+ | Twins / Streamlet simulator | Twins simulator contributors | licenses/Twins-LICENSE.txt |
10
+ | ByzFL | EPFL and ByzFL contributors | licenses/ByzFL-LICENSE.txt |
11
+ | FoolsGold | FoolsGold contributors | licenses/FoolsGold-LICENSE.txt |
12
+ | AgentDojo | ETH Zurich SPY Lab and contributors | licenses/AgentDojo-LICENSE.txt |
13
+ | InjecAgent | UIUC Kang Lab and contributors | licenses/InjecAgent-LICENSE.txt |
14
+ | VeReMi NextGen data | Authors listed in SOURCES.md | licenses/VeReMi-LICENSE.txt; CC BY 4.0 |
15
+ | LANL source observations | Alexander D. Kent / Los Alamos National Laboratory | licenses/LANL.md; public-domain source dedication |
16
+ | CICIoT2023 and ToN-IoT data | Authors listed in SOURCES.md | Official source-specific conditions linked in SOURCES.md |
17
+
18
+ SecJev modifies the Kev adapter and decision head by security fine-tuning and probability calibration. The backbone is an upstream dependency. SecJev-Corpus transformations and newly generated experiments are described in SOURCES.md; using a simulator does not imply its software license automatically covers every output or input dataset. Full data attribution and required publications are retained in SOURCES.md.
19
+
20
+ SecJev-2B trains its own LoRA/head from the pinned Qwen2B backbone with Kev's decision recipe before security adaptation; the initial Kev-0.8B adapter applies only to the 0.8B model. Kev general training source records retain their upstream attribution and conditions.
21
+
22
+ ## SecJev-4B
23
+
24
+ Initialized from jaredpalmer/kev-4b@485ace8703592fcf405488b262449990824cfed1 on Qwen/Qwen3.5-4B-Base@1001bb4d826a52d1f399e183466143f4da7b741b, then adapted for three epochs on SecJev-Corpus v1.0.0. Existing SecJev and upstream terms remain applicable.
UPSTREAM.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Upstream components
2
+
3
+ SecJev-0.8B adapts the LoRA parameters and pointer decision head of Kev-0.8B.
4
+
5
+ | Component | Pinned revision | Terms |
6
+ |---|---|---|
7
+ | [Kev source](https://github.com/jaredpalmer/kev) | `90990a5fac2995b9faa3190f7d437e84f2067768` | Apache-2.0 |
8
+ | [Kev-0.8B initialization](https://huggingface.co/jaredpalmer/kev-0.8b) | `54f4f8777356cd5bbbb6c6919c657f26e6f2f6d8` | Apache-2.0 |
9
+ | [Qwen3.5-0.8B-Base](https://huggingface.co/Qwen/Qwen3.5-0.8B-Base) | `dc7cdfe2ee4154fa7e30f5b51ca41bfa40174e68` | Apache-2.0 |
10
+
11
+ SecJev-2B starts from [Qwen3.5-2B-Base](https://huggingface.co/Qwen/Qwen3.5-2B-Base) at `b1485b2fa6dfa1287294f269f5fb618e03d52d7c`. We train its LoRA and decision head with the same Kev source, decision-v7 and the dates/unknowable supplement, then SecJev-Corpus. It does not use an official Kev-2B initialization. The pinned general-data source is Kev `30c619b0527501cfdd448cb6eb9887e2af454603` and Kev suites `a88f56db5341397299137cb68775c2ea6e3f68cb`.
12
+
13
+ The inference implementation and training loss use pinned Kev source. SecJev adds security adaptation, batching, the training/evaluation workflow, and the security corpus. See SecJev-Corpus/SOURCES.md for data attribution and source-specific conditions. Dataset terms are not replaced by the code license.
14
+
15
+ ## SecJev-4B
16
+
17
+ Initialized from jaredpalmer/kev-4b@485ace8703592fcf405488b262449990824cfed1 on Qwen/Qwen3.5-4B-Base@1001bb4d826a52d1f399e183466143f4da7b741b, then adapted for three epochs on SecJev-Corpus v1.0.0. Existing SecJev and upstream terms remain applicable.
adapter_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen3.5-4B-Base",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "kasa_config": null,
16
+ "layer_replication": null,
17
+ "layers_pattern": null,
18
+ "layers_to_transform": null,
19
+ "loftq_config": {},
20
+ "lora_alpha": 32,
21
+ "lora_bias": false,
22
+ "lora_dropout": 0.05,
23
+ "lora_ga_config": null,
24
+ "megatron_config": null,
25
+ "megatron_core": "megatron.core",
26
+ "modules_to_save": null,
27
+ "monteclora_config": null,
28
+ "peft_type": "LORA",
29
+ "peft_version": "0.21.0",
30
+ "qalora_group_size": 16,
31
+ "r": 16,
32
+ "rank_pattern": {},
33
+ "revision": null,
34
+ "target_modules": [
35
+ "o_proj",
36
+ "in_proj_z",
37
+ "out_proj",
38
+ "down_proj",
39
+ "gate_proj",
40
+ "up_proj",
41
+ "in_proj_qkv",
42
+ "in_proj_a",
43
+ "v_proj",
44
+ "q_proj",
45
+ "k_proj",
46
+ "in_proj_b"
47
+ ],
48
+ "target_parameters": null,
49
+ "task_type": "FEATURE_EXTRACTION",
50
+ "trainable_token_indices": null,
51
+ "use_bdlora": null,
52
+ "use_dora": false,
53
+ "use_qalora": false,
54
+ "use_rslora": false,
55
+ "velora_config": null
56
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7329ca6cdc831cd32e2e8ec9266763c5255ba9cfda35a8d8536f2e03234a85ab
3
+ size 129924032
bootstrap.py ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Prepare pinned upstream models, code and public corpus for a reproducible run."""
2
+ import argparse, gzip, hashlib, json, os, pathlib, shutil, tarfile, urllib.request
3
+ from huggingface_hub import snapshot_download
4
+
5
+ BASE = ('Qwen/Qwen3.5-4B-Base', '1001bb4d826a52d1f399e183466143f4da7b741b')
6
+ INIT = ('jaredpalmer/kev-4b', '485ace8703592fcf405488b262449990824cfed1')
7
+ KEV = '90990a5fac2995b9faa3190f7d437e84f2067768'
8
+
9
+
10
+ def main():
11
+ parser = argparse.ArgumentParser()
12
+ parser.add_argument('--corpus', type=pathlib.Path, help='Unpacked SecJev-Corpus v1.0.0 directory')
13
+ parser.add_argument('--inference-only', action='store_true', help='Download pinned backbone and Kev code without training data or parent adapter')
14
+ args = parser.parse_args()
15
+ if not args.inference_only and args.corpus is None: parser.error('--corpus is required for training setup')
16
+ root = pathlib.Path(os.environ.get('SECJEV_WORK', './secjev-4b-work')).resolve()
17
+ for d in ['data', 'results', 'logs', 'runs', 'source']:
18
+ (root/d).mkdir(parents=True, exist_ok=True)
19
+ if not args.inference_only:
20
+ corpus = json.loads((args.corpus/'manifest.json').read_text())
21
+ assert corpus['name'] == 'SecJev-Corpus' and corpus['version'] == '1.0.0'
22
+ manifest = {}
23
+ for split, info in corpus['subsets'].items():
24
+ src = args.corpus/'records'/f'{split}.jsonl.gz'
25
+ dest = root/'data'/src.name
26
+ digest = hashlib.sha256()
27
+ with gzip.open(src, 'rt') as stream:
28
+ for line in stream:
29
+ r = json.loads(line)
30
+ payload = json.dumps({'state': r['state'], 'questions': r['questions']}, ensure_ascii=False, allow_nan=False, separators=(',', ':'))
31
+ digest.update((payload+'\n').encode())
32
+ assert digest.hexdigest() == info['content_sha256'], split
33
+ shutil.copy2(src, dest)
34
+ manifest[split] = {'records': info['scenes'], 'questions': info['questions'], 'sha256': hashlib.sha256(dest.read_bytes()).hexdigest()}
35
+ (root/'data/manifest.json').write_text(json.dumps(manifest, indent=2)+'\n')
36
+ for name, (repo, revision) in [('base', BASE), ('init', INIT)]:
37
+ if args.inference_only and name == 'init': continue
38
+ snapshot_download(repo, revision=revision, local_dir=root/name,
39
+ allow_patterns=['*.json', '*.safetensors', '*.pt', '*.txt', '*.jinja'])
40
+ filename = 'download_provenance.json' if name == 'base' else 'inference-provenance.json'
41
+ (root/name/filename).write_text(json.dumps({'repo_id': repo, 'revision': revision}, indent=2)+'\n')
42
+ archive = root/'source'/f'kev-{KEV}.tar.gz'
43
+ urllib.request.urlretrieve(f'https://codeload.github.com/jaredpalmer/kev/tar.gz/{KEV}', archive)
44
+ with tarfile.open(archive) as tf:
45
+ for member in tf:
46
+ if member.isfile():
47
+ rel = pathlib.PurePosixPath(member.name)
48
+ assert rel.parts[0] == f'kev-{KEV}' and '..' not in rel.parts
49
+ target = root/'source'/'kev'/pathlib.Path(*rel.parts[1:])
50
+ target.parent.mkdir(parents=True, exist_ok=True)
51
+ with tf.extractfile(member) as source, target.open('wb') as destination:
52
+ shutil.copyfileobj(source, destination)
53
+ print('Prepared', root)
54
+
55
+
56
+ if __name__ == '__main__':
57
+ main()
chat_template.jinja ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set image_count = namespace(value=0) %}
2
+ {%- set video_count = namespace(value=0) %}
3
+ {%- macro render_content(content, do_vision_count, is_system_content=false) %}
4
+ {%- if content is string %}
5
+ {{- content }}
6
+ {%- elif content is iterable and content is not mapping %}
7
+ {%- for item in content %}
8
+ {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
9
+ {%- if is_system_content %}
10
+ {{- raise_exception('System message cannot contain images.') }}
11
+ {%- endif %}
12
+ {%- if do_vision_count %}
13
+ {%- set image_count.value = image_count.value + 1 %}
14
+ {%- endif %}
15
+ {%- if add_vision_id %}
16
+ {{- 'Picture ' ~ image_count.value ~ ': ' }}
17
+ {%- endif %}
18
+ {{- '<|vision_start|><|image_pad|><|vision_end|>' }}
19
+ {%- elif 'video' in item or item.type == 'video' %}
20
+ {%- if is_system_content %}
21
+ {{- raise_exception('System message cannot contain videos.') }}
22
+ {%- endif %}
23
+ {%- if do_vision_count %}
24
+ {%- set video_count.value = video_count.value + 1 %}
25
+ {%- endif %}
26
+ {%- if add_vision_id %}
27
+ {{- 'Video ' ~ video_count.value ~ ': ' }}
28
+ {%- endif %}
29
+ {{- '<|vision_start|><|video_pad|><|vision_end|>' }}
30
+ {%- elif 'text' in item %}
31
+ {{- item.text }}
32
+ {%- else %}
33
+ {{- raise_exception('Unexpected item type in content.') }}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- elif content is none or content is undefined %}
37
+ {{- '' }}
38
+ {%- else %}
39
+ {{- raise_exception('Unexpected content type.') }}
40
+ {%- endif %}
41
+ {%- endmacro %}
42
+ {%- if not messages %}
43
+ {{- raise_exception('No messages provided.') }}
44
+ {%- endif %}
45
+ {%- if tools and tools is iterable and tools is not mapping %}
46
+ {{- '<|im_start|>system\n' }}
47
+ {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
48
+ {%- for tool in tools %}
49
+ {{- "\n" }}
50
+ {{- tool | tojson }}
51
+ {%- endfor %}
52
+ {{- "\n</tools>" }}
53
+ {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
54
+ {%- if messages[0].role == 'system' %}
55
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
56
+ {%- if content %}
57
+ {{- '\n\n' + content }}
58
+ {%- endif %}
59
+ {%- endif %}
60
+ {{- '<|im_end|>\n' }}
61
+ {%- else %}
62
+ {%- if messages[0].role == 'system' %}
63
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
64
+ {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
65
+ {%- endif %}
66
+ {%- endif %}
67
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
68
+ {%- for message in messages[::-1] %}
69
+ {%- set index = (messages|length - 1) - loop.index0 %}
70
+ {%- if ns.multi_step_tool and message.role == "user" %}
71
+ {%- set content = render_content(message.content, false)|trim %}
72
+ {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
73
+ {%- set ns.multi_step_tool = false %}
74
+ {%- set ns.last_query_index = index %}
75
+ {%- endif %}
76
+ {%- endif %}
77
+ {%- endfor %}
78
+ {%- if ns.multi_step_tool %}
79
+ {{- raise_exception('No user query found in messages.') }}
80
+ {%- endif %}
81
+ {%- for message in messages %}
82
+ {%- set content = render_content(message.content, true)|trim %}
83
+ {%- if message.role == "system" %}
84
+ {%- if not loop.first %}
85
+ {{- raise_exception('System message must be at the beginning.') }}
86
+ {%- endif %}
87
+ {%- elif message.role == "user" %}
88
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
89
+ {%- elif message.role == "assistant" %}
90
+ {%- set reasoning_content = '' %}
91
+ {%- if message.reasoning_content is string %}
92
+ {%- set reasoning_content = message.reasoning_content %}
93
+ {%- else %}
94
+ {%- if '</think>' in content %}
95
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
96
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
97
+ {%- endif %}
98
+ {%- endif %}
99
+ {%- set reasoning_content = reasoning_content|trim %}
100
+ {%- if loop.index0 > ns.last_query_index %}
101
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
102
+ {%- else %}
103
+ {{- '<|im_start|>' + message.role + '\n' + content }}
104
+ {%- endif %}
105
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
106
+ {%- for tool_call in message.tool_calls %}
107
+ {%- if tool_call.function is defined %}
108
+ {%- set tool_call = tool_call.function %}
109
+ {%- endif %}
110
+ {%- if loop.first %}
111
+ {%- if content|trim %}
112
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
113
+ {%- else %}
114
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
115
+ {%- endif %}
116
+ {%- else %}
117
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
118
+ {%- endif %}
119
+ {%- if tool_call.arguments is defined %}
120
+ {%- for args_name, args_value in tool_call.arguments|items %}
121
+ {{- '<parameter=' + args_name + '>\n' }}
122
+ {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
123
+ {{- args_value }}
124
+ {{- '\n</parameter>\n' }}
125
+ {%- endfor %}
126
+ {%- endif %}
127
+ {{- '</function>\n</tool_call>' }}
128
+ {%- endfor %}
129
+ {%- endif %}
130
+ {{- '<|im_end|>\n' }}
131
+ {%- elif message.role == "tool" %}
132
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
133
+ {{- '<|im_start|>user' }}
134
+ {%- endif %}
135
+ {{- '\n<tool_response>\n' }}
136
+ {{- content }}
137
+ {{- '\n</tool_response>' }}
138
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
139
+ {{- '<|im_end|>\n' }}
140
+ {%- elif loop.last %}
141
+ {{- '<|im_end|>\n' }}
142
+ {%- endif %}
143
+ {%- else %}
144
+ {{- raise_exception('Unexpected message role.') }}
145
+ {%- endif %}
146
+ {%- endfor %}
147
+ {%- if add_generation_prompt %}
148
+ {{- '<|im_start|>assistant\n' }}
149
+ {%- if enable_thinking is defined and enable_thinking is false %}
150
+ {{- '<think>\n\n</think>\n\n' }}
151
+ {%- else %}
152
+ {{- '<think>\n' }}
153
+ {%- endif %}
154
+ {%- endif %}
checkpoint-selection.json ADDED
@@ -0,0 +1,598 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "selected_epoch": 3,
3
+ "candidates": [
4
+ {
5
+ "epoch": 1,
6
+ "metrics": {
7
+ "questions": 14912,
8
+ "accuracy": 0.8959898068669528,
9
+ "mean_class_recall": 0.8086847041598828,
10
+ "nll": 0.2676199905412643,
11
+ "brier": 0.14581168647550916,
12
+ "ece15": 0.024724176262894793,
13
+ "temperature": 1.0,
14
+ "coverage_at_confidence_0_9": 0.773806330472103,
15
+ "error_rate_at_confidence_0_9": 0.0240055464078343,
16
+ "ordinal_expected_level_mae": 0.00949861612167232,
17
+ "tasks": {
18
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
19
+ "questions": 222,
20
+ "accuracy": 0.9819819819819819,
21
+ "mean_class_recall": 0.9670930232558139,
22
+ "nll": 0.06952124509948641,
23
+ "brier": 0.033360936223710204,
24
+ "ece15": 0.01963763286720348,
25
+ "temperature": 1.0,
26
+ "coverage_at_confidence_0_9": 0.9774774774774775,
27
+ "error_rate_at_confidence_0_9": 0.013824884792626729,
28
+ "ordinal_expected_level_mae": null
29
+ },
30
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
31
+ "questions": 222,
32
+ "accuracy": 0.9864864864864865,
33
+ "mean_class_recall": 0.97,
34
+ "nll": 0.06796588080667874,
35
+ "brier": 0.02442578405456454,
36
+ "ece15": 0.013534851962772593,
37
+ "temperature": 1.0,
38
+ "coverage_at_confidence_0_9": 0.972972972972973,
39
+ "error_rate_at_confidence_0_9": 0.009259259259259259,
40
+ "ordinal_expected_level_mae": null
41
+ },
42
+ "byzfl_mnist:fl_attack_generated_update": {
43
+ "questions": 1400,
44
+ "accuracy": 0.9742857142857143,
45
+ "mean_class_recall": 0.9504464285714286,
46
+ "nll": 0.07440929350732509,
47
+ "brier": 0.03861493679124129,
48
+ "ece15": 0.01061565077999396,
49
+ "temperature": 1.0,
50
+ "coverage_at_confidence_0_9": 0.925,
51
+ "error_rate_at_confidence_0_9": 0.008494208494208495,
52
+ "ordinal_expected_level_mae": null
53
+ },
54
+ "ciciot2023:ciciot_attack": {
55
+ "questions": 5000,
56
+ "accuracy": 0.8334,
57
+ "mean_class_recall": 0.7313333333333334,
58
+ "nll": 0.4357438451410003,
59
+ "brier": 0.2420765591030422,
60
+ "ece15": 0.05574236954650583,
61
+ "temperature": 1.0,
62
+ "coverage_at_confidence_0_9": 0.644,
63
+ "error_rate_at_confidence_0_9": 0.06677018633540373,
64
+ "ordinal_expected_level_mae": null
65
+ },
66
+ "injecagent:injecagent_requested_operation_v13": {
67
+ "questions": 124,
68
+ "accuracy": 1.0,
69
+ "mean_class_recall": 1.0,
70
+ "nll": 0.004390672226438891,
71
+ "brier": 0.0015490359962901127,
72
+ "ece15": 0.003915493134373699,
73
+ "temperature": 1.0,
74
+ "coverage_at_confidence_0_9": 0.9919354838709677,
75
+ "error_rate_at_confidence_0_9": 0.0,
76
+ "ordinal_expected_level_mae": null
77
+ },
78
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
79
+ "questions": 328,
80
+ "accuracy": 1.0,
81
+ "mean_class_recall": 1.0,
82
+ "nll": 0.004780661486616687,
83
+ "brier": 0.0026501860965206722,
84
+ "ece15": 0.0038321931288341792,
85
+ "temperature": 1.0,
86
+ "coverage_at_confidence_0_9": 0.9908536585365854,
87
+ "error_rate_at_confidence_0_9": 0.0,
88
+ "ordinal_expected_level_mae": null
89
+ },
90
+ "lanl_auth_policy:lanl_observable_policy": {
91
+ "questions": 328,
92
+ "accuracy": 1.0,
93
+ "mean_class_recall": 1.0,
94
+ "nll": 2.8436047490948972e-05,
95
+ "brier": 2.213459113159646e-07,
96
+ "ece15": 2.8380504783511674e-05,
97
+ "temperature": 1.0,
98
+ "coverage_at_confidence_0_9": 1.0,
99
+ "error_rate_at_confidence_0_9": 0.0,
100
+ "ordinal_expected_level_mae": null
101
+ },
102
+ "ton_iot_network:ton_attack": {
103
+ "questions": 2500,
104
+ "accuracy": 0.9832,
105
+ "mean_class_recall": 0.9856,
106
+ "nll": 0.0716936772308886,
107
+ "brier": 0.032718644101254024,
108
+ "ece15": 0.01640596644430267,
109
+ "temperature": 1.0,
110
+ "coverage_at_confidence_0_9": 0.9948,
111
+ "error_rate_at_confidence_0_9": 0.01648572577402493,
112
+ "ordinal_expected_level_mae": null
113
+ },
114
+ "twins_streamlet:twins_evidence_level": {
115
+ "questions": 797,
116
+ "accuracy": 0.9937264742785445,
117
+ "mean_class_recall": 0.9934913409721132,
118
+ "nll": 0.0153080496936535,
119
+ "brier": 0.009627399097334195,
120
+ "ece15": 0.004599932218083785,
121
+ "temperature": 1.0,
122
+ "coverage_at_confidence_0_9": 0.9912170639899623,
123
+ "error_rate_at_confidence_0_9": 0.0037974683544303796,
124
+ "ordinal_expected_level_mae": 0.00949861612167232
125
+ },
126
+ "twins_streamlet:twins_policy_action": {
127
+ "questions": 797,
128
+ "accuracy": 0.9924717691342535,
129
+ "mean_class_recall": 0.9923419156847569,
130
+ "nll": 0.017883068917921716,
131
+ "brier": 0.011294880553062277,
132
+ "ece15": 0.0038184765498114437,
133
+ "temperature": 1.0,
134
+ "coverage_at_confidence_0_9": 0.9811794228356336,
135
+ "error_rate_at_confidence_0_9": 0.0012787723785166241,
136
+ "ordinal_expected_level_mae": null
137
+ },
138
+ "twins_streamlet:twins_quorum": {
139
+ "questions": 797,
140
+ "accuracy": 0.9962358845671268,
141
+ "mean_class_recall": 0.995834315034425,
142
+ "nll": 0.011957269820791244,
143
+ "brier": 0.007393224542639707,
144
+ "ece15": 0.00670405372457154,
145
+ "temperature": 1.0,
146
+ "coverage_at_confidence_0_9": 0.9836888331242158,
147
+ "error_rate_at_confidence_0_9": 0.0,
148
+ "ordinal_expected_level_mae": null
149
+ },
150
+ "twins_streamlet:twins_visible_conflict": {
151
+ "questions": 797,
152
+ "accuracy": 0.9974905897114178,
153
+ "mean_class_recall": 0.9969442527413541,
154
+ "nll": 0.010437285979484219,
155
+ "brier": 0.0038211519865233618,
156
+ "ece15": 0.0009184477173700703,
157
+ "temperature": 1.0,
158
+ "coverage_at_confidence_0_9": 0.9962358845671268,
159
+ "error_rate_at_confidence_0_9": 0.0012594458438287153,
160
+ "ordinal_expected_level_mae": null
161
+ },
162
+ "veremi_nextgen:veremi_message_manipulation": {
163
+ "questions": 800,
164
+ "accuracy": 0.63,
165
+ "mean_class_recall": 0.6354549163606691,
166
+ "nll": 0.5876157448193948,
167
+ "brier": 0.4142276501377162,
168
+ "ece15": 0.031917999077751745,
169
+ "temperature": 1.0,
170
+ "coverage_at_confidence_0_9": 0.10375,
171
+ "error_rate_at_confidence_0_9": 0.0,
172
+ "ordinal_expected_level_mae": null
173
+ },
174
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
175
+ "questions": 800,
176
+ "accuracy": 0.59875,
177
+ "mean_class_recall": 0.4115791153670771,
178
+ "nll": 1.2269806519983115,
179
+ "brier": 0.571523062943736,
180
+ "ece15": 0.08060690424281568,
181
+ "temperature": 1.0,
182
+ "coverage_at_confidence_0_9": 0.11875,
183
+ "error_rate_at_confidence_0_9": 0.0,
184
+ "ordinal_expected_level_mae": null
185
+ }
186
+ },
187
+ "macro_task_accuracy": 0.9262877786032521,
188
+ "macro_task_balanced_accuracy": 0.9021513315229265,
189
+ "macro_task_nll": 0.18562255591253446
190
+ },
191
+ "checkpoint_files": {
192
+ "chat_template.jinja": "a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715",
193
+ "tokenizer.json": "06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523",
194
+ "adapter_model.safetensors": "793c6d72e5c0254c28884384a8bc3ca633fd4de9511834f710b5ee2dc95a942f",
195
+ "tokenizer_config.json": "353c083805d863719e54973335a38e252a92e1ac64d32b83bb0b333cc1644ef2",
196
+ "head.pt": "75a1b2c4362ce9eaccad18d0531fea66ab895aa924b73492af78fe7abf997986",
197
+ "README.md": "fdbf6f672a47dca9ef2ad668b395cccbdf4a09c88d16bf8a90ecf4f7445f31ce",
198
+ "adapter_config.json": "94aad580ce54a1dfcec0803beaba2c471e17b790f10efe7a481125c81fe1dd02"
199
+ }
200
+ },
201
+ {
202
+ "epoch": 2,
203
+ "metrics": {
204
+ "questions": 14912,
205
+ "accuracy": 0.9046405579399142,
206
+ "mean_class_recall": 0.8351706914084861,
207
+ "nll": 0.2609479185046837,
208
+ "brier": 0.13871271598030968,
209
+ "ece15": 0.02912533581539033,
210
+ "temperature": 1.0,
211
+ "coverage_at_confidence_0_9": 0.811762339055794,
212
+ "error_rate_at_confidence_0_9": 0.030318050392399834,
213
+ "ordinal_expected_level_mae": 0.007142014228908907,
214
+ "tasks": {
215
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
216
+ "questions": 222,
217
+ "accuracy": 0.9774774774774775,
218
+ "mean_class_recall": 0.9570930232558139,
219
+ "nll": 0.0857490162426134,
220
+ "brier": 0.03780111867446018,
221
+ "ece15": 0.020326742033581136,
222
+ "temperature": 1.0,
223
+ "coverage_at_confidence_0_9": 0.9864864864864865,
224
+ "error_rate_at_confidence_0_9": 0.0136986301369863,
225
+ "ordinal_expected_level_mae": null
226
+ },
227
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
228
+ "questions": 222,
229
+ "accuracy": 0.9819819819819819,
230
+ "mean_class_recall": 0.96,
231
+ "nll": 0.08583505640070498,
232
+ "brier": 0.03170617674969949,
233
+ "ece15": 0.018778574788420183,
234
+ "temperature": 1.0,
235
+ "coverage_at_confidence_0_9": 0.9819819819819819,
236
+ "error_rate_at_confidence_0_9": 0.009174311926605505,
237
+ "ordinal_expected_level_mae": null
238
+ },
239
+ "byzfl_mnist:fl_attack_generated_update": {
240
+ "questions": 1400,
241
+ "accuracy": 0.9828571428571429,
242
+ "mean_class_recall": 0.9678571428571429,
243
+ "nll": 0.05038447430212686,
244
+ "brier": 0.026644462415551518,
245
+ "ece15": 0.006643072262975827,
246
+ "temperature": 1.0,
247
+ "coverage_at_confidence_0_9": 0.9757142857142858,
248
+ "error_rate_at_confidence_0_9": 0.008784773060029283,
249
+ "ordinal_expected_level_mae": null
250
+ },
251
+ "ciciot2023:ciciot_attack": {
252
+ "questions": 5000,
253
+ "accuracy": 0.839,
254
+ "mean_class_recall": 0.7132000000000001,
255
+ "nll": 0.4567278707638309,
256
+ "brier": 0.24289094068797595,
257
+ "ece15": 0.07089882316707959,
258
+ "temperature": 1.0,
259
+ "coverage_at_confidence_0_9": 0.7078,
260
+ "error_rate_at_confidence_0_9": 0.08194405199208817,
261
+ "ordinal_expected_level_mae": null
262
+ },
263
+ "injecagent:injecagent_requested_operation_v13": {
264
+ "questions": 124,
265
+ "accuracy": 1.0,
266
+ "mean_class_recall": 1.0,
267
+ "nll": 0.0030323687345377927,
268
+ "brier": 0.0010147751519150774,
269
+ "ece15": 0.0027304101493378944,
270
+ "temperature": 1.0,
271
+ "coverage_at_confidence_0_9": 0.9919354838709677,
272
+ "error_rate_at_confidence_0_9": 0.0,
273
+ "ordinal_expected_level_mae": null
274
+ },
275
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
276
+ "questions": 328,
277
+ "accuracy": 1.0,
278
+ "mean_class_recall": 1.0,
279
+ "nll": 0.0013590718776517526,
280
+ "brier": 0.0005853758373684321,
281
+ "ece15": 0.001174090997847941,
282
+ "temperature": 1.0,
283
+ "coverage_at_confidence_0_9": 0.9969512195121951,
284
+ "error_rate_at_confidence_0_9": 0.0,
285
+ "ordinal_expected_level_mae": null
286
+ },
287
+ "lanl_auth_policy:lanl_observable_policy": {
288
+ "questions": 328,
289
+ "accuracy": 1.0,
290
+ "mean_class_recall": 1.0,
291
+ "nll": 2.706087239227311e-05,
292
+ "brier": 4.4631636950527135e-07,
293
+ "ece15": 2.6948652833984242e-05,
294
+ "temperature": 1.0,
295
+ "coverage_at_confidence_0_9": 1.0,
296
+ "error_rate_at_confidence_0_9": 0.0,
297
+ "ordinal_expected_level_mae": null
298
+ },
299
+ "ton_iot_network:ton_attack": {
300
+ "questions": 2500,
301
+ "accuracy": 0.9788,
302
+ "mean_class_recall": 0.98,
303
+ "nll": 0.08755100200107269,
304
+ "brier": 0.038158588944742826,
305
+ "ece15": 0.017829224144769444,
306
+ "temperature": 1.0,
307
+ "coverage_at_confidence_0_9": 0.9896,
308
+ "error_rate_at_confidence_0_9": 0.016976556184316895,
309
+ "ordinal_expected_level_mae": null
310
+ },
311
+ "twins_streamlet:twins_evidence_level": {
312
+ "questions": 797,
313
+ "accuracy": 0.9949811794228356,
314
+ "mean_class_recall": 0.9949406163344321,
315
+ "nll": 0.020100883811983803,
316
+ "brier": 0.009532705405460478,
317
+ "ece15": 0.004664870689987746,
318
+ "temperature": 1.0,
319
+ "coverage_at_confidence_0_9": 0.9962358845671268,
320
+ "error_rate_at_confidence_0_9": 0.003778337531486146,
321
+ "ordinal_expected_level_mae": 0.007142014228908907
322
+ },
323
+ "twins_streamlet:twins_policy_action": {
324
+ "questions": 797,
325
+ "accuracy": 0.9887076537013801,
326
+ "mean_class_recall": 0.9889237691623501,
327
+ "nll": 0.029531627570397425,
328
+ "brier": 0.01682083664455817,
329
+ "ece15": 0.008194444119065863,
330
+ "temperature": 1.0,
331
+ "coverage_at_confidence_0_9": 0.9887076537013801,
332
+ "error_rate_at_confidence_0_9": 0.0038071065989847717,
333
+ "ordinal_expected_level_mae": null
334
+ },
335
+ "twins_streamlet:twins_quorum": {
336
+ "questions": 797,
337
+ "accuracy": 0.9937264742785445,
338
+ "mean_class_recall": 0.9922118380062306,
339
+ "nll": 0.019942020828876864,
340
+ "brier": 0.011733672902765547,
341
+ "ece15": 0.006519660642330038,
342
+ "temperature": 1.0,
343
+ "coverage_at_confidence_0_9": 0.9912170639899623,
344
+ "error_rate_at_confidence_0_9": 0.0037974683544303796,
345
+ "ordinal_expected_level_mae": null
346
+ },
347
+ "twins_streamlet:twins_visible_conflict": {
348
+ "questions": 797,
349
+ "accuracy": 0.9974905897114178,
350
+ "mean_class_recall": 0.998236331569665,
351
+ "nll": 0.016769983022509982,
352
+ "brier": 0.0049992664597086935,
353
+ "ece15": 0.0021278163552494573,
354
+ "temperature": 1.0,
355
+ "coverage_at_confidence_0_9": 1.0,
356
+ "error_rate_at_confidence_0_9": 0.002509410288582183,
357
+ "ordinal_expected_level_mae": null
358
+ },
359
+ "veremi_nextgen:veremi_message_manipulation": {
360
+ "questions": 800,
361
+ "accuracy": 0.6875,
362
+ "mean_class_recall": 0.6966034271725826,
363
+ "nll": 0.5142628800857739,
364
+ "brier": 0.36155138388149327,
365
+ "ece15": 0.02205690591199928,
366
+ "temperature": 1.0,
367
+ "coverage_at_confidence_0_9": 0.22125,
368
+ "error_rate_at_confidence_0_9": 0.011299435028248588,
369
+ "ordinal_expected_level_mae": null
370
+ },
371
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
372
+ "questions": 800,
373
+ "accuracy": 0.67375,
374
+ "mean_class_recall": 0.5089660282717738,
375
+ "nll": 0.998813782244008,
376
+ "brier": 0.4775012041931279,
377
+ "ece15": 0.03873448735113525,
378
+ "temperature": 1.0,
379
+ "coverage_at_confidence_0_9": 0.20625,
380
+ "error_rate_at_confidence_0_9": 0.030303030303030304,
381
+ "ordinal_expected_level_mae": null
382
+ }
383
+ },
384
+ "macro_task_accuracy": 0.9354480356736271,
385
+ "macro_task_balanced_accuracy": 0.9112880126164279,
386
+ "macro_task_nll": 0.16929193562560574
387
+ },
388
+ "checkpoint_files": {
389
+ "chat_template.jinja": "a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715",
390
+ "tokenizer.json": "06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523",
391
+ "adapter_model.safetensors": "f01d67ab57ea35f6f96dcf615f54147213977022560741db20fb7eab6eb462bd",
392
+ "tokenizer_config.json": "353c083805d863719e54973335a38e252a92e1ac64d32b83bb0b333cc1644ef2",
393
+ "head.pt": "460a08af9f39d347ecd48b74049d8a6e6140f1293160a4a5807a201b92ecc3c1",
394
+ "README.md": "fdbf6f672a47dca9ef2ad668b395cccbdf4a09c88d16bf8a90ecf4f7445f31ce",
395
+ "adapter_config.json": "94aad580ce54a1dfcec0803beaba2c471e17b790f10efe7a481125c81fe1dd02"
396
+ }
397
+ },
398
+ {
399
+ "epoch": 3,
400
+ "metrics": {
401
+ "questions": 14912,
402
+ "accuracy": 0.9075912017167382,
403
+ "mean_class_recall": 0.8447857522159936,
404
+ "nll": 0.24807737680415345,
405
+ "brier": 0.12998082994334342,
406
+ "ece15": 0.027028147820359012,
407
+ "temperature": 1.0,
408
+ "coverage_at_confidence_0_9": 0.8103540772532188,
409
+ "error_rate_at_confidence_0_9": 0.023502151605428664,
410
+ "ordinal_expected_level_mae": 0.00481932257817722,
411
+ "tasks": {
412
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
413
+ "questions": 222,
414
+ "accuracy": 0.9774774774774775,
415
+ "mean_class_recall": 0.9570930232558139,
416
+ "nll": 0.10407641066616782,
417
+ "brier": 0.039347876403718875,
418
+ "ece15": 0.021432863016197557,
419
+ "temperature": 1.0,
420
+ "coverage_at_confidence_0_9": 0.9864864864864865,
421
+ "error_rate_at_confidence_0_9": 0.0136986301369863,
422
+ "ordinal_expected_level_mae": null
423
+ },
424
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
425
+ "questions": 222,
426
+ "accuracy": 0.9819819819819819,
427
+ "mean_class_recall": 0.96,
428
+ "nll": 0.10023555924012383,
429
+ "brier": 0.031563944714978254,
430
+ "ece15": 0.015911253108198964,
431
+ "temperature": 1.0,
432
+ "coverage_at_confidence_0_9": 0.9864864864864865,
433
+ "error_rate_at_confidence_0_9": 0.0136986301369863,
434
+ "ordinal_expected_level_mae": null
435
+ },
436
+ "byzfl_mnist:fl_attack_generated_update": {
437
+ "questions": 1400,
438
+ "accuracy": 0.9885714285714285,
439
+ "mean_class_recall": 0.9821428571428572,
440
+ "nll": 0.0442702602822601,
441
+ "brier": 0.02139513973607548,
442
+ "ece15": 0.007710400104216533,
443
+ "temperature": 1.0,
444
+ "coverage_at_confidence_0_9": 0.9842857142857143,
445
+ "error_rate_at_confidence_0_9": 0.008708272859216255,
446
+ "ordinal_expected_level_mae": null
447
+ },
448
+ "ciciot2023:ciciot_attack": {
449
+ "questions": 5000,
450
+ "accuracy": 0.8418,
451
+ "mean_class_recall": 0.7537333333333334,
452
+ "nll": 0.4173917752941542,
453
+ "brier": 0.22451704505631584,
454
+ "ece15": 0.06284084146027137,
455
+ "temperature": 1.0,
456
+ "coverage_at_confidence_0_9": 0.6928,
457
+ "error_rate_at_confidence_0_9": 0.06293302540415704,
458
+ "ordinal_expected_level_mae": null
459
+ },
460
+ "injecagent:injecagent_requested_operation_v13": {
461
+ "questions": 124,
462
+ "accuracy": 1.0,
463
+ "mean_class_recall": 1.0,
464
+ "nll": 0.0014205610073774013,
465
+ "brier": 0.0002211290260091384,
466
+ "ece15": 0.0013613576932818498,
467
+ "temperature": 1.0,
468
+ "coverage_at_confidence_0_9": 0.9919354838709677,
469
+ "error_rate_at_confidence_0_9": 0.0,
470
+ "ordinal_expected_level_mae": null
471
+ },
472
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
473
+ "questions": 328,
474
+ "accuracy": 1.0,
475
+ "mean_class_recall": 1.0,
476
+ "nll": 0.000610657881540054,
477
+ "brier": 8.099314527924365e-05,
478
+ "ece15": 0.0005891478461821947,
479
+ "temperature": 1.0,
480
+ "coverage_at_confidence_0_9": 1.0,
481
+ "error_rate_at_confidence_0_9": 0.0,
482
+ "ordinal_expected_level_mae": null
483
+ },
484
+ "lanl_auth_policy:lanl_observable_policy": {
485
+ "questions": 328,
486
+ "accuracy": 1.0,
487
+ "mean_class_recall": 1.0,
488
+ "nll": 1.5480302068279906e-07,
489
+ "brier": 4.4217021643060835e-12,
490
+ "ece15": 1.548019148098009e-07,
491
+ "temperature": 1.0,
492
+ "coverage_at_confidence_0_9": 1.0,
493
+ "error_rate_at_confidence_0_9": 0.0,
494
+ "ordinal_expected_level_mae": null
495
+ },
496
+ "ton_iot_network:ton_attack": {
497
+ "questions": 2500,
498
+ "accuracy": 0.9792,
499
+ "mean_class_recall": 0.9818666666666667,
500
+ "nll": 0.11218220058914397,
501
+ "brier": 0.03724045269615108,
502
+ "ece15": 0.01842697861877182,
503
+ "temperature": 1.0,
504
+ "coverage_at_confidence_0_9": 0.9928,
505
+ "error_rate_at_confidence_0_9": 0.015310233682514102,
506
+ "ordinal_expected_level_mae": null
507
+ },
508
+ "twins_streamlet:twins_evidence_level": {
509
+ "questions": 797,
510
+ "accuracy": 0.9962358845671268,
511
+ "mean_class_recall": 0.9963898916967509,
512
+ "nll": 0.012217254972570101,
513
+ "brier": 0.006818829719414822,
514
+ "ece15": 0.004133398699556409,
515
+ "temperature": 1.0,
516
+ "coverage_at_confidence_0_9": 0.9949811794228356,
517
+ "error_rate_at_confidence_0_9": 0.0012610340479192938,
518
+ "ordinal_expected_level_mae": 0.00481932257817722
519
+ },
520
+ "twins_streamlet:twins_policy_action": {
521
+ "questions": 797,
522
+ "accuracy": 0.9949811794228356,
523
+ "mean_class_recall": 0.9951865222623345,
524
+ "nll": 0.013078119892699127,
525
+ "brier": 0.007721112955228842,
526
+ "ece15": 0.003423998250058524,
527
+ "temperature": 1.0,
528
+ "coverage_at_confidence_0_9": 0.9899623588456713,
529
+ "error_rate_at_confidence_0_9": 0.0012674271229404308,
530
+ "ordinal_expected_level_mae": null
531
+ },
532
+ "twins_streamlet:twins_quorum": {
533
+ "questions": 797,
534
+ "accuracy": 0.9949811794228356,
535
+ "mean_class_recall": 0.994276682635671,
536
+ "nll": 0.01027058602627885,
537
+ "brier": 0.007209131739335666,
538
+ "ece15": 0.004201163796495765,
539
+ "temperature": 1.0,
540
+ "coverage_at_confidence_0_9": 0.9912170639899623,
541
+ "error_rate_at_confidence_0_9": 0.0,
542
+ "ordinal_expected_level_mae": null
543
+ },
544
+ "twins_streamlet:twins_visible_conflict": {
545
+ "questions": 797,
546
+ "accuracy": 0.9974905897114178,
547
+ "mean_class_recall": 0.998236331569665,
548
+ "nll": 0.017287182530912663,
549
+ "brier": 0.004953169208636321,
550
+ "ece15": 0.0025266183132433223,
551
+ "temperature": 1.0,
552
+ "coverage_at_confidence_0_9": 0.998745294855709,
553
+ "error_rate_at_confidence_0_9": 0.002512562814070352,
554
+ "ordinal_expected_level_mae": null
555
+ },
556
+ "veremi_nextgen:veremi_message_manipulation": {
557
+ "questions": 800,
558
+ "accuracy": 0.69,
559
+ "mean_class_recall": 0.7116483068135455,
560
+ "nll": 0.5092641106435474,
561
+ "brier": 0.3569714849542106,
562
+ "ece15": 0.03650030376694629,
563
+ "temperature": 1.0,
564
+ "coverage_at_confidence_0_9": 0.2425,
565
+ "error_rate_at_confidence_0_9": 0.010309278350515464,
566
+ "ordinal_expected_level_mae": null
567
+ },
568
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
569
+ "questions": 800,
570
+ "accuracy": 0.68875,
571
+ "mean_class_recall": 0.529392069171139,
572
+ "nll": 0.96833512912194,
573
+ "brier": 0.46247412161427887,
574
+ "ece15": 0.02731423542286039,
575
+ "temperature": 1.0,
576
+ "coverage_at_confidence_0_9": 0.22625,
577
+ "error_rate_at_confidence_0_9": 0.022099447513812154,
578
+ "ordinal_expected_level_mae": null
579
+ }
580
+ },
581
+ "macro_task_accuracy": 0.9379621229396502,
582
+ "macro_task_balanced_accuracy": 0.9185689774676985,
583
+ "macro_task_nll": 0.16504571163940973
584
+ },
585
+ "checkpoint_files": {
586
+ "chat_template.jinja": "a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715",
587
+ "tokenizer.json": "06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523",
588
+ "adapter_model.safetensors": "0087e92e59b987fea721124d1a3f61b1aca26b3ac01b974032abb60799e7b175",
589
+ "tokenizer_config.json": "353c083805d863719e54973335a38e252a92e1ac64d32b83bb0b333cc1644ef2",
590
+ "head.pt": "f3c477c0419bd8dbf64d530d7f2576e084f65cdee3b351e34a7804e67b3979cf",
591
+ "README.md": "fdbf6f672a47dca9ef2ad668b395cccbdf4a09c88d16bf8a90ecf4f7445f31ce",
592
+ "adapter_config.json": "94aad580ce54a1dfcec0803beaba2c471e17b790f10efe7a481125c81fe1dd02"
593
+ }
594
+ }
595
+ ],
596
+ "rule": "maximum development macro-task semantic-class balanced accuracy; tie macro-task raw NLL, then earlier epoch",
597
+ "test_used_for_selection": false
598
+ }
epoch-3-test.json ADDED
@@ -0,0 +1,375 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3,
3
+ "temperature": 1.334968103387446,
4
+ "test": {
5
+ "raw": {
6
+ "questions": 21634,
7
+ "accuracy": 0.8801423684940372,
8
+ "mean_class_recall": 0.8422636415920437,
9
+ "nll": 0.35756736839135106,
10
+ "brier": 0.17329397786588344,
11
+ "ece15": 0.018370944185424988,
12
+ "temperature": 1.0,
13
+ "coverage_at_confidence_0_9": 0.681750947582509,
14
+ "error_rate_at_confidence_0_9": 0.017289307749677945,
15
+ "ordinal_expected_level_mae": 0.004830545729071066,
16
+ "tasks": {
17
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
18
+ "questions": 426,
19
+ "accuracy": 0.9953051643192489,
20
+ "mean_class_recall": 0.9895833333333333,
21
+ "nll": 0.019578322598972707,
22
+ "brier": 0.008470972915844083,
23
+ "ece15": 0.0032192125141472924,
24
+ "temperature": 1.0,
25
+ "coverage_at_confidence_0_9": 0.9882629107981221,
26
+ "error_rate_at_confidence_0_9": 0.0023752969121140144,
27
+ "ordinal_expected_level_mae": null
28
+ },
29
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
30
+ "questions": 426,
31
+ "accuracy": 0.9835680751173709,
32
+ "mean_class_recall": 0.9635416666666667,
33
+ "nll": 0.03323309985013501,
34
+ "brier": 0.020700086530374747,
35
+ "ece15": 0.012858446963474107,
36
+ "temperature": 1.0,
37
+ "coverage_at_confidence_0_9": 0.9835680751173709,
38
+ "error_rate_at_confidence_0_9": 0.007159904534606206,
39
+ "ordinal_expected_level_mae": null
40
+ },
41
+ "byzfl_mnist:fl_attack_generated_update": {
42
+ "questions": 800,
43
+ "accuracy": 0.95875,
44
+ "mean_class_recall": 0.9296875,
45
+ "nll": 0.14798192410675134,
46
+ "brier": 0.07208296294789789,
47
+ "ece15": 0.031237402444916955,
48
+ "temperature": 1.0,
49
+ "coverage_at_confidence_0_9": 0.9575,
50
+ "error_rate_at_confidence_0_9": 0.02741514360313316,
51
+ "ordinal_expected_level_mae": null
52
+ },
53
+ "ciciot2023:ciciot_attack": {
54
+ "questions": 6000,
55
+ "accuracy": 0.9171666666666667,
56
+ "mean_class_recall": 0.8741111111111111,
57
+ "nll": 0.2872065840367128,
58
+ "brier": 0.1291518236859529,
59
+ "ece15": 0.02997403903668212,
60
+ "temperature": 1.0,
61
+ "coverage_at_confidence_0_9": 0.7491666666666666,
62
+ "error_rate_at_confidence_0_9": 0.03181312569521691,
63
+ "ordinal_expected_level_mae": null
64
+ },
65
+ "injecagent:injecagent_requested_operation_v13": {
66
+ "questions": 124,
67
+ "accuracy": 1.0,
68
+ "mean_class_recall": 1.0,
69
+ "nll": 6.416181236130915e-05,
70
+ "brier": 3.664856836177276e-07,
71
+ "ece15": 6.406994017019252e-05,
72
+ "temperature": 1.0,
73
+ "coverage_at_confidence_0_9": 1.0,
74
+ "error_rate_at_confidence_0_9": 0.0,
75
+ "ordinal_expected_level_mae": null
76
+ },
77
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
78
+ "questions": 540,
79
+ "accuracy": 1.0,
80
+ "mean_class_recall": 1.0,
81
+ "nll": 0.0003909349271697467,
82
+ "brier": 5.411140895974333e-05,
83
+ "ece15": 0.000376397356322764,
84
+ "temperature": 1.0,
85
+ "coverage_at_confidence_0_9": 0.9981481481481481,
86
+ "error_rate_at_confidence_0_9": 0.0,
87
+ "ordinal_expected_level_mae": null
88
+ },
89
+ "lanl_auth_policy:lanl_observable_policy": {
90
+ "questions": 540,
91
+ "accuracy": 1.0,
92
+ "mean_class_recall": 1.0,
93
+ "nll": 1.9301873747749096e-07,
94
+ "brier": 4.461551704214049e-12,
95
+ "ece15": 1.9301762319156735e-07,
96
+ "temperature": 1.0,
97
+ "coverage_at_confidence_0_9": 1.0,
98
+ "error_rate_at_confidence_0_9": 0.0,
99
+ "ordinal_expected_level_mae": null
100
+ },
101
+ "ton_iot_network:ton_attack": {
102
+ "questions": 3500,
103
+ "accuracy": 0.988,
104
+ "mean_class_recall": 0.9820952380952381,
105
+ "nll": 0.052315917826989855,
106
+ "brier": 0.021002166306533596,
107
+ "ece15": 0.005742982405630235,
108
+ "temperature": 1.0,
109
+ "coverage_at_confidence_0_9": 0.9757142857142858,
110
+ "error_rate_at_confidence_0_9": 0.007320644216691069,
111
+ "ordinal_expected_level_mae": null
112
+ },
113
+ "twins_streamlet:twins_evidence_level": {
114
+ "questions": 659,
115
+ "accuracy": 0.9954476479514416,
116
+ "mean_class_recall": 0.9949748743718594,
117
+ "nll": 0.006489090778116727,
118
+ "brier": 0.004985928434486637,
119
+ "ece15": 0.0035010905751582675,
120
+ "temperature": 1.0,
121
+ "coverage_at_confidence_0_9": 0.9954476479514416,
122
+ "error_rate_at_confidence_0_9": 0.0,
123
+ "ordinal_expected_level_mae": 0.004830545729071066
124
+ },
125
+ "twins_streamlet:twins_policy_action": {
126
+ "questions": 659,
127
+ "accuracy": 0.9984825493171472,
128
+ "mean_class_recall": 0.9983249581239532,
129
+ "nll": 0.007759166929265847,
130
+ "brier": 0.0031279766576844436,
131
+ "ece15": 0.0017302646891685911,
132
+ "temperature": 1.0,
133
+ "coverage_at_confidence_0_9": 0.9969650986342944,
134
+ "error_rate_at_confidence_0_9": 0.0015220700152207,
135
+ "ordinal_expected_level_mae": null
136
+ },
137
+ "twins_streamlet:twins_quorum": {
138
+ "questions": 659,
139
+ "accuracy": 1.0,
140
+ "mean_class_recall": 1.0,
141
+ "nll": 0.0012916521858483854,
142
+ "brier": 0.0006719742504699832,
143
+ "ece15": 0.0010543087689309648,
144
+ "temperature": 1.0,
145
+ "coverage_at_confidence_0_9": 0.9969650986342944,
146
+ "error_rate_at_confidence_0_9": 0.0,
147
+ "ordinal_expected_level_mae": null
148
+ },
149
+ "twins_streamlet:twins_visible_conflict": {
150
+ "questions": 659,
151
+ "accuracy": 0.9984825493171472,
152
+ "mean_class_recall": 0.9989130434782609,
153
+ "nll": 0.0030258654215359524,
154
+ "brier": 0.0020473738981638956,
155
+ "ece15": 0.0002839890142556098,
156
+ "temperature": 1.0,
157
+ "coverage_at_confidence_0_9": 0.9954476479514416,
158
+ "error_rate_at_confidence_0_9": 0.0,
159
+ "ordinal_expected_level_mae": null
160
+ },
161
+ "veremi_nextgen:veremi_message_manipulation": {
162
+ "questions": 3321,
163
+ "accuracy": 0.7034025895814514,
164
+ "mean_class_recall": 0.7106693655944849,
165
+ "nll": 0.5271449745997652,
166
+ "brier": 0.3679898300956757,
167
+ "ece15": 0.03254066478455375,
168
+ "temperature": 1.0,
169
+ "coverage_at_confidence_0_9": 0.21499548328816623,
170
+ "error_rate_at_confidence_0_9": 0.011204481792717087,
171
+ "ordinal_expected_level_mae": null
172
+ },
173
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
174
+ "questions": 3321,
175
+ "accuracy": 0.692261367058115,
176
+ "mean_class_recall": 0.49711800080440777,
177
+ "nll": 1.181957709780574,
178
+ "brier": 0.48216427161657194,
179
+ "ece15": 0.04703079874679226,
180
+ "temperature": 1.0,
181
+ "coverage_at_confidence_0_9": 0.20776874435411022,
182
+ "error_rate_at_confidence_0_9": 0.07681159420289856,
183
+ "ordinal_expected_level_mae": null
184
+ }
185
+ },
186
+ "macro_task_accuracy": 0.9450619006663279,
187
+ "macro_task_balanced_accuracy": 0.9242156493985226
188
+ },
189
+ "recalibrated": {
190
+ "questions": 21634,
191
+ "accuracy": 0.8801423684940372,
192
+ "mean_class_recall": 0.8422636415920437,
193
+ "nll": 0.3441350952603644,
194
+ "brier": 0.1767857045083663,
195
+ "ece15": 0.035627089616313175,
196
+ "temperature": 1.334968103387446,
197
+ "coverage_at_confidence_0_9": 0.6567440140519553,
198
+ "error_rate_at_confidence_0_9": 0.014358108108108109,
199
+ "ordinal_expected_level_mae": 0.004973955616734103,
200
+ "tasks": {
201
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
202
+ "questions": 426,
203
+ "accuracy": 0.9953051643192489,
204
+ "mean_class_recall": 0.9895833333333333,
205
+ "nll": 0.02085470758455793,
206
+ "brier": 0.009033562612123906,
207
+ "ece15": 0.005062121140742335,
208
+ "temperature": 1.334968103387446,
209
+ "coverage_at_confidence_0_9": 0.9741784037558685,
210
+ "error_rate_at_confidence_0_9": 0.0024096385542168677,
211
+ "ordinal_expected_level_mae": null
212
+ },
213
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
214
+ "questions": 426,
215
+ "accuracy": 0.9835680751173709,
216
+ "mean_class_recall": 0.9635416666666667,
217
+ "nll": 0.029576905474440387,
218
+ "brier": 0.019371229609764937,
219
+ "ece15": 0.0128149515297424,
220
+ "temperature": 1.334968103387446,
221
+ "coverage_at_confidence_0_9": 0.9741784037558685,
222
+ "error_rate_at_confidence_0_9": 0.004819277108433735,
223
+ "ordinal_expected_level_mae": null
224
+ },
225
+ "byzfl_mnist:fl_attack_generated_update": {
226
+ "questions": 800,
227
+ "accuracy": 0.95875,
228
+ "mean_class_recall": 0.9296875,
229
+ "nll": 0.1252495255860491,
230
+ "brier": 0.06891977027707019,
231
+ "ece15": 0.02206119521855819,
232
+ "temperature": 1.334968103387446,
233
+ "coverage_at_confidence_0_9": 0.93375,
234
+ "error_rate_at_confidence_0_9": 0.0214190093708166,
235
+ "ordinal_expected_level_mae": null
236
+ },
237
+ "ciciot2023:ciciot_attack": {
238
+ "questions": 6000,
239
+ "accuracy": 0.9171666666666667,
240
+ "mean_class_recall": 0.8741111111111111,
241
+ "nll": 0.258923302286342,
242
+ "brier": 0.1323925339560934,
243
+ "ece15": 0.040786104751424794,
244
+ "temperature": 1.334968103387446,
245
+ "coverage_at_confidence_0_9": 0.6995,
246
+ "error_rate_at_confidence_0_9": 0.027162258756254467,
247
+ "ordinal_expected_level_mae": null
248
+ },
249
+ "injecagent:injecagent_requested_operation_v13": {
250
+ "questions": 124,
251
+ "accuracy": 1.0,
252
+ "mean_class_recall": 1.0,
253
+ "nll": 0.00036120828507376734,
254
+ "brier": 6.118819643947097e-06,
255
+ "ece15": 0.0003596634947089362,
256
+ "temperature": 1.334968103387446,
257
+ "coverage_at_confidence_0_9": 1.0,
258
+ "error_rate_at_confidence_0_9": 0.0,
259
+ "ordinal_expected_level_mae": null
260
+ },
261
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
262
+ "questions": 540,
263
+ "accuracy": 1.0,
264
+ "mean_class_recall": 1.0,
265
+ "nll": 0.0010259839180316675,
266
+ "brier": 0.00015355821904600842,
267
+ "ece15": 0.0009831313211751498,
268
+ "temperature": 1.334968103387446,
269
+ "coverage_at_confidence_0_9": 0.9981481481481481,
270
+ "error_rate_at_confidence_0_9": 0.0,
271
+ "ordinal_expected_level_mae": null
272
+ },
273
+ "lanl_auth_policy:lanl_observable_policy": {
274
+ "questions": 540,
275
+ "accuracy": 1.0,
276
+ "mean_class_recall": 1.0,
277
+ "nll": 5.4752266593721125e-06,
278
+ "brier": 1.1349090161477055e-09,
279
+ "ece15": 5.474942881804694e-06,
280
+ "temperature": 1.334968103387446,
281
+ "coverage_at_confidence_0_9": 1.0,
282
+ "error_rate_at_confidence_0_9": 0.0,
283
+ "ordinal_expected_level_mae": null
284
+ },
285
+ "ton_iot_network:ton_attack": {
286
+ "questions": 3500,
287
+ "accuracy": 0.988,
288
+ "mean_class_recall": 0.9820952380952381,
289
+ "nll": 0.0471904212042291,
290
+ "brier": 0.02136284177729358,
291
+ "ece15": 0.004930332206950378,
292
+ "temperature": 1.334968103387446,
293
+ "coverage_at_confidence_0_9": 0.9597142857142857,
294
+ "error_rate_at_confidence_0_9": 0.006251860672819291,
295
+ "ordinal_expected_level_mae": null
296
+ },
297
+ "twins_streamlet:twins_evidence_level": {
298
+ "questions": 659,
299
+ "accuracy": 0.9954476479514416,
300
+ "mean_class_recall": 0.9949748743718594,
301
+ "nll": 0.005989405513587896,
302
+ "brier": 0.004363630530423605,
303
+ "ece15": 0.003686325313576514,
304
+ "temperature": 1.334968103387446,
305
+ "coverage_at_confidence_0_9": 0.9954476479514416,
306
+ "error_rate_at_confidence_0_9": 0.0,
307
+ "ordinal_expected_level_mae": 0.004973955616734103
308
+ },
309
+ "twins_streamlet:twins_policy_action": {
310
+ "questions": 659,
311
+ "accuracy": 0.9984825493171472,
312
+ "mean_class_recall": 0.9983249581239532,
313
+ "nll": 0.0069631222649601515,
314
+ "brier": 0.003204452557959292,
315
+ "ece15": 0.001531985329986691,
316
+ "temperature": 1.334968103387446,
317
+ "coverage_at_confidence_0_9": 0.9969650986342944,
318
+ "error_rate_at_confidence_0_9": 0.0015220700152207,
319
+ "ordinal_expected_level_mae": null
320
+ },
321
+ "twins_streamlet:twins_quorum": {
322
+ "questions": 659,
323
+ "accuracy": 1.0,
324
+ "mean_class_recall": 1.0,
325
+ "nll": 0.0018952623564185236,
326
+ "brier": 0.0008114028234666237,
327
+ "ece15": 0.0016108880631044219,
328
+ "temperature": 1.334968103387446,
329
+ "coverage_at_confidence_0_9": 0.9954476479514416,
330
+ "error_rate_at_confidence_0_9": 0.0,
331
+ "ordinal_expected_level_mae": null
332
+ },
333
+ "twins_streamlet:twins_visible_conflict": {
334
+ "questions": 659,
335
+ "accuracy": 0.9984825493171472,
336
+ "mean_class_recall": 0.9989130434782609,
337
+ "nll": 0.0033168872089549845,
338
+ "brier": 0.0020980871703588605,
339
+ "ece15": 0.0012518453771527926,
340
+ "temperature": 1.334968103387446,
341
+ "coverage_at_confidence_0_9": 0.9954476479514416,
342
+ "error_rate_at_confidence_0_9": 0.0,
343
+ "ordinal_expected_level_mae": null
344
+ },
345
+ "veremi_nextgen:veremi_message_manipulation": {
346
+ "questions": 3321,
347
+ "accuracy": 0.7034025895814514,
348
+ "mean_class_recall": 0.7106693655944849,
349
+ "nll": 0.5278136514287293,
350
+ "brier": 0.3689683794121852,
351
+ "ece15": 0.03240031037986953,
352
+ "temperature": 1.334968103387446,
353
+ "coverage_at_confidence_0_9": 0.1969286359530262,
354
+ "error_rate_at_confidence_0_9": 0.009174311926605505,
355
+ "ordinal_expected_level_mae": null
356
+ },
357
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
358
+ "questions": 3321,
359
+ "accuracy": 0.692261367058115,
360
+ "mean_class_recall": 0.49711800080440777,
361
+ "nll": 1.1560335557868109,
362
+ "brier": 0.498611302076152,
363
+ "ece15": 0.12617627958797675,
364
+ "temperature": 1.334968103387446,
365
+ "coverage_at_confidence_0_9": 0.17856067449563384,
366
+ "error_rate_at_confidence_0_9": 0.07251264755480608,
367
+ "ordinal_expected_level_mae": null
368
+ }
369
+ },
370
+ "macro_task_accuracy": 0.9450619006663279,
371
+ "macro_task_balanced_accuracy": 0.9242156493985226
372
+ }
373
+ },
374
+ "test_used_for_selection": false
375
+ }
epoch-3-validation.json ADDED
@@ -0,0 +1,744 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3,
3
+ "temperature": 1.334968103387446,
4
+ "development": {
5
+ "raw": {
6
+ "questions": 14912,
7
+ "accuracy": 0.9075912017167382,
8
+ "mean_class_recall": 0.8447857522159936,
9
+ "nll": 0.24807737680415345,
10
+ "brier": 0.12998082994334342,
11
+ "ece15": 0.027028147820359012,
12
+ "temperature": 1.0,
13
+ "coverage_at_confidence_0_9": 0.8103540772532188,
14
+ "error_rate_at_confidence_0_9": 0.023502151605428664,
15
+ "ordinal_expected_level_mae": 0.00481932257817722,
16
+ "tasks": {
17
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
18
+ "questions": 222,
19
+ "accuracy": 0.9774774774774775,
20
+ "mean_class_recall": 0.9570930232558139,
21
+ "nll": 0.10407641066616782,
22
+ "brier": 0.039347876403718875,
23
+ "ece15": 0.021432863016197557,
24
+ "temperature": 1.0,
25
+ "coverage_at_confidence_0_9": 0.9864864864864865,
26
+ "error_rate_at_confidence_0_9": 0.0136986301369863,
27
+ "ordinal_expected_level_mae": null
28
+ },
29
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
30
+ "questions": 222,
31
+ "accuracy": 0.9819819819819819,
32
+ "mean_class_recall": 0.96,
33
+ "nll": 0.10023555924012383,
34
+ "brier": 0.031563944714978254,
35
+ "ece15": 0.015911253108198964,
36
+ "temperature": 1.0,
37
+ "coverage_at_confidence_0_9": 0.9864864864864865,
38
+ "error_rate_at_confidence_0_9": 0.0136986301369863,
39
+ "ordinal_expected_level_mae": null
40
+ },
41
+ "byzfl_mnist:fl_attack_generated_update": {
42
+ "questions": 1400,
43
+ "accuracy": 0.9885714285714285,
44
+ "mean_class_recall": 0.9821428571428572,
45
+ "nll": 0.0442702602822601,
46
+ "brier": 0.02139513973607548,
47
+ "ece15": 0.007710400104216533,
48
+ "temperature": 1.0,
49
+ "coverage_at_confidence_0_9": 0.9842857142857143,
50
+ "error_rate_at_confidence_0_9": 0.008708272859216255,
51
+ "ordinal_expected_level_mae": null
52
+ },
53
+ "ciciot2023:ciciot_attack": {
54
+ "questions": 5000,
55
+ "accuracy": 0.8418,
56
+ "mean_class_recall": 0.7537333333333334,
57
+ "nll": 0.4173917752941542,
58
+ "brier": 0.22451704505631584,
59
+ "ece15": 0.06284084146027137,
60
+ "temperature": 1.0,
61
+ "coverage_at_confidence_0_9": 0.6928,
62
+ "error_rate_at_confidence_0_9": 0.06293302540415704,
63
+ "ordinal_expected_level_mae": null
64
+ },
65
+ "injecagent:injecagent_requested_operation_v13": {
66
+ "questions": 124,
67
+ "accuracy": 1.0,
68
+ "mean_class_recall": 1.0,
69
+ "nll": 0.0014205610073774013,
70
+ "brier": 0.0002211290260091384,
71
+ "ece15": 0.0013613576932818498,
72
+ "temperature": 1.0,
73
+ "coverage_at_confidence_0_9": 0.9919354838709677,
74
+ "error_rate_at_confidence_0_9": 0.0,
75
+ "ordinal_expected_level_mae": null
76
+ },
77
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
78
+ "questions": 328,
79
+ "accuracy": 1.0,
80
+ "mean_class_recall": 1.0,
81
+ "nll": 0.000610657881540054,
82
+ "brier": 8.099314527924365e-05,
83
+ "ece15": 0.0005891478461821947,
84
+ "temperature": 1.0,
85
+ "coverage_at_confidence_0_9": 1.0,
86
+ "error_rate_at_confidence_0_9": 0.0,
87
+ "ordinal_expected_level_mae": null
88
+ },
89
+ "lanl_auth_policy:lanl_observable_policy": {
90
+ "questions": 328,
91
+ "accuracy": 1.0,
92
+ "mean_class_recall": 1.0,
93
+ "nll": 1.5480302068279906e-07,
94
+ "brier": 4.4217021643060835e-12,
95
+ "ece15": 1.548019148098009e-07,
96
+ "temperature": 1.0,
97
+ "coverage_at_confidence_0_9": 1.0,
98
+ "error_rate_at_confidence_0_9": 0.0,
99
+ "ordinal_expected_level_mae": null
100
+ },
101
+ "ton_iot_network:ton_attack": {
102
+ "questions": 2500,
103
+ "accuracy": 0.9792,
104
+ "mean_class_recall": 0.9818666666666667,
105
+ "nll": 0.11218220058914397,
106
+ "brier": 0.03724045269615108,
107
+ "ece15": 0.01842697861877182,
108
+ "temperature": 1.0,
109
+ "coverage_at_confidence_0_9": 0.9928,
110
+ "error_rate_at_confidence_0_9": 0.015310233682514102,
111
+ "ordinal_expected_level_mae": null
112
+ },
113
+ "twins_streamlet:twins_evidence_level": {
114
+ "questions": 797,
115
+ "accuracy": 0.9962358845671268,
116
+ "mean_class_recall": 0.9963898916967509,
117
+ "nll": 0.012217254972570101,
118
+ "brier": 0.006818829719414822,
119
+ "ece15": 0.004133398699556409,
120
+ "temperature": 1.0,
121
+ "coverage_at_confidence_0_9": 0.9949811794228356,
122
+ "error_rate_at_confidence_0_9": 0.0012610340479192938,
123
+ "ordinal_expected_level_mae": 0.00481932257817722
124
+ },
125
+ "twins_streamlet:twins_policy_action": {
126
+ "questions": 797,
127
+ "accuracy": 0.9949811794228356,
128
+ "mean_class_recall": 0.9951865222623345,
129
+ "nll": 0.013078119892699127,
130
+ "brier": 0.007721112955228842,
131
+ "ece15": 0.003423998250058524,
132
+ "temperature": 1.0,
133
+ "coverage_at_confidence_0_9": 0.9899623588456713,
134
+ "error_rate_at_confidence_0_9": 0.0012674271229404308,
135
+ "ordinal_expected_level_mae": null
136
+ },
137
+ "twins_streamlet:twins_quorum": {
138
+ "questions": 797,
139
+ "accuracy": 0.9949811794228356,
140
+ "mean_class_recall": 0.994276682635671,
141
+ "nll": 0.01027058602627885,
142
+ "brier": 0.007209131739335666,
143
+ "ece15": 0.004201163796495765,
144
+ "temperature": 1.0,
145
+ "coverage_at_confidence_0_9": 0.9912170639899623,
146
+ "error_rate_at_confidence_0_9": 0.0,
147
+ "ordinal_expected_level_mae": null
148
+ },
149
+ "twins_streamlet:twins_visible_conflict": {
150
+ "questions": 797,
151
+ "accuracy": 0.9974905897114178,
152
+ "mean_class_recall": 0.998236331569665,
153
+ "nll": 0.017287182530912663,
154
+ "brier": 0.004953169208636321,
155
+ "ece15": 0.0025266183132433223,
156
+ "temperature": 1.0,
157
+ "coverage_at_confidence_0_9": 0.998745294855709,
158
+ "error_rate_at_confidence_0_9": 0.002512562814070352,
159
+ "ordinal_expected_level_mae": null
160
+ },
161
+ "veremi_nextgen:veremi_message_manipulation": {
162
+ "questions": 800,
163
+ "accuracy": 0.69,
164
+ "mean_class_recall": 0.7116483068135455,
165
+ "nll": 0.5092641106435474,
166
+ "brier": 0.3569714849542106,
167
+ "ece15": 0.03650030376694629,
168
+ "temperature": 1.0,
169
+ "coverage_at_confidence_0_9": 0.2425,
170
+ "error_rate_at_confidence_0_9": 0.010309278350515464,
171
+ "ordinal_expected_level_mae": null
172
+ },
173
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
174
+ "questions": 800,
175
+ "accuracy": 0.68875,
176
+ "mean_class_recall": 0.529392069171139,
177
+ "nll": 0.96833512912194,
178
+ "brier": 0.46247412161427887,
179
+ "ece15": 0.02731423542286039,
180
+ "temperature": 1.0,
181
+ "coverage_at_confidence_0_9": 0.22625,
182
+ "error_rate_at_confidence_0_9": 0.022099447513812154,
183
+ "ordinal_expected_level_mae": null
184
+ }
185
+ },
186
+ "macro_task_accuracy": 0.9379621229396502,
187
+ "macro_task_balanced_accuracy": 0.9185689774676985
188
+ },
189
+ "recalibrated": {
190
+ "questions": 14912,
191
+ "accuracy": 0.9075912017167382,
192
+ "mean_class_recall": 0.8447857522159936,
193
+ "nll": 0.2269545932235271,
194
+ "brier": 0.12792407717450321,
195
+ "ece15": 0.01858051585491712,
196
+ "temperature": 1.334968103387446,
197
+ "coverage_at_confidence_0_9": 0.7862124463519313,
198
+ "error_rate_at_confidence_0_9": 0.018679631525076765,
199
+ "ordinal_expected_level_mae": 0.005329911013904147,
200
+ "tasks": {
201
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
202
+ "questions": 222,
203
+ "accuracy": 0.9774774774774775,
204
+ "mean_class_recall": 0.9570930232558139,
205
+ "nll": 0.08092683597443519,
206
+ "brier": 0.037546344393533104,
207
+ "ece15": 0.021320738677048364,
208
+ "temperature": 1.334968103387446,
209
+ "coverage_at_confidence_0_9": 0.9819819819819819,
210
+ "error_rate_at_confidence_0_9": 0.013761467889908258,
211
+ "ordinal_expected_level_mae": null
212
+ },
213
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
214
+ "questions": 222,
215
+ "accuracy": 0.9819819819819819,
216
+ "mean_class_recall": 0.96,
217
+ "nll": 0.07809919245507242,
218
+ "brier": 0.030623326048867618,
219
+ "ece15": 0.015019163882298042,
220
+ "temperature": 1.334968103387446,
221
+ "coverage_at_confidence_0_9": 0.9819819819819819,
222
+ "error_rate_at_confidence_0_9": 0.009174311926605505,
223
+ "ordinal_expected_level_mae": null
224
+ },
225
+ "byzfl_mnist:fl_attack_generated_update": {
226
+ "questions": 1400,
227
+ "accuracy": 0.9885714285714285,
228
+ "mean_class_recall": 0.9821428571428572,
229
+ "nll": 0.04094699270351949,
230
+ "brier": 0.021018406686723334,
231
+ "ece15": 0.0038434318338614677,
232
+ "temperature": 1.334968103387446,
233
+ "coverage_at_confidence_0_9": 0.9678571428571429,
234
+ "error_rate_at_confidence_0_9": 0.006642066420664207,
235
+ "ordinal_expected_level_mae": null
236
+ },
237
+ "ciciot2023:ciciot_attack": {
238
+ "questions": 5000,
239
+ "accuracy": 0.8418,
240
+ "mean_class_recall": 0.7537333333333334,
241
+ "nll": 0.36679030702727994,
242
+ "brier": 0.21757064336558796,
243
+ "ece15": 0.043357678681868704,
244
+ "temperature": 1.334968103387446,
245
+ "coverage_at_confidence_0_9": 0.6394,
246
+ "error_rate_at_confidence_0_9": 0.05004691898654989,
247
+ "ordinal_expected_level_mae": null
248
+ },
249
+ "injecagent:injecagent_requested_operation_v13": {
250
+ "questions": 124,
251
+ "accuracy": 1.0,
252
+ "mean_class_recall": 1.0,
253
+ "nll": 0.0028701157894541487,
254
+ "brier": 0.0006216354903482641,
255
+ "ece15": 0.0026971564840139535,
256
+ "temperature": 1.334968103387446,
257
+ "coverage_at_confidence_0_9": 0.9919354838709677,
258
+ "error_rate_at_confidence_0_9": 0.0,
259
+ "ordinal_expected_level_mae": null
260
+ },
261
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
262
+ "questions": 328,
263
+ "accuracy": 1.0,
264
+ "mean_class_recall": 1.0,
265
+ "nll": 0.001405432942745028,
266
+ "brier": 0.00025083300955486444,
267
+ "ece15": 0.0013358908781109478,
268
+ "temperature": 1.334968103387446,
269
+ "coverage_at_confidence_0_9": 0.9939024390243902,
270
+ "error_rate_at_confidence_0_9": 0.0,
271
+ "ordinal_expected_level_mae": null
272
+ },
273
+ "lanl_auth_policy:lanl_observable_policy": {
274
+ "questions": 328,
275
+ "accuracy": 1.0,
276
+ "mean_class_recall": 1.0,
277
+ "nll": 4.6272880953518815e-06,
278
+ "brier": 9.796066038293659e-10,
279
+ "ece15": 4.627043141135246e-06,
280
+ "temperature": 1.334968103387446,
281
+ "coverage_at_confidence_0_9": 1.0,
282
+ "error_rate_at_confidence_0_9": 0.0,
283
+ "ordinal_expected_level_mae": null
284
+ },
285
+ "ton_iot_network:ton_attack": {
286
+ "questions": 2500,
287
+ "accuracy": 0.9792,
288
+ "mean_class_recall": 0.9818666666666667,
289
+ "nll": 0.0877031817842779,
290
+ "brier": 0.03599036114227489,
291
+ "ece15": 0.01538869285344686,
292
+ "temperature": 1.334968103387446,
293
+ "coverage_at_confidence_0_9": 0.988,
294
+ "error_rate_at_confidence_0_9": 0.014574898785425101,
295
+ "ordinal_expected_level_mae": null
296
+ },
297
+ "twins_streamlet:twins_evidence_level": {
298
+ "questions": 797,
299
+ "accuracy": 0.9962358845671268,
300
+ "mean_class_recall": 0.9963898916967509,
301
+ "nll": 0.010603240403009088,
302
+ "brier": 0.006373682001028304,
303
+ "ece15": 0.004218405852177047,
304
+ "temperature": 1.334968103387446,
305
+ "coverage_at_confidence_0_9": 0.9937264742785445,
306
+ "error_rate_at_confidence_0_9": 0.0012626262626262627,
307
+ "ordinal_expected_level_mae": 0.005329911013904147
308
+ },
309
+ "twins_streamlet:twins_policy_action": {
310
+ "questions": 797,
311
+ "accuracy": 0.9949811794228356,
312
+ "mean_class_recall": 0.9951865222623345,
313
+ "nll": 0.01230072195659841,
314
+ "brier": 0.007337903591834537,
315
+ "ece15": 0.0031241457310850957,
316
+ "temperature": 1.334968103387446,
317
+ "coverage_at_confidence_0_9": 0.986198243412798,
318
+ "error_rate_at_confidence_0_9": 0.001272264631043257,
319
+ "ordinal_expected_level_mae": null
320
+ },
321
+ "twins_streamlet:twins_quorum": {
322
+ "questions": 797,
323
+ "accuracy": 0.9949811794228356,
324
+ "mean_class_recall": 0.994276682635671,
325
+ "nll": 0.009584146250019401,
326
+ "brier": 0.00659904677807738,
327
+ "ece15": 0.005028933100804552,
328
+ "temperature": 1.334968103387446,
329
+ "coverage_at_confidence_0_9": 0.9899623588456713,
330
+ "error_rate_at_confidence_0_9": 0.0,
331
+ "ordinal_expected_level_mae": null
332
+ },
333
+ "twins_streamlet:twins_visible_conflict": {
334
+ "questions": 797,
335
+ "accuracy": 0.9974905897114178,
336
+ "mean_class_recall": 0.998236331569665,
337
+ "nll": 0.013437428285294059,
338
+ "brier": 0.004858731838764845,
339
+ "ece15": 0.0022785888551786117,
340
+ "temperature": 1.334968103387446,
341
+ "coverage_at_confidence_0_9": 0.998745294855709,
342
+ "error_rate_at_confidence_0_9": 0.002512562814070352,
343
+ "ordinal_expected_level_mae": null
344
+ },
345
+ "veremi_nextgen:veremi_message_manipulation": {
346
+ "questions": 800,
347
+ "accuracy": 0.69,
348
+ "mean_class_recall": 0.7116483068135455,
349
+ "nll": 0.5102124840713312,
350
+ "brier": 0.35753050242002155,
351
+ "ece15": 0.03811996421246104,
352
+ "temperature": 1.334968103387446,
353
+ "coverage_at_confidence_0_9": 0.22125,
354
+ "error_rate_at_confidence_0_9": 0.011299435028248588,
355
+ "ordinal_expected_level_mae": null
356
+ },
357
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
358
+ "questions": 800,
359
+ "accuracy": 0.68875,
360
+ "mean_class_recall": 0.529392069171139,
361
+ "nll": 0.9911460027249259,
362
+ "brier": 0.4737144267281807,
363
+ "ece15": 0.09647043512079573,
364
+ "temperature": 1.334968103387446,
365
+ "coverage_at_confidence_0_9": 0.18625,
366
+ "error_rate_at_confidence_0_9": 0.020134228187919462,
367
+ "ordinal_expected_level_mae": null
368
+ }
369
+ },
370
+ "macro_task_accuracy": 0.9379621229396502,
371
+ "macro_task_balanced_accuracy": 0.9185689774676985
372
+ }
373
+ },
374
+ "calibration": {
375
+ "raw": {
376
+ "questions": 14821,
377
+ "accuracy": 0.9313811483705553,
378
+ "mean_class_recall": 0.8460223158089928,
379
+ "nll": 0.18480685074016417,
380
+ "brier": 0.09978353062869037,
381
+ "ece15": 0.010514966894040724,
382
+ "temperature": 1.0,
383
+ "coverage_at_confidence_0_9": 0.814789825247959,
384
+ "error_rate_at_confidence_0_9": 0.013580655846306725,
385
+ "ordinal_expected_level_mae": 0.001461981275023823,
386
+ "tasks": {
387
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
388
+ "questions": 325,
389
+ "accuracy": 0.96,
390
+ "mean_class_recall": 0.9216916119306557,
391
+ "nll": 0.12908652765840894,
392
+ "brier": 0.06258807450225369,
393
+ "ece15": 0.033510331142289206,
394
+ "temperature": 1.0,
395
+ "coverage_at_confidence_0_9": 0.9815384615384616,
396
+ "error_rate_at_confidence_0_9": 0.0219435736677116,
397
+ "ordinal_expected_level_mae": null
398
+ },
399
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
400
+ "questions": 328,
401
+ "accuracy": 0.9695121951219512,
402
+ "mean_class_recall": 0.9372206852521814,
403
+ "nll": 0.16127769578392517,
404
+ "brier": 0.05858994554032181,
405
+ "ece15": 0.030459345972402876,
406
+ "temperature": 1.0,
407
+ "coverage_at_confidence_0_9": 0.9939024390243902,
408
+ "error_rate_at_confidence_0_9": 0.027607361963190184,
409
+ "ordinal_expected_level_mae": null
410
+ },
411
+ "byzfl_mnist:fl_attack_generated_update": {
412
+ "questions": 2400,
413
+ "accuracy": 0.9404166666666667,
414
+ "mean_class_recall": 0.8877604166666666,
415
+ "nll": 0.19653998710185536,
416
+ "brier": 0.09947525932448194,
417
+ "ece15": 0.04423318187692424,
418
+ "temperature": 1.0,
419
+ "coverage_at_confidence_0_9": 0.9479166666666666,
420
+ "error_rate_at_confidence_0_9": 0.03824175824175824,
421
+ "ordinal_expected_level_mae": null
422
+ },
423
+ "ciciot2023:ciciot_attack": {
424
+ "questions": 5000,
425
+ "accuracy": 0.9292,
426
+ "mean_class_recall": 0.8968,
427
+ "nll": 0.18887834668200343,
428
+ "brier": 0.10636649585712103,
429
+ "ece15": 0.019887550017025992,
430
+ "temperature": 1.0,
431
+ "coverage_at_confidence_0_9": 0.7252,
432
+ "error_rate_at_confidence_0_9": 0.013513513513513514,
433
+ "ordinal_expected_level_mae": null
434
+ },
435
+ "injecagent:injecagent_requested_operation_v13": {
436
+ "questions": 124,
437
+ "accuracy": 0.9919354838709677,
438
+ "mean_class_recall": 0.9928571428571429,
439
+ "nll": 0.021390831595053342,
440
+ "brier": 0.015445766007169246,
441
+ "ece15": 0.011074830403285848,
442
+ "temperature": 1.0,
443
+ "coverage_at_confidence_0_9": 0.9838709677419355,
444
+ "error_rate_at_confidence_0_9": 0.0,
445
+ "ordinal_expected_level_mae": null
446
+ },
447
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
448
+ "questions": 235,
449
+ "accuracy": 0.9957446808510638,
450
+ "mean_class_recall": 0.9949494949494949,
451
+ "nll": 0.015420468691595452,
452
+ "brier": 0.008033852620508352,
453
+ "ece15": 0.003625196423068977,
454
+ "temperature": 1.0,
455
+ "coverage_at_confidence_0_9": 1.0,
456
+ "error_rate_at_confidence_0_9": 0.00425531914893617,
457
+ "ordinal_expected_level_mae": null
458
+ },
459
+ "lanl_auth_policy:lanl_observable_policy": {
460
+ "questions": 235,
461
+ "accuracy": 0.9957446808510638,
462
+ "mean_class_recall": 0.9905660377358491,
463
+ "nll": 0.018077073969230188,
464
+ "brier": 0.00826909442413202,
465
+ "ece15": 0.004194003764167214,
466
+ "temperature": 1.0,
467
+ "coverage_at_confidence_0_9": 1.0,
468
+ "error_rate_at_confidence_0_9": 0.00425531914893617,
469
+ "ordinal_expected_level_mae": null
470
+ },
471
+ "ton_iot_network:ton_attack": {
472
+ "questions": 2000,
473
+ "accuracy": 0.9985,
474
+ "mean_class_recall": 0.9976666666666667,
475
+ "nll": 0.010567088503443185,
476
+ "brier": 0.003178972042914288,
477
+ "ece15": 0.0009240536217447044,
478
+ "temperature": 1.0,
479
+ "coverage_at_confidence_0_9": 0.999,
480
+ "error_rate_at_confidence_0_9": 0.0015015015015015015,
481
+ "ordinal_expected_level_mae": null
482
+ },
483
+ "twins_streamlet:twins_evidence_level": {
484
+ "questions": 641,
485
+ "accuracy": 0.9984399375975039,
486
+ "mean_class_recall": 0.9985507246376812,
487
+ "nll": 0.003039872100282549,
488
+ "brier": 0.0022297539963869384,
489
+ "ece15": 0.0014593852165271412,
490
+ "temperature": 1.0,
491
+ "coverage_at_confidence_0_9": 0.9984399375975039,
492
+ "error_rate_at_confidence_0_9": 0.0,
493
+ "ordinal_expected_level_mae": 0.001461981275023823
494
+ },
495
+ "twins_streamlet:twins_policy_action": {
496
+ "questions": 641,
497
+ "accuracy": 1.0,
498
+ "mean_class_recall": 1.0,
499
+ "nll": 0.0004967972153911127,
500
+ "brier": 9.688544623270663e-05,
501
+ "ece15": 0.00046955068951652005,
502
+ "temperature": 1.0,
503
+ "coverage_at_confidence_0_9": 0.9984399375975039,
504
+ "error_rate_at_confidence_0_9": 0.0,
505
+ "ordinal_expected_level_mae": null
506
+ },
507
+ "twins_streamlet:twins_quorum": {
508
+ "questions": 641,
509
+ "accuracy": 0.9968798751950078,
510
+ "mean_class_recall": 0.9961240310077519,
511
+ "nll": 0.016173152134660414,
512
+ "brier": 0.007502235795954162,
513
+ "ece15": 0.0049434253477994355,
514
+ "temperature": 1.0,
515
+ "coverage_at_confidence_0_9": 0.9937597503900156,
516
+ "error_rate_at_confidence_0_9": 0.0031397174254317113,
517
+ "ordinal_expected_level_mae": null
518
+ },
519
+ "twins_streamlet:twins_visible_conflict": {
520
+ "questions": 641,
521
+ "accuracy": 0.9984399375975039,
522
+ "mean_class_recall": 0.9969512195121951,
523
+ "nll": 0.004162755288573824,
524
+ "brier": 0.0026938896990115683,
525
+ "ece15": 0.0014825770107887316,
526
+ "temperature": 1.0,
527
+ "coverage_at_confidence_0_9": 1.0,
528
+ "error_rate_at_confidence_0_9": 0.0015600624024961,
529
+ "ordinal_expected_level_mae": null
530
+ },
531
+ "veremi_nextgen:veremi_message_manipulation": {
532
+ "questions": 805,
533
+ "accuracy": 0.7031055900621118,
534
+ "mean_class_recall": 0.7239978843175034,
535
+ "nll": 0.49879740669601635,
536
+ "brier": 0.351098943795658,
537
+ "ece15": 0.02568931078110801,
538
+ "temperature": 1.0,
539
+ "coverage_at_confidence_0_9": 0.23850931677018633,
540
+ "error_rate_at_confidence_0_9": 0.0,
541
+ "ordinal_expected_level_mae": null
542
+ },
543
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
544
+ "questions": 805,
545
+ "accuracy": 0.6919254658385093,
546
+ "mean_class_recall": 0.5331098265895953,
547
+ "nll": 0.9684343228937802,
548
+ "brier": 0.45465071518796674,
549
+ "ece15": 0.01705305962599151,
550
+ "temperature": 1.0,
551
+ "coverage_at_confidence_0_9": 0.2360248447204969,
552
+ "error_rate_at_confidence_0_9": 0.021052631578947368,
553
+ "ordinal_expected_level_mae": null
554
+ }
555
+ },
556
+ "macro_task_accuracy": 0.9407031795465964,
557
+ "macro_task_balanced_accuracy": 0.9191604101516703
558
+ },
559
+ "recalibrated": {
560
+ "questions": 14821,
561
+ "accuracy": 0.9313811483705553,
562
+ "mean_class_recall": 0.8460223158089928,
563
+ "nll": 0.17961943925788992,
564
+ "brier": 0.10111838724890135,
565
+ "ece15": 0.017864195303344165,
566
+ "temperature": 1.334968103387446,
567
+ "coverage_at_confidence_0_9": 0.7859118817893529,
568
+ "error_rate_at_confidence_0_9": 0.010645604395604396,
569
+ "ordinal_expected_level_mae": 0.001742299523022841,
570
+ "tasks": {
571
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
572
+ "questions": 325,
573
+ "accuracy": 0.96,
574
+ "mean_class_recall": 0.9216916119306557,
575
+ "nll": 0.10308600797920058,
576
+ "brier": 0.05761479429147346,
577
+ "ece15": 0.0294057816164861,
578
+ "temperature": 1.334968103387446,
579
+ "coverage_at_confidence_0_9": 0.963076923076923,
580
+ "error_rate_at_confidence_0_9": 0.012779552715654952,
581
+ "ordinal_expected_level_mae": null
582
+ },
583
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
584
+ "questions": 328,
585
+ "accuracy": 0.9695121951219512,
586
+ "mean_class_recall": 0.9372206852521814,
587
+ "nll": 0.12289366290953901,
588
+ "brier": 0.057082591730227304,
589
+ "ece15": 0.029897091535857363,
590
+ "temperature": 1.334968103387446,
591
+ "coverage_at_confidence_0_9": 0.9939024390243902,
592
+ "error_rate_at_confidence_0_9": 0.027607361963190184,
593
+ "ordinal_expected_level_mae": null
594
+ },
595
+ "byzfl_mnist:fl_attack_generated_update": {
596
+ "questions": 2400,
597
+ "accuracy": 0.9404166666666667,
598
+ "mean_class_recall": 0.8877604166666666,
599
+ "nll": 0.16174786934019353,
600
+ "brier": 0.09375828073422167,
601
+ "ece15": 0.03645209485430555,
602
+ "temperature": 1.334968103387446,
603
+ "coverage_at_confidence_0_9": 0.92875,
604
+ "error_rate_at_confidence_0_9": 0.03095558546433378,
605
+ "ordinal_expected_level_mae": null
606
+ },
607
+ "ciciot2023:ciciot_attack": {
608
+ "questions": 5000,
609
+ "accuracy": 0.9292,
610
+ "mean_class_recall": 0.8968,
611
+ "nll": 0.19125358889505403,
612
+ "brier": 0.11141554439383701,
613
+ "ece15": 0.03505488361604012,
614
+ "temperature": 1.334968103387446,
615
+ "coverage_at_confidence_0_9": 0.6616,
616
+ "error_rate_at_confidence_0_9": 0.010278113663845224,
617
+ "ordinal_expected_level_mae": null
618
+ },
619
+ "injecagent:injecagent_requested_operation_v13": {
620
+ "questions": 124,
621
+ "accuracy": 0.9919354838709677,
622
+ "mean_class_recall": 0.9928571428571429,
623
+ "nll": 0.019190864186870816,
624
+ "brier": 0.01397734899726431,
625
+ "ece15": 0.011351501004051424,
626
+ "temperature": 1.334968103387446,
627
+ "coverage_at_confidence_0_9": 0.9838709677419355,
628
+ "error_rate_at_confidence_0_9": 0.0,
629
+ "ordinal_expected_level_mae": null
630
+ },
631
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
632
+ "questions": 235,
633
+ "accuracy": 0.9957446808510638,
634
+ "mean_class_recall": 0.9949494949494949,
635
+ "nll": 0.01285197836061796,
636
+ "brier": 0.007512756902037326,
637
+ "ece15": 0.004004760561973723,
638
+ "temperature": 1.334968103387446,
639
+ "coverage_at_confidence_0_9": 1.0,
640
+ "error_rate_at_confidence_0_9": 0.00425531914893617,
641
+ "ordinal_expected_level_mae": null
642
+ },
643
+ "lanl_auth_policy:lanl_observable_policy": {
644
+ "questions": 235,
645
+ "accuracy": 0.9957446808510638,
646
+ "mean_class_recall": 0.9905660377358491,
647
+ "nll": 0.01368047084450566,
648
+ "brier": 0.007839165259612221,
649
+ "ece15": 0.004073337312958388,
650
+ "temperature": 1.334968103387446,
651
+ "coverage_at_confidence_0_9": 1.0,
652
+ "error_rate_at_confidence_0_9": 0.00425531914893617,
653
+ "ordinal_expected_level_mae": null
654
+ },
655
+ "ton_iot_network:ton_attack": {
656
+ "questions": 2000,
657
+ "accuracy": 0.9985,
658
+ "mean_class_recall": 0.9976666666666667,
659
+ "nll": 0.010650627249048795,
660
+ "brier": 0.003323170074906094,
661
+ "ece15": 0.002118687755931114,
662
+ "temperature": 1.334968103387446,
663
+ "coverage_at_confidence_0_9": 0.9975,
664
+ "error_rate_at_confidence_0_9": 0.0015037593984962407,
665
+ "ordinal_expected_level_mae": null
666
+ },
667
+ "twins_streamlet:twins_evidence_level": {
668
+ "questions": 641,
669
+ "accuracy": 0.9984399375975039,
670
+ "mean_class_recall": 0.9985507246376812,
671
+ "nll": 0.0028802196260483376,
672
+ "brier": 0.001935795675809169,
673
+ "ece15": 0.0017273023271884604,
674
+ "temperature": 1.334968103387446,
675
+ "coverage_at_confidence_0_9": 0.9968798751950078,
676
+ "error_rate_at_confidence_0_9": 0.0,
677
+ "ordinal_expected_level_mae": 0.001742299523022841
678
+ },
679
+ "twins_streamlet:twins_policy_action": {
680
+ "questions": 641,
681
+ "accuracy": 1.0,
682
+ "mean_class_recall": 1.0,
683
+ "nll": 0.0012409177190170738,
684
+ "brier": 0.00021235107519573934,
685
+ "ece15": 0.0011788827327451372,
686
+ "temperature": 1.334968103387446,
687
+ "coverage_at_confidence_0_9": 0.9984399375975039,
688
+ "error_rate_at_confidence_0_9": 0.0,
689
+ "ordinal_expected_level_mae": null
690
+ },
691
+ "twins_streamlet:twins_quorum": {
692
+ "questions": 641,
693
+ "accuracy": 0.9968798751950078,
694
+ "mean_class_recall": 0.9961240310077519,
695
+ "nll": 0.013816362060687534,
696
+ "brier": 0.007467944863319216,
697
+ "ece15": 0.004893228894077442,
698
+ "temperature": 1.334968103387446,
699
+ "coverage_at_confidence_0_9": 0.9921996879875195,
700
+ "error_rate_at_confidence_0_9": 0.0031446540880503146,
701
+ "ordinal_expected_level_mae": null
702
+ },
703
+ "twins_streamlet:twins_visible_conflict": {
704
+ "questions": 641,
705
+ "accuracy": 0.9984399375975039,
706
+ "mean_class_recall": 0.9969512195121951,
707
+ "nll": 0.0034185049808860444,
708
+ "brier": 0.0023816170036107054,
709
+ "ece15": 0.0015601193471088582,
710
+ "temperature": 1.334968103387446,
711
+ "coverage_at_confidence_0_9": 0.9984399375975039,
712
+ "error_rate_at_confidence_0_9": 0.0,
713
+ "ordinal_expected_level_mae": null
714
+ },
715
+ "veremi_nextgen:veremi_message_manipulation": {
716
+ "questions": 805,
717
+ "accuracy": 0.7031055900621118,
718
+ "mean_class_recall": 0.7239978843175034,
719
+ "nll": 0.503140821446039,
720
+ "brier": 0.35269849107227197,
721
+ "ece15": 0.030978365187072362,
722
+ "temperature": 1.334968103387446,
723
+ "coverage_at_confidence_0_9": 0.21366459627329193,
724
+ "error_rate_at_confidence_0_9": 0.0,
725
+ "ordinal_expected_level_mae": null
726
+ },
727
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
728
+ "questions": 805,
729
+ "accuracy": 0.6919254658385093,
730
+ "mean_class_recall": 0.5331098265895953,
731
+ "nll": 0.9878648410254747,
732
+ "brier": 0.46649698606417656,
733
+ "ece15": 0.09086134384209663,
734
+ "temperature": 1.334968103387446,
735
+ "coverage_at_confidence_0_9": 0.19627329192546583,
736
+ "error_rate_at_confidence_0_9": 0.006329113924050633,
737
+ "ordinal_expected_level_mae": null
738
+ }
739
+ },
740
+ "macro_task_accuracy": 0.9407031795465964,
741
+ "macro_task_balanced_accuracy": 0.9191604101516703
742
+ }
743
+ }
744
+ }
evaluation/README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SecJev-4B results
2
+
3
+ Epoch 3 was selected on all 14,912 development questions. Calibration uses a separate 14,821-question split. Test scores below cover all 21,634 security questions and 14 tasks. All three checkpoints were specified for testing before test access.
4
+
5
+ | Model | Micro accuracy | Macro-task accuracy | Macro-task balanced accuracy |
6
+ |---|---:|---:|---:|
7
+ | Original Kev-4B | 50.49% | 67.88% | 67.16% |
8
+ | Epoch 1 | 85.88% | 93.38% | 90.74% |
9
+ | Epoch 2 | 87.12% | 94.15% | 91.69% |
10
+ | Epoch 3 | 88.01% | 94.51% | 92.42% |
11
+
12
+ | Task | Questions | Original Kev-4B | SecJev-4B | SecJev balanced accuracy |
13
+ |---|---:|---:|---:|---:|
14
+ | agentdojo_tool_outputs:agentdojo_boundary_action | 426 | 54.23% | 99.53% | 98.96% |
15
+ | agentdojo_tool_outputs:agentdojo_embedded_injection | 426 | 73.00% | 98.36% | 96.35% |
16
+ | byzfl_mnist:fl_attack_generated_update | 800 | 79.88% | 95.88% | 92.97% |
17
+ | ciciot2023:ciciot_attack | 6000 | 26.28% | 91.72% | 87.41% |
18
+ | injecagent:injecagent_requested_operation_v13 | 124 | 62.90% | 100.00% | 100.00% |
19
+ | lanl_auth_policy:lanl_known_logon_action_v16 | 540 | 79.81% | 100.00% | 100.00% |
20
+ | lanl_auth_policy:lanl_observable_policy | 540 | 99.44% | 100.00% | 100.00% |
21
+ | ton_iot_network:ton_attack | 3500 | 50.66% | 98.80% | 98.21% |
22
+ | twins_streamlet:twins_evidence_level | 659 | 81.18% | 99.54% | 99.50% |
23
+ | twins_streamlet:twins_policy_action | 659 | 71.78% | 99.85% | 99.83% |
24
+ | twins_streamlet:twins_quorum | 659 | 78.15% | 100.00% | 100.00% |
25
+ | twins_streamlet:twins_visible_conflict | 659 | 97.12% | 99.85% | 99.89% |
26
+ | veremi_nextgen:veremi_message_manipulation | 3321 | 47.76% | 70.34% | 71.07% |
27
+ | veremi_nextgen:veremi_supported_attack_type_v16 | 3321 | 48.09% | 69.23% | 49.71% |
28
+ | **Macro-average** | — | **67.88%** | **94.51%** | **92.42%** |
29
+
30
+ Macro metrics weight tasks equally. Balanced accuracy averages recall over semantic classes within each task. Ordinal questions use argmax accuracy. Vehicle-message manipulation (70.34%) and attack-type classification (69.23%) remain the weakest tasks.
31
+
32
+ | General suite (clean subset) | Original Kev-4B | SecJev-4B |
33
+ |---|---:|---:|
34
+ | decision-v7 (1,200) | 87.08% | 86.58% |
35
+ | transfer-v4 (656) | 83.69% | 83.84% |
36
+
37
+ Full general suites, including variants, contain 1,440 and 764 questions. Inference is FP32 unmerged, TF32/fused SDPA off. All original multiquestion semantics are retained. These are previously inspected research splits; source-label and policy scores are not live attack-detection rates. See results.json for calibration metrics and every checkpoint.
evaluation/README.zh-CN.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SecJev-4B 训练与评测结果
2
+
3
+ 官方 Kev-4B → SecJev-Corpus 三轮。训练使用全部 9 张 GPU。使用 LoRA r16 和决策头,FP32 参数、BF16 训练;评测为 FP32。
4
+
5
+ 开发验证集 14,912 题选择第 3 轮,校准集 14,821 题只用于温度拟合。安全测试集为完整的 21,634 题、14 项任务;三个 checkpoint 均按预定方案测试,测试集不用于选择。
6
+
7
+ 总准确率按题目加权;任务宏平均对 14 项任务等权;任务宏平均平衡准确率先在每项任务内对语义类别召回率等权,再对任务等权。
8
+
9
+ | 模型 | 总准确率 | 任务宏平均准确率 | 任务宏平均平衡准确率 |
10
+ |---|---:|---:|---:|
11
+ | 官方 Kev-4B | 50.49% | 67.88% | 67.16% |
12
+ | SecJev epoch 1 | 85.88% | 93.38% | 90.74% |
13
+ | SecJev epoch 2 | 87.12% | 94.15% | 91.69% |
14
+ | SecJev epoch 3 | 88.01% | 94.51% | 92.42% |
15
+
16
+ | 安全任务 | 题数 | 官方 Kev-4B | Epoch1 | Epoch2 | Epoch3 |
17
+ |---|---:|---:|---:|---:|---:|
18
+ | agentdojo_tool_outputs:agentdojo_boundary_action | 426 | 54.23% | 99.53% | 99.53% | 99.53% |
19
+ | agentdojo_tool_outputs:agentdojo_embedded_injection | 426 | 73.00% | 98.36% | 98.36% | 98.36% |
20
+ | byzfl_mnist:fl_attack_generated_update | 800 | 79.88% | 93.88% | 95.25% | 95.88% |
21
+ | ciciot2023:ciciot_attack | 6000 | 26.28% | 90.85% | 89.95% | 91.72% |
22
+ | injecagent:injecagent_requested_operation_v13 | 124 | 62.90% | 100.00% | 100.00% | 100.00% |
23
+ | lanl_auth_policy:lanl_known_logon_action_v16 | 540 | 79.81% | 100.00% | 100.00% | 100.00% |
24
+ | lanl_auth_policy:lanl_observable_policy | 540 | 99.44% | 100.00% | 100.00% | 100.00% |
25
+ | ton_iot_network:ton_attack | 3500 | 50.66% | 98.83% | 98.94% | 98.80% |
26
+ | twins_streamlet:twins_evidence_level | 659 | 81.18% | 99.09% | 99.85% | 99.54% |
27
+ | twins_streamlet:twins_policy_action | 659 | 71.78% | 99.39% | 99.70% | 99.85% |
28
+ | twins_streamlet:twins_quorum | 659 | 78.15% | 99.70% | 99.85% | 100.00% |
29
+ | twins_streamlet:twins_visible_conflict | 659 | 97.12% | 99.70% | 99.70% | 99.85% |
30
+ | veremi_nextgen:veremi_message_manipulation | 3321 | 47.76% | 65.46% | 68.38% | 70.34% |
31
+ | veremi_nextgen:veremi_supported_attack_type_v16 | 3321 | 48.09% | 62.48% | 68.59% | 69.23% |
32
+
33
+ 通用评测完整运行 decision-v7 的 1,440 题和 transfer-v4 的 764 题(含扰动变体)。下表沿用原先口径,只汇总 clean 子集,分别为 1,200 题和 656 题。
34
+
35
+ | 模型 | decision-v7 | transfer-v4 |
36
+ |---|---:|---:|
37
+ | 官方 Kev-4B | 87.08% | 83.69% |
38
+ | SecJev epoch 1 | 86.67% | 83.84% |
39
+ | SecJev epoch 2 | 86.50% | 83.69% |
40
+ | SecJev epoch 3 | 86.58% | 83.84% |
41
+
42
+ 准确率均为 argmax 判定。各安全 checkpoint 的概率温度只用校准集拟合;详见 results.json 的 NLL、Brier、ECE 等指标。通用测试没有日期事实补充。
43
+
44
+ 从官方 jaredpalmer/kev-4b 的 LoRA 和决策头继续训练,底座为 Qwen3.5-4B-Base。安全训练沿用现有0.8B/2B配方,所有问题完整编码。使用既有研究测试集,不能称为新的盲测。
evaluation/audit.json ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "splits": {
3
+ "epoch-1/development": {
4
+ "questions": 14912,
5
+ "accuracy": 0.8959898068669528,
6
+ "macro_task_accuracy": 0.9262877786032517,
7
+ "macro_task_balanced_accuracy": 0.9021513315229265
8
+ },
9
+ "epoch-2/development": {
10
+ "questions": 14912,
11
+ "accuracy": 0.9046405579399142,
12
+ "macro_task_accuracy": 0.9354480356736271,
13
+ "macro_task_balanced_accuracy": 0.9112880126164279
14
+ },
15
+ "epoch-3/development": {
16
+ "questions": 14912,
17
+ "accuracy": 0.9075912017167382,
18
+ "macro_task_accuracy": 0.9379621229396502,
19
+ "macro_task_balanced_accuracy": 0.9185689774676984
20
+ },
21
+ "epoch-1/calibration": {
22
+ "questions": 14821,
23
+ "accuracy": 0.910802240064773,
24
+ "macro_task_accuracy": 0.9243611377541778,
25
+ "macro_task_balanced_accuracy": 0.8966212134669761
26
+ },
27
+ "epoch-2/calibration": {
28
+ "questions": 14821,
29
+ "accuracy": 0.9218676202685379,
30
+ "macro_task_accuracy": 0.9347961786371293,
31
+ "macro_task_balanced_accuracy": 0.9089808629491994
32
+ },
33
+ "epoch-3/calibration": {
34
+ "questions": 14821,
35
+ "accuracy": 0.9313811483705553,
36
+ "macro_task_accuracy": 0.9407031795465964,
37
+ "macro_task_balanced_accuracy": 0.9191604101516704
38
+ },
39
+ "epoch-1/test": {
40
+ "questions": 21634,
41
+ "accuracy": 0.8587870943884626,
42
+ "macro_task_accuracy": 0.9337570392580401,
43
+ "macro_task_balanced_accuracy": 0.9073790312675484
44
+ },
45
+ "epoch-2/test": {
46
+ "questions": 21634,
47
+ "accuracy": 0.8712212258482019,
48
+ "macro_task_accuracy": 0.9414975177781386,
49
+ "macro_task_balanced_accuracy": 0.9169354318963098
50
+ },
51
+ "epoch-3/test": {
52
+ "questions": 21634,
53
+ "accuracy": 0.8801423684940372,
54
+ "macro_task_accuracy": 0.9450619006663278,
55
+ "macro_task_balanced_accuracy": 0.9242156493985225
56
+ },
57
+ "kev-4b/test": {
58
+ "questions": 21634,
59
+ "accuracy": 0.5048996949246556,
60
+ "macro_task_accuracy": 0.6787694400132314,
61
+ "macro_task_balanced_accuracy": 0.6716227368384962
62
+ }
63
+ },
64
+ "general": {
65
+ "kev-4b/decision-v7": {
66
+ "all_questions": 1440,
67
+ "clean_questions": 1200,
68
+ "accuracy": 0.8708333333333333
69
+ },
70
+ "epoch-1/decision-v7": {
71
+ "all_questions": 1440,
72
+ "clean_questions": 1200,
73
+ "accuracy": 0.8666666666666667
74
+ },
75
+ "epoch-2/decision-v7": {
76
+ "all_questions": 1440,
77
+ "clean_questions": 1200,
78
+ "accuracy": 0.865
79
+ },
80
+ "epoch-3/decision-v7": {
81
+ "all_questions": 1440,
82
+ "clean_questions": 1200,
83
+ "accuracy": 0.8658333333333333
84
+ },
85
+ "kev-4b/transfer-v4": {
86
+ "all_questions": 764,
87
+ "clean_questions": 656,
88
+ "accuracy": 0.836890243902439
89
+ },
90
+ "epoch-1/transfer-v4": {
91
+ "all_questions": 764,
92
+ "clean_questions": 656,
93
+ "accuracy": 0.8384146341463414
94
+ },
95
+ "epoch-2/transfer-v4": {
96
+ "all_questions": 764,
97
+ "clean_questions": 656,
98
+ "accuracy": 0.836890243902439
99
+ },
100
+ "epoch-3/transfer-v4": {
101
+ "all_questions": 764,
102
+ "clean_questions": 656,
103
+ "accuracy": 0.8384146341463414
104
+ }
105
+ },
106
+ "checks": [
107
+ "unique question counts and identical labels",
108
+ "all shard exit0 and complete logs",
109
+ "merged rows equal raw shard outputs",
110
+ "recomputed accuracy and 14-task macro/balanced metrics",
111
+ "general clean counts and original request identities",
112
+ "development-only selection",
113
+ "all completion markers"
114
+ ],
115
+ "pass_all": true,
116
+ "selected_epoch": 3,
117
+ "test_used_for_selection": false
118
+ }
evaluation/checkpoint-selection.json ADDED
@@ -0,0 +1,598 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "selected_epoch": 3,
3
+ "candidates": [
4
+ {
5
+ "epoch": 1,
6
+ "metrics": {
7
+ "questions": 14912,
8
+ "accuracy": 0.8959898068669528,
9
+ "mean_class_recall": 0.8086847041598828,
10
+ "nll": 0.2676199905412643,
11
+ "brier": 0.14581168647550916,
12
+ "ece15": 0.024724176262894793,
13
+ "temperature": 1.0,
14
+ "coverage_at_confidence_0_9": 0.773806330472103,
15
+ "error_rate_at_confidence_0_9": 0.0240055464078343,
16
+ "ordinal_expected_level_mae": 0.00949861612167232,
17
+ "tasks": {
18
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
19
+ "questions": 222,
20
+ "accuracy": 0.9819819819819819,
21
+ "mean_class_recall": 0.9670930232558139,
22
+ "nll": 0.06952124509948641,
23
+ "brier": 0.033360936223710204,
24
+ "ece15": 0.01963763286720348,
25
+ "temperature": 1.0,
26
+ "coverage_at_confidence_0_9": 0.9774774774774775,
27
+ "error_rate_at_confidence_0_9": 0.013824884792626729,
28
+ "ordinal_expected_level_mae": null
29
+ },
30
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
31
+ "questions": 222,
32
+ "accuracy": 0.9864864864864865,
33
+ "mean_class_recall": 0.97,
34
+ "nll": 0.06796588080667874,
35
+ "brier": 0.02442578405456454,
36
+ "ece15": 0.013534851962772593,
37
+ "temperature": 1.0,
38
+ "coverage_at_confidence_0_9": 0.972972972972973,
39
+ "error_rate_at_confidence_0_9": 0.009259259259259259,
40
+ "ordinal_expected_level_mae": null
41
+ },
42
+ "byzfl_mnist:fl_attack_generated_update": {
43
+ "questions": 1400,
44
+ "accuracy": 0.9742857142857143,
45
+ "mean_class_recall": 0.9504464285714286,
46
+ "nll": 0.07440929350732509,
47
+ "brier": 0.03861493679124129,
48
+ "ece15": 0.01061565077999396,
49
+ "temperature": 1.0,
50
+ "coverage_at_confidence_0_9": 0.925,
51
+ "error_rate_at_confidence_0_9": 0.008494208494208495,
52
+ "ordinal_expected_level_mae": null
53
+ },
54
+ "ciciot2023:ciciot_attack": {
55
+ "questions": 5000,
56
+ "accuracy": 0.8334,
57
+ "mean_class_recall": 0.7313333333333334,
58
+ "nll": 0.4357438451410003,
59
+ "brier": 0.2420765591030422,
60
+ "ece15": 0.05574236954650583,
61
+ "temperature": 1.0,
62
+ "coverage_at_confidence_0_9": 0.644,
63
+ "error_rate_at_confidence_0_9": 0.06677018633540373,
64
+ "ordinal_expected_level_mae": null
65
+ },
66
+ "injecagent:injecagent_requested_operation_v13": {
67
+ "questions": 124,
68
+ "accuracy": 1.0,
69
+ "mean_class_recall": 1.0,
70
+ "nll": 0.004390672226438891,
71
+ "brier": 0.0015490359962901127,
72
+ "ece15": 0.003915493134373699,
73
+ "temperature": 1.0,
74
+ "coverage_at_confidence_0_9": 0.9919354838709677,
75
+ "error_rate_at_confidence_0_9": 0.0,
76
+ "ordinal_expected_level_mae": null
77
+ },
78
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
79
+ "questions": 328,
80
+ "accuracy": 1.0,
81
+ "mean_class_recall": 1.0,
82
+ "nll": 0.004780661486616687,
83
+ "brier": 0.0026501860965206722,
84
+ "ece15": 0.0038321931288341792,
85
+ "temperature": 1.0,
86
+ "coverage_at_confidence_0_9": 0.9908536585365854,
87
+ "error_rate_at_confidence_0_9": 0.0,
88
+ "ordinal_expected_level_mae": null
89
+ },
90
+ "lanl_auth_policy:lanl_observable_policy": {
91
+ "questions": 328,
92
+ "accuracy": 1.0,
93
+ "mean_class_recall": 1.0,
94
+ "nll": 2.8436047490948972e-05,
95
+ "brier": 2.213459113159646e-07,
96
+ "ece15": 2.8380504783511674e-05,
97
+ "temperature": 1.0,
98
+ "coverage_at_confidence_0_9": 1.0,
99
+ "error_rate_at_confidence_0_9": 0.0,
100
+ "ordinal_expected_level_mae": null
101
+ },
102
+ "ton_iot_network:ton_attack": {
103
+ "questions": 2500,
104
+ "accuracy": 0.9832,
105
+ "mean_class_recall": 0.9856,
106
+ "nll": 0.0716936772308886,
107
+ "brier": 0.032718644101254024,
108
+ "ece15": 0.01640596644430267,
109
+ "temperature": 1.0,
110
+ "coverage_at_confidence_0_9": 0.9948,
111
+ "error_rate_at_confidence_0_9": 0.01648572577402493,
112
+ "ordinal_expected_level_mae": null
113
+ },
114
+ "twins_streamlet:twins_evidence_level": {
115
+ "questions": 797,
116
+ "accuracy": 0.9937264742785445,
117
+ "mean_class_recall": 0.9934913409721132,
118
+ "nll": 0.0153080496936535,
119
+ "brier": 0.009627399097334195,
120
+ "ece15": 0.004599932218083785,
121
+ "temperature": 1.0,
122
+ "coverage_at_confidence_0_9": 0.9912170639899623,
123
+ "error_rate_at_confidence_0_9": 0.0037974683544303796,
124
+ "ordinal_expected_level_mae": 0.00949861612167232
125
+ },
126
+ "twins_streamlet:twins_policy_action": {
127
+ "questions": 797,
128
+ "accuracy": 0.9924717691342535,
129
+ "mean_class_recall": 0.9923419156847569,
130
+ "nll": 0.017883068917921716,
131
+ "brier": 0.011294880553062277,
132
+ "ece15": 0.0038184765498114437,
133
+ "temperature": 1.0,
134
+ "coverage_at_confidence_0_9": 0.9811794228356336,
135
+ "error_rate_at_confidence_0_9": 0.0012787723785166241,
136
+ "ordinal_expected_level_mae": null
137
+ },
138
+ "twins_streamlet:twins_quorum": {
139
+ "questions": 797,
140
+ "accuracy": 0.9962358845671268,
141
+ "mean_class_recall": 0.995834315034425,
142
+ "nll": 0.011957269820791244,
143
+ "brier": 0.007393224542639707,
144
+ "ece15": 0.00670405372457154,
145
+ "temperature": 1.0,
146
+ "coverage_at_confidence_0_9": 0.9836888331242158,
147
+ "error_rate_at_confidence_0_9": 0.0,
148
+ "ordinal_expected_level_mae": null
149
+ },
150
+ "twins_streamlet:twins_visible_conflict": {
151
+ "questions": 797,
152
+ "accuracy": 0.9974905897114178,
153
+ "mean_class_recall": 0.9969442527413541,
154
+ "nll": 0.010437285979484219,
155
+ "brier": 0.0038211519865233618,
156
+ "ece15": 0.0009184477173700703,
157
+ "temperature": 1.0,
158
+ "coverage_at_confidence_0_9": 0.9962358845671268,
159
+ "error_rate_at_confidence_0_9": 0.0012594458438287153,
160
+ "ordinal_expected_level_mae": null
161
+ },
162
+ "veremi_nextgen:veremi_message_manipulation": {
163
+ "questions": 800,
164
+ "accuracy": 0.63,
165
+ "mean_class_recall": 0.6354549163606691,
166
+ "nll": 0.5876157448193948,
167
+ "brier": 0.4142276501377162,
168
+ "ece15": 0.031917999077751745,
169
+ "temperature": 1.0,
170
+ "coverage_at_confidence_0_9": 0.10375,
171
+ "error_rate_at_confidence_0_9": 0.0,
172
+ "ordinal_expected_level_mae": null
173
+ },
174
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
175
+ "questions": 800,
176
+ "accuracy": 0.59875,
177
+ "mean_class_recall": 0.4115791153670771,
178
+ "nll": 1.2269806519983115,
179
+ "brier": 0.571523062943736,
180
+ "ece15": 0.08060690424281568,
181
+ "temperature": 1.0,
182
+ "coverage_at_confidence_0_9": 0.11875,
183
+ "error_rate_at_confidence_0_9": 0.0,
184
+ "ordinal_expected_level_mae": null
185
+ }
186
+ },
187
+ "macro_task_accuracy": 0.9262877786032521,
188
+ "macro_task_balanced_accuracy": 0.9021513315229265,
189
+ "macro_task_nll": 0.18562255591253446
190
+ },
191
+ "checkpoint_files": {
192
+ "chat_template.jinja": "a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715",
193
+ "tokenizer.json": "06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523",
194
+ "adapter_model.safetensors": "793c6d72e5c0254c28884384a8bc3ca633fd4de9511834f710b5ee2dc95a942f",
195
+ "tokenizer_config.json": "353c083805d863719e54973335a38e252a92e1ac64d32b83bb0b333cc1644ef2",
196
+ "head.pt": "75a1b2c4362ce9eaccad18d0531fea66ab895aa924b73492af78fe7abf997986",
197
+ "README.md": "fdbf6f672a47dca9ef2ad668b395cccbdf4a09c88d16bf8a90ecf4f7445f31ce",
198
+ "adapter_config.json": "94aad580ce54a1dfcec0803beaba2c471e17b790f10efe7a481125c81fe1dd02"
199
+ }
200
+ },
201
+ {
202
+ "epoch": 2,
203
+ "metrics": {
204
+ "questions": 14912,
205
+ "accuracy": 0.9046405579399142,
206
+ "mean_class_recall": 0.8351706914084861,
207
+ "nll": 0.2609479185046837,
208
+ "brier": 0.13871271598030968,
209
+ "ece15": 0.02912533581539033,
210
+ "temperature": 1.0,
211
+ "coverage_at_confidence_0_9": 0.811762339055794,
212
+ "error_rate_at_confidence_0_9": 0.030318050392399834,
213
+ "ordinal_expected_level_mae": 0.007142014228908907,
214
+ "tasks": {
215
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
216
+ "questions": 222,
217
+ "accuracy": 0.9774774774774775,
218
+ "mean_class_recall": 0.9570930232558139,
219
+ "nll": 0.0857490162426134,
220
+ "brier": 0.03780111867446018,
221
+ "ece15": 0.020326742033581136,
222
+ "temperature": 1.0,
223
+ "coverage_at_confidence_0_9": 0.9864864864864865,
224
+ "error_rate_at_confidence_0_9": 0.0136986301369863,
225
+ "ordinal_expected_level_mae": null
226
+ },
227
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
228
+ "questions": 222,
229
+ "accuracy": 0.9819819819819819,
230
+ "mean_class_recall": 0.96,
231
+ "nll": 0.08583505640070498,
232
+ "brier": 0.03170617674969949,
233
+ "ece15": 0.018778574788420183,
234
+ "temperature": 1.0,
235
+ "coverage_at_confidence_0_9": 0.9819819819819819,
236
+ "error_rate_at_confidence_0_9": 0.009174311926605505,
237
+ "ordinal_expected_level_mae": null
238
+ },
239
+ "byzfl_mnist:fl_attack_generated_update": {
240
+ "questions": 1400,
241
+ "accuracy": 0.9828571428571429,
242
+ "mean_class_recall": 0.9678571428571429,
243
+ "nll": 0.05038447430212686,
244
+ "brier": 0.026644462415551518,
245
+ "ece15": 0.006643072262975827,
246
+ "temperature": 1.0,
247
+ "coverage_at_confidence_0_9": 0.9757142857142858,
248
+ "error_rate_at_confidence_0_9": 0.008784773060029283,
249
+ "ordinal_expected_level_mae": null
250
+ },
251
+ "ciciot2023:ciciot_attack": {
252
+ "questions": 5000,
253
+ "accuracy": 0.839,
254
+ "mean_class_recall": 0.7132000000000001,
255
+ "nll": 0.4567278707638309,
256
+ "brier": 0.24289094068797595,
257
+ "ece15": 0.07089882316707959,
258
+ "temperature": 1.0,
259
+ "coverage_at_confidence_0_9": 0.7078,
260
+ "error_rate_at_confidence_0_9": 0.08194405199208817,
261
+ "ordinal_expected_level_mae": null
262
+ },
263
+ "injecagent:injecagent_requested_operation_v13": {
264
+ "questions": 124,
265
+ "accuracy": 1.0,
266
+ "mean_class_recall": 1.0,
267
+ "nll": 0.0030323687345377927,
268
+ "brier": 0.0010147751519150774,
269
+ "ece15": 0.0027304101493378944,
270
+ "temperature": 1.0,
271
+ "coverage_at_confidence_0_9": 0.9919354838709677,
272
+ "error_rate_at_confidence_0_9": 0.0,
273
+ "ordinal_expected_level_mae": null
274
+ },
275
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
276
+ "questions": 328,
277
+ "accuracy": 1.0,
278
+ "mean_class_recall": 1.0,
279
+ "nll": 0.0013590718776517526,
280
+ "brier": 0.0005853758373684321,
281
+ "ece15": 0.001174090997847941,
282
+ "temperature": 1.0,
283
+ "coverage_at_confidence_0_9": 0.9969512195121951,
284
+ "error_rate_at_confidence_0_9": 0.0,
285
+ "ordinal_expected_level_mae": null
286
+ },
287
+ "lanl_auth_policy:lanl_observable_policy": {
288
+ "questions": 328,
289
+ "accuracy": 1.0,
290
+ "mean_class_recall": 1.0,
291
+ "nll": 2.706087239227311e-05,
292
+ "brier": 4.4631636950527135e-07,
293
+ "ece15": 2.6948652833984242e-05,
294
+ "temperature": 1.0,
295
+ "coverage_at_confidence_0_9": 1.0,
296
+ "error_rate_at_confidence_0_9": 0.0,
297
+ "ordinal_expected_level_mae": null
298
+ },
299
+ "ton_iot_network:ton_attack": {
300
+ "questions": 2500,
301
+ "accuracy": 0.9788,
302
+ "mean_class_recall": 0.98,
303
+ "nll": 0.08755100200107269,
304
+ "brier": 0.038158588944742826,
305
+ "ece15": 0.017829224144769444,
306
+ "temperature": 1.0,
307
+ "coverage_at_confidence_0_9": 0.9896,
308
+ "error_rate_at_confidence_0_9": 0.016976556184316895,
309
+ "ordinal_expected_level_mae": null
310
+ },
311
+ "twins_streamlet:twins_evidence_level": {
312
+ "questions": 797,
313
+ "accuracy": 0.9949811794228356,
314
+ "mean_class_recall": 0.9949406163344321,
315
+ "nll": 0.020100883811983803,
316
+ "brier": 0.009532705405460478,
317
+ "ece15": 0.004664870689987746,
318
+ "temperature": 1.0,
319
+ "coverage_at_confidence_0_9": 0.9962358845671268,
320
+ "error_rate_at_confidence_0_9": 0.003778337531486146,
321
+ "ordinal_expected_level_mae": 0.007142014228908907
322
+ },
323
+ "twins_streamlet:twins_policy_action": {
324
+ "questions": 797,
325
+ "accuracy": 0.9887076537013801,
326
+ "mean_class_recall": 0.9889237691623501,
327
+ "nll": 0.029531627570397425,
328
+ "brier": 0.01682083664455817,
329
+ "ece15": 0.008194444119065863,
330
+ "temperature": 1.0,
331
+ "coverage_at_confidence_0_9": 0.9887076537013801,
332
+ "error_rate_at_confidence_0_9": 0.0038071065989847717,
333
+ "ordinal_expected_level_mae": null
334
+ },
335
+ "twins_streamlet:twins_quorum": {
336
+ "questions": 797,
337
+ "accuracy": 0.9937264742785445,
338
+ "mean_class_recall": 0.9922118380062306,
339
+ "nll": 0.019942020828876864,
340
+ "brier": 0.011733672902765547,
341
+ "ece15": 0.006519660642330038,
342
+ "temperature": 1.0,
343
+ "coverage_at_confidence_0_9": 0.9912170639899623,
344
+ "error_rate_at_confidence_0_9": 0.0037974683544303796,
345
+ "ordinal_expected_level_mae": null
346
+ },
347
+ "twins_streamlet:twins_visible_conflict": {
348
+ "questions": 797,
349
+ "accuracy": 0.9974905897114178,
350
+ "mean_class_recall": 0.998236331569665,
351
+ "nll": 0.016769983022509982,
352
+ "brier": 0.0049992664597086935,
353
+ "ece15": 0.0021278163552494573,
354
+ "temperature": 1.0,
355
+ "coverage_at_confidence_0_9": 1.0,
356
+ "error_rate_at_confidence_0_9": 0.002509410288582183,
357
+ "ordinal_expected_level_mae": null
358
+ },
359
+ "veremi_nextgen:veremi_message_manipulation": {
360
+ "questions": 800,
361
+ "accuracy": 0.6875,
362
+ "mean_class_recall": 0.6966034271725826,
363
+ "nll": 0.5142628800857739,
364
+ "brier": 0.36155138388149327,
365
+ "ece15": 0.02205690591199928,
366
+ "temperature": 1.0,
367
+ "coverage_at_confidence_0_9": 0.22125,
368
+ "error_rate_at_confidence_0_9": 0.011299435028248588,
369
+ "ordinal_expected_level_mae": null
370
+ },
371
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
372
+ "questions": 800,
373
+ "accuracy": 0.67375,
374
+ "mean_class_recall": 0.5089660282717738,
375
+ "nll": 0.998813782244008,
376
+ "brier": 0.4775012041931279,
377
+ "ece15": 0.03873448735113525,
378
+ "temperature": 1.0,
379
+ "coverage_at_confidence_0_9": 0.20625,
380
+ "error_rate_at_confidence_0_9": 0.030303030303030304,
381
+ "ordinal_expected_level_mae": null
382
+ }
383
+ },
384
+ "macro_task_accuracy": 0.9354480356736271,
385
+ "macro_task_balanced_accuracy": 0.9112880126164279,
386
+ "macro_task_nll": 0.16929193562560574
387
+ },
388
+ "checkpoint_files": {
389
+ "chat_template.jinja": "a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715",
390
+ "tokenizer.json": "06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523",
391
+ "adapter_model.safetensors": "f01d67ab57ea35f6f96dcf615f54147213977022560741db20fb7eab6eb462bd",
392
+ "tokenizer_config.json": "353c083805d863719e54973335a38e252a92e1ac64d32b83bb0b333cc1644ef2",
393
+ "head.pt": "460a08af9f39d347ecd48b74049d8a6e6140f1293160a4a5807a201b92ecc3c1",
394
+ "README.md": "fdbf6f672a47dca9ef2ad668b395cccbdf4a09c88d16bf8a90ecf4f7445f31ce",
395
+ "adapter_config.json": "94aad580ce54a1dfcec0803beaba2c471e17b790f10efe7a481125c81fe1dd02"
396
+ }
397
+ },
398
+ {
399
+ "epoch": 3,
400
+ "metrics": {
401
+ "questions": 14912,
402
+ "accuracy": 0.9075912017167382,
403
+ "mean_class_recall": 0.8447857522159936,
404
+ "nll": 0.24807737680415345,
405
+ "brier": 0.12998082994334342,
406
+ "ece15": 0.027028147820359012,
407
+ "temperature": 1.0,
408
+ "coverage_at_confidence_0_9": 0.8103540772532188,
409
+ "error_rate_at_confidence_0_9": 0.023502151605428664,
410
+ "ordinal_expected_level_mae": 0.00481932257817722,
411
+ "tasks": {
412
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
413
+ "questions": 222,
414
+ "accuracy": 0.9774774774774775,
415
+ "mean_class_recall": 0.9570930232558139,
416
+ "nll": 0.10407641066616782,
417
+ "brier": 0.039347876403718875,
418
+ "ece15": 0.021432863016197557,
419
+ "temperature": 1.0,
420
+ "coverage_at_confidence_0_9": 0.9864864864864865,
421
+ "error_rate_at_confidence_0_9": 0.0136986301369863,
422
+ "ordinal_expected_level_mae": null
423
+ },
424
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
425
+ "questions": 222,
426
+ "accuracy": 0.9819819819819819,
427
+ "mean_class_recall": 0.96,
428
+ "nll": 0.10023555924012383,
429
+ "brier": 0.031563944714978254,
430
+ "ece15": 0.015911253108198964,
431
+ "temperature": 1.0,
432
+ "coverage_at_confidence_0_9": 0.9864864864864865,
433
+ "error_rate_at_confidence_0_9": 0.0136986301369863,
434
+ "ordinal_expected_level_mae": null
435
+ },
436
+ "byzfl_mnist:fl_attack_generated_update": {
437
+ "questions": 1400,
438
+ "accuracy": 0.9885714285714285,
439
+ "mean_class_recall": 0.9821428571428572,
440
+ "nll": 0.0442702602822601,
441
+ "brier": 0.02139513973607548,
442
+ "ece15": 0.007710400104216533,
443
+ "temperature": 1.0,
444
+ "coverage_at_confidence_0_9": 0.9842857142857143,
445
+ "error_rate_at_confidence_0_9": 0.008708272859216255,
446
+ "ordinal_expected_level_mae": null
447
+ },
448
+ "ciciot2023:ciciot_attack": {
449
+ "questions": 5000,
450
+ "accuracy": 0.8418,
451
+ "mean_class_recall": 0.7537333333333334,
452
+ "nll": 0.4173917752941542,
453
+ "brier": 0.22451704505631584,
454
+ "ece15": 0.06284084146027137,
455
+ "temperature": 1.0,
456
+ "coverage_at_confidence_0_9": 0.6928,
457
+ "error_rate_at_confidence_0_9": 0.06293302540415704,
458
+ "ordinal_expected_level_mae": null
459
+ },
460
+ "injecagent:injecagent_requested_operation_v13": {
461
+ "questions": 124,
462
+ "accuracy": 1.0,
463
+ "mean_class_recall": 1.0,
464
+ "nll": 0.0014205610073774013,
465
+ "brier": 0.0002211290260091384,
466
+ "ece15": 0.0013613576932818498,
467
+ "temperature": 1.0,
468
+ "coverage_at_confidence_0_9": 0.9919354838709677,
469
+ "error_rate_at_confidence_0_9": 0.0,
470
+ "ordinal_expected_level_mae": null
471
+ },
472
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
473
+ "questions": 328,
474
+ "accuracy": 1.0,
475
+ "mean_class_recall": 1.0,
476
+ "nll": 0.000610657881540054,
477
+ "brier": 8.099314527924365e-05,
478
+ "ece15": 0.0005891478461821947,
479
+ "temperature": 1.0,
480
+ "coverage_at_confidence_0_9": 1.0,
481
+ "error_rate_at_confidence_0_9": 0.0,
482
+ "ordinal_expected_level_mae": null
483
+ },
484
+ "lanl_auth_policy:lanl_observable_policy": {
485
+ "questions": 328,
486
+ "accuracy": 1.0,
487
+ "mean_class_recall": 1.0,
488
+ "nll": 1.5480302068279906e-07,
489
+ "brier": 4.4217021643060835e-12,
490
+ "ece15": 1.548019148098009e-07,
491
+ "temperature": 1.0,
492
+ "coverage_at_confidence_0_9": 1.0,
493
+ "error_rate_at_confidence_0_9": 0.0,
494
+ "ordinal_expected_level_mae": null
495
+ },
496
+ "ton_iot_network:ton_attack": {
497
+ "questions": 2500,
498
+ "accuracy": 0.9792,
499
+ "mean_class_recall": 0.9818666666666667,
500
+ "nll": 0.11218220058914397,
501
+ "brier": 0.03724045269615108,
502
+ "ece15": 0.01842697861877182,
503
+ "temperature": 1.0,
504
+ "coverage_at_confidence_0_9": 0.9928,
505
+ "error_rate_at_confidence_0_9": 0.015310233682514102,
506
+ "ordinal_expected_level_mae": null
507
+ },
508
+ "twins_streamlet:twins_evidence_level": {
509
+ "questions": 797,
510
+ "accuracy": 0.9962358845671268,
511
+ "mean_class_recall": 0.9963898916967509,
512
+ "nll": 0.012217254972570101,
513
+ "brier": 0.006818829719414822,
514
+ "ece15": 0.004133398699556409,
515
+ "temperature": 1.0,
516
+ "coverage_at_confidence_0_9": 0.9949811794228356,
517
+ "error_rate_at_confidence_0_9": 0.0012610340479192938,
518
+ "ordinal_expected_level_mae": 0.00481932257817722
519
+ },
520
+ "twins_streamlet:twins_policy_action": {
521
+ "questions": 797,
522
+ "accuracy": 0.9949811794228356,
523
+ "mean_class_recall": 0.9951865222623345,
524
+ "nll": 0.013078119892699127,
525
+ "brier": 0.007721112955228842,
526
+ "ece15": 0.003423998250058524,
527
+ "temperature": 1.0,
528
+ "coverage_at_confidence_0_9": 0.9899623588456713,
529
+ "error_rate_at_confidence_0_9": 0.0012674271229404308,
530
+ "ordinal_expected_level_mae": null
531
+ },
532
+ "twins_streamlet:twins_quorum": {
533
+ "questions": 797,
534
+ "accuracy": 0.9949811794228356,
535
+ "mean_class_recall": 0.994276682635671,
536
+ "nll": 0.01027058602627885,
537
+ "brier": 0.007209131739335666,
538
+ "ece15": 0.004201163796495765,
539
+ "temperature": 1.0,
540
+ "coverage_at_confidence_0_9": 0.9912170639899623,
541
+ "error_rate_at_confidence_0_9": 0.0,
542
+ "ordinal_expected_level_mae": null
543
+ },
544
+ "twins_streamlet:twins_visible_conflict": {
545
+ "questions": 797,
546
+ "accuracy": 0.9974905897114178,
547
+ "mean_class_recall": 0.998236331569665,
548
+ "nll": 0.017287182530912663,
549
+ "brier": 0.004953169208636321,
550
+ "ece15": 0.0025266183132433223,
551
+ "temperature": 1.0,
552
+ "coverage_at_confidence_0_9": 0.998745294855709,
553
+ "error_rate_at_confidence_0_9": 0.002512562814070352,
554
+ "ordinal_expected_level_mae": null
555
+ },
556
+ "veremi_nextgen:veremi_message_manipulation": {
557
+ "questions": 800,
558
+ "accuracy": 0.69,
559
+ "mean_class_recall": 0.7116483068135455,
560
+ "nll": 0.5092641106435474,
561
+ "brier": 0.3569714849542106,
562
+ "ece15": 0.03650030376694629,
563
+ "temperature": 1.0,
564
+ "coverage_at_confidence_0_9": 0.2425,
565
+ "error_rate_at_confidence_0_9": 0.010309278350515464,
566
+ "ordinal_expected_level_mae": null
567
+ },
568
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
569
+ "questions": 800,
570
+ "accuracy": 0.68875,
571
+ "mean_class_recall": 0.529392069171139,
572
+ "nll": 0.96833512912194,
573
+ "brier": 0.46247412161427887,
574
+ "ece15": 0.02731423542286039,
575
+ "temperature": 1.0,
576
+ "coverage_at_confidence_0_9": 0.22625,
577
+ "error_rate_at_confidence_0_9": 0.022099447513812154,
578
+ "ordinal_expected_level_mae": null
579
+ }
580
+ },
581
+ "macro_task_accuracy": 0.9379621229396502,
582
+ "macro_task_balanced_accuracy": 0.9185689774676985,
583
+ "macro_task_nll": 0.16504571163940973
584
+ },
585
+ "checkpoint_files": {
586
+ "chat_template.jinja": "a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715",
587
+ "tokenizer.json": "06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523",
588
+ "adapter_model.safetensors": "0087e92e59b987fea721124d1a3f61b1aca26b3ac01b974032abb60799e7b175",
589
+ "tokenizer_config.json": "353c083805d863719e54973335a38e252a92e1ac64d32b83bb0b333cc1644ef2",
590
+ "head.pt": "f3c477c0419bd8dbf64d530d7f2576e084f65cdee3b351e34a7804e67b3979cf",
591
+ "README.md": "fdbf6f672a47dca9ef2ad668b395cccbdf4a09c88d16bf8a90ecf4f7445f31ce",
592
+ "adapter_config.json": "94aad580ce54a1dfcec0803beaba2c471e17b790f10efe7a481125c81fe1dd02"
593
+ }
594
+ }
595
+ ],
596
+ "rule": "maximum development macro-task semantic-class balanced accuracy; tie macro-task raw NLL, then earlier epoch",
597
+ "test_used_for_selection": false
598
+ }
evaluation/epoch-3-test.json ADDED
@@ -0,0 +1,375 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3,
3
+ "temperature": 1.334968103387446,
4
+ "test": {
5
+ "raw": {
6
+ "questions": 21634,
7
+ "accuracy": 0.8801423684940372,
8
+ "mean_class_recall": 0.8422636415920437,
9
+ "nll": 0.35756736839135106,
10
+ "brier": 0.17329397786588344,
11
+ "ece15": 0.018370944185424988,
12
+ "temperature": 1.0,
13
+ "coverage_at_confidence_0_9": 0.681750947582509,
14
+ "error_rate_at_confidence_0_9": 0.017289307749677945,
15
+ "ordinal_expected_level_mae": 0.004830545729071066,
16
+ "tasks": {
17
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
18
+ "questions": 426,
19
+ "accuracy": 0.9953051643192489,
20
+ "mean_class_recall": 0.9895833333333333,
21
+ "nll": 0.019578322598972707,
22
+ "brier": 0.008470972915844083,
23
+ "ece15": 0.0032192125141472924,
24
+ "temperature": 1.0,
25
+ "coverage_at_confidence_0_9": 0.9882629107981221,
26
+ "error_rate_at_confidence_0_9": 0.0023752969121140144,
27
+ "ordinal_expected_level_mae": null
28
+ },
29
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
30
+ "questions": 426,
31
+ "accuracy": 0.9835680751173709,
32
+ "mean_class_recall": 0.9635416666666667,
33
+ "nll": 0.03323309985013501,
34
+ "brier": 0.020700086530374747,
35
+ "ece15": 0.012858446963474107,
36
+ "temperature": 1.0,
37
+ "coverage_at_confidence_0_9": 0.9835680751173709,
38
+ "error_rate_at_confidence_0_9": 0.007159904534606206,
39
+ "ordinal_expected_level_mae": null
40
+ },
41
+ "byzfl_mnist:fl_attack_generated_update": {
42
+ "questions": 800,
43
+ "accuracy": 0.95875,
44
+ "mean_class_recall": 0.9296875,
45
+ "nll": 0.14798192410675134,
46
+ "brier": 0.07208296294789789,
47
+ "ece15": 0.031237402444916955,
48
+ "temperature": 1.0,
49
+ "coverage_at_confidence_0_9": 0.9575,
50
+ "error_rate_at_confidence_0_9": 0.02741514360313316,
51
+ "ordinal_expected_level_mae": null
52
+ },
53
+ "ciciot2023:ciciot_attack": {
54
+ "questions": 6000,
55
+ "accuracy": 0.9171666666666667,
56
+ "mean_class_recall": 0.8741111111111111,
57
+ "nll": 0.2872065840367128,
58
+ "brier": 0.1291518236859529,
59
+ "ece15": 0.02997403903668212,
60
+ "temperature": 1.0,
61
+ "coverage_at_confidence_0_9": 0.7491666666666666,
62
+ "error_rate_at_confidence_0_9": 0.03181312569521691,
63
+ "ordinal_expected_level_mae": null
64
+ },
65
+ "injecagent:injecagent_requested_operation_v13": {
66
+ "questions": 124,
67
+ "accuracy": 1.0,
68
+ "mean_class_recall": 1.0,
69
+ "nll": 6.416181236130915e-05,
70
+ "brier": 3.664856836177276e-07,
71
+ "ece15": 6.406994017019252e-05,
72
+ "temperature": 1.0,
73
+ "coverage_at_confidence_0_9": 1.0,
74
+ "error_rate_at_confidence_0_9": 0.0,
75
+ "ordinal_expected_level_mae": null
76
+ },
77
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
78
+ "questions": 540,
79
+ "accuracy": 1.0,
80
+ "mean_class_recall": 1.0,
81
+ "nll": 0.0003909349271697467,
82
+ "brier": 5.411140895974333e-05,
83
+ "ece15": 0.000376397356322764,
84
+ "temperature": 1.0,
85
+ "coverage_at_confidence_0_9": 0.9981481481481481,
86
+ "error_rate_at_confidence_0_9": 0.0,
87
+ "ordinal_expected_level_mae": null
88
+ },
89
+ "lanl_auth_policy:lanl_observable_policy": {
90
+ "questions": 540,
91
+ "accuracy": 1.0,
92
+ "mean_class_recall": 1.0,
93
+ "nll": 1.9301873747749096e-07,
94
+ "brier": 4.461551704214049e-12,
95
+ "ece15": 1.9301762319156735e-07,
96
+ "temperature": 1.0,
97
+ "coverage_at_confidence_0_9": 1.0,
98
+ "error_rate_at_confidence_0_9": 0.0,
99
+ "ordinal_expected_level_mae": null
100
+ },
101
+ "ton_iot_network:ton_attack": {
102
+ "questions": 3500,
103
+ "accuracy": 0.988,
104
+ "mean_class_recall": 0.9820952380952381,
105
+ "nll": 0.052315917826989855,
106
+ "brier": 0.021002166306533596,
107
+ "ece15": 0.005742982405630235,
108
+ "temperature": 1.0,
109
+ "coverage_at_confidence_0_9": 0.9757142857142858,
110
+ "error_rate_at_confidence_0_9": 0.007320644216691069,
111
+ "ordinal_expected_level_mae": null
112
+ },
113
+ "twins_streamlet:twins_evidence_level": {
114
+ "questions": 659,
115
+ "accuracy": 0.9954476479514416,
116
+ "mean_class_recall": 0.9949748743718594,
117
+ "nll": 0.006489090778116727,
118
+ "brier": 0.004985928434486637,
119
+ "ece15": 0.0035010905751582675,
120
+ "temperature": 1.0,
121
+ "coverage_at_confidence_0_9": 0.9954476479514416,
122
+ "error_rate_at_confidence_0_9": 0.0,
123
+ "ordinal_expected_level_mae": 0.004830545729071066
124
+ },
125
+ "twins_streamlet:twins_policy_action": {
126
+ "questions": 659,
127
+ "accuracy": 0.9984825493171472,
128
+ "mean_class_recall": 0.9983249581239532,
129
+ "nll": 0.007759166929265847,
130
+ "brier": 0.0031279766576844436,
131
+ "ece15": 0.0017302646891685911,
132
+ "temperature": 1.0,
133
+ "coverage_at_confidence_0_9": 0.9969650986342944,
134
+ "error_rate_at_confidence_0_9": 0.0015220700152207,
135
+ "ordinal_expected_level_mae": null
136
+ },
137
+ "twins_streamlet:twins_quorum": {
138
+ "questions": 659,
139
+ "accuracy": 1.0,
140
+ "mean_class_recall": 1.0,
141
+ "nll": 0.0012916521858483854,
142
+ "brier": 0.0006719742504699832,
143
+ "ece15": 0.0010543087689309648,
144
+ "temperature": 1.0,
145
+ "coverage_at_confidence_0_9": 0.9969650986342944,
146
+ "error_rate_at_confidence_0_9": 0.0,
147
+ "ordinal_expected_level_mae": null
148
+ },
149
+ "twins_streamlet:twins_visible_conflict": {
150
+ "questions": 659,
151
+ "accuracy": 0.9984825493171472,
152
+ "mean_class_recall": 0.9989130434782609,
153
+ "nll": 0.0030258654215359524,
154
+ "brier": 0.0020473738981638956,
155
+ "ece15": 0.0002839890142556098,
156
+ "temperature": 1.0,
157
+ "coverage_at_confidence_0_9": 0.9954476479514416,
158
+ "error_rate_at_confidence_0_9": 0.0,
159
+ "ordinal_expected_level_mae": null
160
+ },
161
+ "veremi_nextgen:veremi_message_manipulation": {
162
+ "questions": 3321,
163
+ "accuracy": 0.7034025895814514,
164
+ "mean_class_recall": 0.7106693655944849,
165
+ "nll": 0.5271449745997652,
166
+ "brier": 0.3679898300956757,
167
+ "ece15": 0.03254066478455375,
168
+ "temperature": 1.0,
169
+ "coverage_at_confidence_0_9": 0.21499548328816623,
170
+ "error_rate_at_confidence_0_9": 0.011204481792717087,
171
+ "ordinal_expected_level_mae": null
172
+ },
173
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
174
+ "questions": 3321,
175
+ "accuracy": 0.692261367058115,
176
+ "mean_class_recall": 0.49711800080440777,
177
+ "nll": 1.181957709780574,
178
+ "brier": 0.48216427161657194,
179
+ "ece15": 0.04703079874679226,
180
+ "temperature": 1.0,
181
+ "coverage_at_confidence_0_9": 0.20776874435411022,
182
+ "error_rate_at_confidence_0_9": 0.07681159420289856,
183
+ "ordinal_expected_level_mae": null
184
+ }
185
+ },
186
+ "macro_task_accuracy": 0.9450619006663279,
187
+ "macro_task_balanced_accuracy": 0.9242156493985226
188
+ },
189
+ "recalibrated": {
190
+ "questions": 21634,
191
+ "accuracy": 0.8801423684940372,
192
+ "mean_class_recall": 0.8422636415920437,
193
+ "nll": 0.3441350952603644,
194
+ "brier": 0.1767857045083663,
195
+ "ece15": 0.035627089616313175,
196
+ "temperature": 1.334968103387446,
197
+ "coverage_at_confidence_0_9": 0.6567440140519553,
198
+ "error_rate_at_confidence_0_9": 0.014358108108108109,
199
+ "ordinal_expected_level_mae": 0.004973955616734103,
200
+ "tasks": {
201
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
202
+ "questions": 426,
203
+ "accuracy": 0.9953051643192489,
204
+ "mean_class_recall": 0.9895833333333333,
205
+ "nll": 0.02085470758455793,
206
+ "brier": 0.009033562612123906,
207
+ "ece15": 0.005062121140742335,
208
+ "temperature": 1.334968103387446,
209
+ "coverage_at_confidence_0_9": 0.9741784037558685,
210
+ "error_rate_at_confidence_0_9": 0.0024096385542168677,
211
+ "ordinal_expected_level_mae": null
212
+ },
213
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
214
+ "questions": 426,
215
+ "accuracy": 0.9835680751173709,
216
+ "mean_class_recall": 0.9635416666666667,
217
+ "nll": 0.029576905474440387,
218
+ "brier": 0.019371229609764937,
219
+ "ece15": 0.0128149515297424,
220
+ "temperature": 1.334968103387446,
221
+ "coverage_at_confidence_0_9": 0.9741784037558685,
222
+ "error_rate_at_confidence_0_9": 0.004819277108433735,
223
+ "ordinal_expected_level_mae": null
224
+ },
225
+ "byzfl_mnist:fl_attack_generated_update": {
226
+ "questions": 800,
227
+ "accuracy": 0.95875,
228
+ "mean_class_recall": 0.9296875,
229
+ "nll": 0.1252495255860491,
230
+ "brier": 0.06891977027707019,
231
+ "ece15": 0.02206119521855819,
232
+ "temperature": 1.334968103387446,
233
+ "coverage_at_confidence_0_9": 0.93375,
234
+ "error_rate_at_confidence_0_9": 0.0214190093708166,
235
+ "ordinal_expected_level_mae": null
236
+ },
237
+ "ciciot2023:ciciot_attack": {
238
+ "questions": 6000,
239
+ "accuracy": 0.9171666666666667,
240
+ "mean_class_recall": 0.8741111111111111,
241
+ "nll": 0.258923302286342,
242
+ "brier": 0.1323925339560934,
243
+ "ece15": 0.040786104751424794,
244
+ "temperature": 1.334968103387446,
245
+ "coverage_at_confidence_0_9": 0.6995,
246
+ "error_rate_at_confidence_0_9": 0.027162258756254467,
247
+ "ordinal_expected_level_mae": null
248
+ },
249
+ "injecagent:injecagent_requested_operation_v13": {
250
+ "questions": 124,
251
+ "accuracy": 1.0,
252
+ "mean_class_recall": 1.0,
253
+ "nll": 0.00036120828507376734,
254
+ "brier": 6.118819643947097e-06,
255
+ "ece15": 0.0003596634947089362,
256
+ "temperature": 1.334968103387446,
257
+ "coverage_at_confidence_0_9": 1.0,
258
+ "error_rate_at_confidence_0_9": 0.0,
259
+ "ordinal_expected_level_mae": null
260
+ },
261
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
262
+ "questions": 540,
263
+ "accuracy": 1.0,
264
+ "mean_class_recall": 1.0,
265
+ "nll": 0.0010259839180316675,
266
+ "brier": 0.00015355821904600842,
267
+ "ece15": 0.0009831313211751498,
268
+ "temperature": 1.334968103387446,
269
+ "coverage_at_confidence_0_9": 0.9981481481481481,
270
+ "error_rate_at_confidence_0_9": 0.0,
271
+ "ordinal_expected_level_mae": null
272
+ },
273
+ "lanl_auth_policy:lanl_observable_policy": {
274
+ "questions": 540,
275
+ "accuracy": 1.0,
276
+ "mean_class_recall": 1.0,
277
+ "nll": 5.4752266593721125e-06,
278
+ "brier": 1.1349090161477055e-09,
279
+ "ece15": 5.474942881804694e-06,
280
+ "temperature": 1.334968103387446,
281
+ "coverage_at_confidence_0_9": 1.0,
282
+ "error_rate_at_confidence_0_9": 0.0,
283
+ "ordinal_expected_level_mae": null
284
+ },
285
+ "ton_iot_network:ton_attack": {
286
+ "questions": 3500,
287
+ "accuracy": 0.988,
288
+ "mean_class_recall": 0.9820952380952381,
289
+ "nll": 0.0471904212042291,
290
+ "brier": 0.02136284177729358,
291
+ "ece15": 0.004930332206950378,
292
+ "temperature": 1.334968103387446,
293
+ "coverage_at_confidence_0_9": 0.9597142857142857,
294
+ "error_rate_at_confidence_0_9": 0.006251860672819291,
295
+ "ordinal_expected_level_mae": null
296
+ },
297
+ "twins_streamlet:twins_evidence_level": {
298
+ "questions": 659,
299
+ "accuracy": 0.9954476479514416,
300
+ "mean_class_recall": 0.9949748743718594,
301
+ "nll": 0.005989405513587896,
302
+ "brier": 0.004363630530423605,
303
+ "ece15": 0.003686325313576514,
304
+ "temperature": 1.334968103387446,
305
+ "coverage_at_confidence_0_9": 0.9954476479514416,
306
+ "error_rate_at_confidence_0_9": 0.0,
307
+ "ordinal_expected_level_mae": 0.004973955616734103
308
+ },
309
+ "twins_streamlet:twins_policy_action": {
310
+ "questions": 659,
311
+ "accuracy": 0.9984825493171472,
312
+ "mean_class_recall": 0.9983249581239532,
313
+ "nll": 0.0069631222649601515,
314
+ "brier": 0.003204452557959292,
315
+ "ece15": 0.001531985329986691,
316
+ "temperature": 1.334968103387446,
317
+ "coverage_at_confidence_0_9": 0.9969650986342944,
318
+ "error_rate_at_confidence_0_9": 0.0015220700152207,
319
+ "ordinal_expected_level_mae": null
320
+ },
321
+ "twins_streamlet:twins_quorum": {
322
+ "questions": 659,
323
+ "accuracy": 1.0,
324
+ "mean_class_recall": 1.0,
325
+ "nll": 0.0018952623564185236,
326
+ "brier": 0.0008114028234666237,
327
+ "ece15": 0.0016108880631044219,
328
+ "temperature": 1.334968103387446,
329
+ "coverage_at_confidence_0_9": 0.9954476479514416,
330
+ "error_rate_at_confidence_0_9": 0.0,
331
+ "ordinal_expected_level_mae": null
332
+ },
333
+ "twins_streamlet:twins_visible_conflict": {
334
+ "questions": 659,
335
+ "accuracy": 0.9984825493171472,
336
+ "mean_class_recall": 0.9989130434782609,
337
+ "nll": 0.0033168872089549845,
338
+ "brier": 0.0020980871703588605,
339
+ "ece15": 0.0012518453771527926,
340
+ "temperature": 1.334968103387446,
341
+ "coverage_at_confidence_0_9": 0.9954476479514416,
342
+ "error_rate_at_confidence_0_9": 0.0,
343
+ "ordinal_expected_level_mae": null
344
+ },
345
+ "veremi_nextgen:veremi_message_manipulation": {
346
+ "questions": 3321,
347
+ "accuracy": 0.7034025895814514,
348
+ "mean_class_recall": 0.7106693655944849,
349
+ "nll": 0.5278136514287293,
350
+ "brier": 0.3689683794121852,
351
+ "ece15": 0.03240031037986953,
352
+ "temperature": 1.334968103387446,
353
+ "coverage_at_confidence_0_9": 0.1969286359530262,
354
+ "error_rate_at_confidence_0_9": 0.009174311926605505,
355
+ "ordinal_expected_level_mae": null
356
+ },
357
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
358
+ "questions": 3321,
359
+ "accuracy": 0.692261367058115,
360
+ "mean_class_recall": 0.49711800080440777,
361
+ "nll": 1.1560335557868109,
362
+ "brier": 0.498611302076152,
363
+ "ece15": 0.12617627958797675,
364
+ "temperature": 1.334968103387446,
365
+ "coverage_at_confidence_0_9": 0.17856067449563384,
366
+ "error_rate_at_confidence_0_9": 0.07251264755480608,
367
+ "ordinal_expected_level_mae": null
368
+ }
369
+ },
370
+ "macro_task_accuracy": 0.9450619006663279,
371
+ "macro_task_balanced_accuracy": 0.9242156493985226
372
+ }
373
+ },
374
+ "test_used_for_selection": false
375
+ }
evaluation/epoch-3-validation.json ADDED
@@ -0,0 +1,744 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3,
3
+ "temperature": 1.334968103387446,
4
+ "development": {
5
+ "raw": {
6
+ "questions": 14912,
7
+ "accuracy": 0.9075912017167382,
8
+ "mean_class_recall": 0.8447857522159936,
9
+ "nll": 0.24807737680415345,
10
+ "brier": 0.12998082994334342,
11
+ "ece15": 0.027028147820359012,
12
+ "temperature": 1.0,
13
+ "coverage_at_confidence_0_9": 0.8103540772532188,
14
+ "error_rate_at_confidence_0_9": 0.023502151605428664,
15
+ "ordinal_expected_level_mae": 0.00481932257817722,
16
+ "tasks": {
17
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
18
+ "questions": 222,
19
+ "accuracy": 0.9774774774774775,
20
+ "mean_class_recall": 0.9570930232558139,
21
+ "nll": 0.10407641066616782,
22
+ "brier": 0.039347876403718875,
23
+ "ece15": 0.021432863016197557,
24
+ "temperature": 1.0,
25
+ "coverage_at_confidence_0_9": 0.9864864864864865,
26
+ "error_rate_at_confidence_0_9": 0.0136986301369863,
27
+ "ordinal_expected_level_mae": null
28
+ },
29
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
30
+ "questions": 222,
31
+ "accuracy": 0.9819819819819819,
32
+ "mean_class_recall": 0.96,
33
+ "nll": 0.10023555924012383,
34
+ "brier": 0.031563944714978254,
35
+ "ece15": 0.015911253108198964,
36
+ "temperature": 1.0,
37
+ "coverage_at_confidence_0_9": 0.9864864864864865,
38
+ "error_rate_at_confidence_0_9": 0.0136986301369863,
39
+ "ordinal_expected_level_mae": null
40
+ },
41
+ "byzfl_mnist:fl_attack_generated_update": {
42
+ "questions": 1400,
43
+ "accuracy": 0.9885714285714285,
44
+ "mean_class_recall": 0.9821428571428572,
45
+ "nll": 0.0442702602822601,
46
+ "brier": 0.02139513973607548,
47
+ "ece15": 0.007710400104216533,
48
+ "temperature": 1.0,
49
+ "coverage_at_confidence_0_9": 0.9842857142857143,
50
+ "error_rate_at_confidence_0_9": 0.008708272859216255,
51
+ "ordinal_expected_level_mae": null
52
+ },
53
+ "ciciot2023:ciciot_attack": {
54
+ "questions": 5000,
55
+ "accuracy": 0.8418,
56
+ "mean_class_recall": 0.7537333333333334,
57
+ "nll": 0.4173917752941542,
58
+ "brier": 0.22451704505631584,
59
+ "ece15": 0.06284084146027137,
60
+ "temperature": 1.0,
61
+ "coverage_at_confidence_0_9": 0.6928,
62
+ "error_rate_at_confidence_0_9": 0.06293302540415704,
63
+ "ordinal_expected_level_mae": null
64
+ },
65
+ "injecagent:injecagent_requested_operation_v13": {
66
+ "questions": 124,
67
+ "accuracy": 1.0,
68
+ "mean_class_recall": 1.0,
69
+ "nll": 0.0014205610073774013,
70
+ "brier": 0.0002211290260091384,
71
+ "ece15": 0.0013613576932818498,
72
+ "temperature": 1.0,
73
+ "coverage_at_confidence_0_9": 0.9919354838709677,
74
+ "error_rate_at_confidence_0_9": 0.0,
75
+ "ordinal_expected_level_mae": null
76
+ },
77
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
78
+ "questions": 328,
79
+ "accuracy": 1.0,
80
+ "mean_class_recall": 1.0,
81
+ "nll": 0.000610657881540054,
82
+ "brier": 8.099314527924365e-05,
83
+ "ece15": 0.0005891478461821947,
84
+ "temperature": 1.0,
85
+ "coverage_at_confidence_0_9": 1.0,
86
+ "error_rate_at_confidence_0_9": 0.0,
87
+ "ordinal_expected_level_mae": null
88
+ },
89
+ "lanl_auth_policy:lanl_observable_policy": {
90
+ "questions": 328,
91
+ "accuracy": 1.0,
92
+ "mean_class_recall": 1.0,
93
+ "nll": 1.5480302068279906e-07,
94
+ "brier": 4.4217021643060835e-12,
95
+ "ece15": 1.548019148098009e-07,
96
+ "temperature": 1.0,
97
+ "coverage_at_confidence_0_9": 1.0,
98
+ "error_rate_at_confidence_0_9": 0.0,
99
+ "ordinal_expected_level_mae": null
100
+ },
101
+ "ton_iot_network:ton_attack": {
102
+ "questions": 2500,
103
+ "accuracy": 0.9792,
104
+ "mean_class_recall": 0.9818666666666667,
105
+ "nll": 0.11218220058914397,
106
+ "brier": 0.03724045269615108,
107
+ "ece15": 0.01842697861877182,
108
+ "temperature": 1.0,
109
+ "coverage_at_confidence_0_9": 0.9928,
110
+ "error_rate_at_confidence_0_9": 0.015310233682514102,
111
+ "ordinal_expected_level_mae": null
112
+ },
113
+ "twins_streamlet:twins_evidence_level": {
114
+ "questions": 797,
115
+ "accuracy": 0.9962358845671268,
116
+ "mean_class_recall": 0.9963898916967509,
117
+ "nll": 0.012217254972570101,
118
+ "brier": 0.006818829719414822,
119
+ "ece15": 0.004133398699556409,
120
+ "temperature": 1.0,
121
+ "coverage_at_confidence_0_9": 0.9949811794228356,
122
+ "error_rate_at_confidence_0_9": 0.0012610340479192938,
123
+ "ordinal_expected_level_mae": 0.00481932257817722
124
+ },
125
+ "twins_streamlet:twins_policy_action": {
126
+ "questions": 797,
127
+ "accuracy": 0.9949811794228356,
128
+ "mean_class_recall": 0.9951865222623345,
129
+ "nll": 0.013078119892699127,
130
+ "brier": 0.007721112955228842,
131
+ "ece15": 0.003423998250058524,
132
+ "temperature": 1.0,
133
+ "coverage_at_confidence_0_9": 0.9899623588456713,
134
+ "error_rate_at_confidence_0_9": 0.0012674271229404308,
135
+ "ordinal_expected_level_mae": null
136
+ },
137
+ "twins_streamlet:twins_quorum": {
138
+ "questions": 797,
139
+ "accuracy": 0.9949811794228356,
140
+ "mean_class_recall": 0.994276682635671,
141
+ "nll": 0.01027058602627885,
142
+ "brier": 0.007209131739335666,
143
+ "ece15": 0.004201163796495765,
144
+ "temperature": 1.0,
145
+ "coverage_at_confidence_0_9": 0.9912170639899623,
146
+ "error_rate_at_confidence_0_9": 0.0,
147
+ "ordinal_expected_level_mae": null
148
+ },
149
+ "twins_streamlet:twins_visible_conflict": {
150
+ "questions": 797,
151
+ "accuracy": 0.9974905897114178,
152
+ "mean_class_recall": 0.998236331569665,
153
+ "nll": 0.017287182530912663,
154
+ "brier": 0.004953169208636321,
155
+ "ece15": 0.0025266183132433223,
156
+ "temperature": 1.0,
157
+ "coverage_at_confidence_0_9": 0.998745294855709,
158
+ "error_rate_at_confidence_0_9": 0.002512562814070352,
159
+ "ordinal_expected_level_mae": null
160
+ },
161
+ "veremi_nextgen:veremi_message_manipulation": {
162
+ "questions": 800,
163
+ "accuracy": 0.69,
164
+ "mean_class_recall": 0.7116483068135455,
165
+ "nll": 0.5092641106435474,
166
+ "brier": 0.3569714849542106,
167
+ "ece15": 0.03650030376694629,
168
+ "temperature": 1.0,
169
+ "coverage_at_confidence_0_9": 0.2425,
170
+ "error_rate_at_confidence_0_9": 0.010309278350515464,
171
+ "ordinal_expected_level_mae": null
172
+ },
173
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
174
+ "questions": 800,
175
+ "accuracy": 0.68875,
176
+ "mean_class_recall": 0.529392069171139,
177
+ "nll": 0.96833512912194,
178
+ "brier": 0.46247412161427887,
179
+ "ece15": 0.02731423542286039,
180
+ "temperature": 1.0,
181
+ "coverage_at_confidence_0_9": 0.22625,
182
+ "error_rate_at_confidence_0_9": 0.022099447513812154,
183
+ "ordinal_expected_level_mae": null
184
+ }
185
+ },
186
+ "macro_task_accuracy": 0.9379621229396502,
187
+ "macro_task_balanced_accuracy": 0.9185689774676985
188
+ },
189
+ "recalibrated": {
190
+ "questions": 14912,
191
+ "accuracy": 0.9075912017167382,
192
+ "mean_class_recall": 0.8447857522159936,
193
+ "nll": 0.2269545932235271,
194
+ "brier": 0.12792407717450321,
195
+ "ece15": 0.01858051585491712,
196
+ "temperature": 1.334968103387446,
197
+ "coverage_at_confidence_0_9": 0.7862124463519313,
198
+ "error_rate_at_confidence_0_9": 0.018679631525076765,
199
+ "ordinal_expected_level_mae": 0.005329911013904147,
200
+ "tasks": {
201
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
202
+ "questions": 222,
203
+ "accuracy": 0.9774774774774775,
204
+ "mean_class_recall": 0.9570930232558139,
205
+ "nll": 0.08092683597443519,
206
+ "brier": 0.037546344393533104,
207
+ "ece15": 0.021320738677048364,
208
+ "temperature": 1.334968103387446,
209
+ "coverage_at_confidence_0_9": 0.9819819819819819,
210
+ "error_rate_at_confidence_0_9": 0.013761467889908258,
211
+ "ordinal_expected_level_mae": null
212
+ },
213
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
214
+ "questions": 222,
215
+ "accuracy": 0.9819819819819819,
216
+ "mean_class_recall": 0.96,
217
+ "nll": 0.07809919245507242,
218
+ "brier": 0.030623326048867618,
219
+ "ece15": 0.015019163882298042,
220
+ "temperature": 1.334968103387446,
221
+ "coverage_at_confidence_0_9": 0.9819819819819819,
222
+ "error_rate_at_confidence_0_9": 0.009174311926605505,
223
+ "ordinal_expected_level_mae": null
224
+ },
225
+ "byzfl_mnist:fl_attack_generated_update": {
226
+ "questions": 1400,
227
+ "accuracy": 0.9885714285714285,
228
+ "mean_class_recall": 0.9821428571428572,
229
+ "nll": 0.04094699270351949,
230
+ "brier": 0.021018406686723334,
231
+ "ece15": 0.0038434318338614677,
232
+ "temperature": 1.334968103387446,
233
+ "coverage_at_confidence_0_9": 0.9678571428571429,
234
+ "error_rate_at_confidence_0_9": 0.006642066420664207,
235
+ "ordinal_expected_level_mae": null
236
+ },
237
+ "ciciot2023:ciciot_attack": {
238
+ "questions": 5000,
239
+ "accuracy": 0.8418,
240
+ "mean_class_recall": 0.7537333333333334,
241
+ "nll": 0.36679030702727994,
242
+ "brier": 0.21757064336558796,
243
+ "ece15": 0.043357678681868704,
244
+ "temperature": 1.334968103387446,
245
+ "coverage_at_confidence_0_9": 0.6394,
246
+ "error_rate_at_confidence_0_9": 0.05004691898654989,
247
+ "ordinal_expected_level_mae": null
248
+ },
249
+ "injecagent:injecagent_requested_operation_v13": {
250
+ "questions": 124,
251
+ "accuracy": 1.0,
252
+ "mean_class_recall": 1.0,
253
+ "nll": 0.0028701157894541487,
254
+ "brier": 0.0006216354903482641,
255
+ "ece15": 0.0026971564840139535,
256
+ "temperature": 1.334968103387446,
257
+ "coverage_at_confidence_0_9": 0.9919354838709677,
258
+ "error_rate_at_confidence_0_9": 0.0,
259
+ "ordinal_expected_level_mae": null
260
+ },
261
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
262
+ "questions": 328,
263
+ "accuracy": 1.0,
264
+ "mean_class_recall": 1.0,
265
+ "nll": 0.001405432942745028,
266
+ "brier": 0.00025083300955486444,
267
+ "ece15": 0.0013358908781109478,
268
+ "temperature": 1.334968103387446,
269
+ "coverage_at_confidence_0_9": 0.9939024390243902,
270
+ "error_rate_at_confidence_0_9": 0.0,
271
+ "ordinal_expected_level_mae": null
272
+ },
273
+ "lanl_auth_policy:lanl_observable_policy": {
274
+ "questions": 328,
275
+ "accuracy": 1.0,
276
+ "mean_class_recall": 1.0,
277
+ "nll": 4.6272880953518815e-06,
278
+ "brier": 9.796066038293659e-10,
279
+ "ece15": 4.627043141135246e-06,
280
+ "temperature": 1.334968103387446,
281
+ "coverage_at_confidence_0_9": 1.0,
282
+ "error_rate_at_confidence_0_9": 0.0,
283
+ "ordinal_expected_level_mae": null
284
+ },
285
+ "ton_iot_network:ton_attack": {
286
+ "questions": 2500,
287
+ "accuracy": 0.9792,
288
+ "mean_class_recall": 0.9818666666666667,
289
+ "nll": 0.0877031817842779,
290
+ "brier": 0.03599036114227489,
291
+ "ece15": 0.01538869285344686,
292
+ "temperature": 1.334968103387446,
293
+ "coverage_at_confidence_0_9": 0.988,
294
+ "error_rate_at_confidence_0_9": 0.014574898785425101,
295
+ "ordinal_expected_level_mae": null
296
+ },
297
+ "twins_streamlet:twins_evidence_level": {
298
+ "questions": 797,
299
+ "accuracy": 0.9962358845671268,
300
+ "mean_class_recall": 0.9963898916967509,
301
+ "nll": 0.010603240403009088,
302
+ "brier": 0.006373682001028304,
303
+ "ece15": 0.004218405852177047,
304
+ "temperature": 1.334968103387446,
305
+ "coverage_at_confidence_0_9": 0.9937264742785445,
306
+ "error_rate_at_confidence_0_9": 0.0012626262626262627,
307
+ "ordinal_expected_level_mae": 0.005329911013904147
308
+ },
309
+ "twins_streamlet:twins_policy_action": {
310
+ "questions": 797,
311
+ "accuracy": 0.9949811794228356,
312
+ "mean_class_recall": 0.9951865222623345,
313
+ "nll": 0.01230072195659841,
314
+ "brier": 0.007337903591834537,
315
+ "ece15": 0.0031241457310850957,
316
+ "temperature": 1.334968103387446,
317
+ "coverage_at_confidence_0_9": 0.986198243412798,
318
+ "error_rate_at_confidence_0_9": 0.001272264631043257,
319
+ "ordinal_expected_level_mae": null
320
+ },
321
+ "twins_streamlet:twins_quorum": {
322
+ "questions": 797,
323
+ "accuracy": 0.9949811794228356,
324
+ "mean_class_recall": 0.994276682635671,
325
+ "nll": 0.009584146250019401,
326
+ "brier": 0.00659904677807738,
327
+ "ece15": 0.005028933100804552,
328
+ "temperature": 1.334968103387446,
329
+ "coverage_at_confidence_0_9": 0.9899623588456713,
330
+ "error_rate_at_confidence_0_9": 0.0,
331
+ "ordinal_expected_level_mae": null
332
+ },
333
+ "twins_streamlet:twins_visible_conflict": {
334
+ "questions": 797,
335
+ "accuracy": 0.9974905897114178,
336
+ "mean_class_recall": 0.998236331569665,
337
+ "nll": 0.013437428285294059,
338
+ "brier": 0.004858731838764845,
339
+ "ece15": 0.0022785888551786117,
340
+ "temperature": 1.334968103387446,
341
+ "coverage_at_confidence_0_9": 0.998745294855709,
342
+ "error_rate_at_confidence_0_9": 0.002512562814070352,
343
+ "ordinal_expected_level_mae": null
344
+ },
345
+ "veremi_nextgen:veremi_message_manipulation": {
346
+ "questions": 800,
347
+ "accuracy": 0.69,
348
+ "mean_class_recall": 0.7116483068135455,
349
+ "nll": 0.5102124840713312,
350
+ "brier": 0.35753050242002155,
351
+ "ece15": 0.03811996421246104,
352
+ "temperature": 1.334968103387446,
353
+ "coverage_at_confidence_0_9": 0.22125,
354
+ "error_rate_at_confidence_0_9": 0.011299435028248588,
355
+ "ordinal_expected_level_mae": null
356
+ },
357
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
358
+ "questions": 800,
359
+ "accuracy": 0.68875,
360
+ "mean_class_recall": 0.529392069171139,
361
+ "nll": 0.9911460027249259,
362
+ "brier": 0.4737144267281807,
363
+ "ece15": 0.09647043512079573,
364
+ "temperature": 1.334968103387446,
365
+ "coverage_at_confidence_0_9": 0.18625,
366
+ "error_rate_at_confidence_0_9": 0.020134228187919462,
367
+ "ordinal_expected_level_mae": null
368
+ }
369
+ },
370
+ "macro_task_accuracy": 0.9379621229396502,
371
+ "macro_task_balanced_accuracy": 0.9185689774676985
372
+ }
373
+ },
374
+ "calibration": {
375
+ "raw": {
376
+ "questions": 14821,
377
+ "accuracy": 0.9313811483705553,
378
+ "mean_class_recall": 0.8460223158089928,
379
+ "nll": 0.18480685074016417,
380
+ "brier": 0.09978353062869037,
381
+ "ece15": 0.010514966894040724,
382
+ "temperature": 1.0,
383
+ "coverage_at_confidence_0_9": 0.814789825247959,
384
+ "error_rate_at_confidence_0_9": 0.013580655846306725,
385
+ "ordinal_expected_level_mae": 0.001461981275023823,
386
+ "tasks": {
387
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
388
+ "questions": 325,
389
+ "accuracy": 0.96,
390
+ "mean_class_recall": 0.9216916119306557,
391
+ "nll": 0.12908652765840894,
392
+ "brier": 0.06258807450225369,
393
+ "ece15": 0.033510331142289206,
394
+ "temperature": 1.0,
395
+ "coverage_at_confidence_0_9": 0.9815384615384616,
396
+ "error_rate_at_confidence_0_9": 0.0219435736677116,
397
+ "ordinal_expected_level_mae": null
398
+ },
399
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
400
+ "questions": 328,
401
+ "accuracy": 0.9695121951219512,
402
+ "mean_class_recall": 0.9372206852521814,
403
+ "nll": 0.16127769578392517,
404
+ "brier": 0.05858994554032181,
405
+ "ece15": 0.030459345972402876,
406
+ "temperature": 1.0,
407
+ "coverage_at_confidence_0_9": 0.9939024390243902,
408
+ "error_rate_at_confidence_0_9": 0.027607361963190184,
409
+ "ordinal_expected_level_mae": null
410
+ },
411
+ "byzfl_mnist:fl_attack_generated_update": {
412
+ "questions": 2400,
413
+ "accuracy": 0.9404166666666667,
414
+ "mean_class_recall": 0.8877604166666666,
415
+ "nll": 0.19653998710185536,
416
+ "brier": 0.09947525932448194,
417
+ "ece15": 0.04423318187692424,
418
+ "temperature": 1.0,
419
+ "coverage_at_confidence_0_9": 0.9479166666666666,
420
+ "error_rate_at_confidence_0_9": 0.03824175824175824,
421
+ "ordinal_expected_level_mae": null
422
+ },
423
+ "ciciot2023:ciciot_attack": {
424
+ "questions": 5000,
425
+ "accuracy": 0.9292,
426
+ "mean_class_recall": 0.8968,
427
+ "nll": 0.18887834668200343,
428
+ "brier": 0.10636649585712103,
429
+ "ece15": 0.019887550017025992,
430
+ "temperature": 1.0,
431
+ "coverage_at_confidence_0_9": 0.7252,
432
+ "error_rate_at_confidence_0_9": 0.013513513513513514,
433
+ "ordinal_expected_level_mae": null
434
+ },
435
+ "injecagent:injecagent_requested_operation_v13": {
436
+ "questions": 124,
437
+ "accuracy": 0.9919354838709677,
438
+ "mean_class_recall": 0.9928571428571429,
439
+ "nll": 0.021390831595053342,
440
+ "brier": 0.015445766007169246,
441
+ "ece15": 0.011074830403285848,
442
+ "temperature": 1.0,
443
+ "coverage_at_confidence_0_9": 0.9838709677419355,
444
+ "error_rate_at_confidence_0_9": 0.0,
445
+ "ordinal_expected_level_mae": null
446
+ },
447
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
448
+ "questions": 235,
449
+ "accuracy": 0.9957446808510638,
450
+ "mean_class_recall": 0.9949494949494949,
451
+ "nll": 0.015420468691595452,
452
+ "brier": 0.008033852620508352,
453
+ "ece15": 0.003625196423068977,
454
+ "temperature": 1.0,
455
+ "coverage_at_confidence_0_9": 1.0,
456
+ "error_rate_at_confidence_0_9": 0.00425531914893617,
457
+ "ordinal_expected_level_mae": null
458
+ },
459
+ "lanl_auth_policy:lanl_observable_policy": {
460
+ "questions": 235,
461
+ "accuracy": 0.9957446808510638,
462
+ "mean_class_recall": 0.9905660377358491,
463
+ "nll": 0.018077073969230188,
464
+ "brier": 0.00826909442413202,
465
+ "ece15": 0.004194003764167214,
466
+ "temperature": 1.0,
467
+ "coverage_at_confidence_0_9": 1.0,
468
+ "error_rate_at_confidence_0_9": 0.00425531914893617,
469
+ "ordinal_expected_level_mae": null
470
+ },
471
+ "ton_iot_network:ton_attack": {
472
+ "questions": 2000,
473
+ "accuracy": 0.9985,
474
+ "mean_class_recall": 0.9976666666666667,
475
+ "nll": 0.010567088503443185,
476
+ "brier": 0.003178972042914288,
477
+ "ece15": 0.0009240536217447044,
478
+ "temperature": 1.0,
479
+ "coverage_at_confidence_0_9": 0.999,
480
+ "error_rate_at_confidence_0_9": 0.0015015015015015015,
481
+ "ordinal_expected_level_mae": null
482
+ },
483
+ "twins_streamlet:twins_evidence_level": {
484
+ "questions": 641,
485
+ "accuracy": 0.9984399375975039,
486
+ "mean_class_recall": 0.9985507246376812,
487
+ "nll": 0.003039872100282549,
488
+ "brier": 0.0022297539963869384,
489
+ "ece15": 0.0014593852165271412,
490
+ "temperature": 1.0,
491
+ "coverage_at_confidence_0_9": 0.9984399375975039,
492
+ "error_rate_at_confidence_0_9": 0.0,
493
+ "ordinal_expected_level_mae": 0.001461981275023823
494
+ },
495
+ "twins_streamlet:twins_policy_action": {
496
+ "questions": 641,
497
+ "accuracy": 1.0,
498
+ "mean_class_recall": 1.0,
499
+ "nll": 0.0004967972153911127,
500
+ "brier": 9.688544623270663e-05,
501
+ "ece15": 0.00046955068951652005,
502
+ "temperature": 1.0,
503
+ "coverage_at_confidence_0_9": 0.9984399375975039,
504
+ "error_rate_at_confidence_0_9": 0.0,
505
+ "ordinal_expected_level_mae": null
506
+ },
507
+ "twins_streamlet:twins_quorum": {
508
+ "questions": 641,
509
+ "accuracy": 0.9968798751950078,
510
+ "mean_class_recall": 0.9961240310077519,
511
+ "nll": 0.016173152134660414,
512
+ "brier": 0.007502235795954162,
513
+ "ece15": 0.0049434253477994355,
514
+ "temperature": 1.0,
515
+ "coverage_at_confidence_0_9": 0.9937597503900156,
516
+ "error_rate_at_confidence_0_9": 0.0031397174254317113,
517
+ "ordinal_expected_level_mae": null
518
+ },
519
+ "twins_streamlet:twins_visible_conflict": {
520
+ "questions": 641,
521
+ "accuracy": 0.9984399375975039,
522
+ "mean_class_recall": 0.9969512195121951,
523
+ "nll": 0.004162755288573824,
524
+ "brier": 0.0026938896990115683,
525
+ "ece15": 0.0014825770107887316,
526
+ "temperature": 1.0,
527
+ "coverage_at_confidence_0_9": 1.0,
528
+ "error_rate_at_confidence_0_9": 0.0015600624024961,
529
+ "ordinal_expected_level_mae": null
530
+ },
531
+ "veremi_nextgen:veremi_message_manipulation": {
532
+ "questions": 805,
533
+ "accuracy": 0.7031055900621118,
534
+ "mean_class_recall": 0.7239978843175034,
535
+ "nll": 0.49879740669601635,
536
+ "brier": 0.351098943795658,
537
+ "ece15": 0.02568931078110801,
538
+ "temperature": 1.0,
539
+ "coverage_at_confidence_0_9": 0.23850931677018633,
540
+ "error_rate_at_confidence_0_9": 0.0,
541
+ "ordinal_expected_level_mae": null
542
+ },
543
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
544
+ "questions": 805,
545
+ "accuracy": 0.6919254658385093,
546
+ "mean_class_recall": 0.5331098265895953,
547
+ "nll": 0.9684343228937802,
548
+ "brier": 0.45465071518796674,
549
+ "ece15": 0.01705305962599151,
550
+ "temperature": 1.0,
551
+ "coverage_at_confidence_0_9": 0.2360248447204969,
552
+ "error_rate_at_confidence_0_9": 0.021052631578947368,
553
+ "ordinal_expected_level_mae": null
554
+ }
555
+ },
556
+ "macro_task_accuracy": 0.9407031795465964,
557
+ "macro_task_balanced_accuracy": 0.9191604101516703
558
+ },
559
+ "recalibrated": {
560
+ "questions": 14821,
561
+ "accuracy": 0.9313811483705553,
562
+ "mean_class_recall": 0.8460223158089928,
563
+ "nll": 0.17961943925788992,
564
+ "brier": 0.10111838724890135,
565
+ "ece15": 0.017864195303344165,
566
+ "temperature": 1.334968103387446,
567
+ "coverage_at_confidence_0_9": 0.7859118817893529,
568
+ "error_rate_at_confidence_0_9": 0.010645604395604396,
569
+ "ordinal_expected_level_mae": 0.001742299523022841,
570
+ "tasks": {
571
+ "agentdojo_tool_outputs:agentdojo_boundary_action": {
572
+ "questions": 325,
573
+ "accuracy": 0.96,
574
+ "mean_class_recall": 0.9216916119306557,
575
+ "nll": 0.10308600797920058,
576
+ "brier": 0.05761479429147346,
577
+ "ece15": 0.0294057816164861,
578
+ "temperature": 1.334968103387446,
579
+ "coverage_at_confidence_0_9": 0.963076923076923,
580
+ "error_rate_at_confidence_0_9": 0.012779552715654952,
581
+ "ordinal_expected_level_mae": null
582
+ },
583
+ "agentdojo_tool_outputs:agentdojo_embedded_injection": {
584
+ "questions": 328,
585
+ "accuracy": 0.9695121951219512,
586
+ "mean_class_recall": 0.9372206852521814,
587
+ "nll": 0.12289366290953901,
588
+ "brier": 0.057082591730227304,
589
+ "ece15": 0.029897091535857363,
590
+ "temperature": 1.334968103387446,
591
+ "coverage_at_confidence_0_9": 0.9939024390243902,
592
+ "error_rate_at_confidence_0_9": 0.027607361963190184,
593
+ "ordinal_expected_level_mae": null
594
+ },
595
+ "byzfl_mnist:fl_attack_generated_update": {
596
+ "questions": 2400,
597
+ "accuracy": 0.9404166666666667,
598
+ "mean_class_recall": 0.8877604166666666,
599
+ "nll": 0.16174786934019353,
600
+ "brier": 0.09375828073422167,
601
+ "ece15": 0.03645209485430555,
602
+ "temperature": 1.334968103387446,
603
+ "coverage_at_confidence_0_9": 0.92875,
604
+ "error_rate_at_confidence_0_9": 0.03095558546433378,
605
+ "ordinal_expected_level_mae": null
606
+ },
607
+ "ciciot2023:ciciot_attack": {
608
+ "questions": 5000,
609
+ "accuracy": 0.9292,
610
+ "mean_class_recall": 0.8968,
611
+ "nll": 0.19125358889505403,
612
+ "brier": 0.11141554439383701,
613
+ "ece15": 0.03505488361604012,
614
+ "temperature": 1.334968103387446,
615
+ "coverage_at_confidence_0_9": 0.6616,
616
+ "error_rate_at_confidence_0_9": 0.010278113663845224,
617
+ "ordinal_expected_level_mae": null
618
+ },
619
+ "injecagent:injecagent_requested_operation_v13": {
620
+ "questions": 124,
621
+ "accuracy": 0.9919354838709677,
622
+ "mean_class_recall": 0.9928571428571429,
623
+ "nll": 0.019190864186870816,
624
+ "brier": 0.01397734899726431,
625
+ "ece15": 0.011351501004051424,
626
+ "temperature": 1.334968103387446,
627
+ "coverage_at_confidence_0_9": 0.9838709677419355,
628
+ "error_rate_at_confidence_0_9": 0.0,
629
+ "ordinal_expected_level_mae": null
630
+ },
631
+ "lanl_auth_policy:lanl_known_logon_action_v16": {
632
+ "questions": 235,
633
+ "accuracy": 0.9957446808510638,
634
+ "mean_class_recall": 0.9949494949494949,
635
+ "nll": 0.01285197836061796,
636
+ "brier": 0.007512756902037326,
637
+ "ece15": 0.004004760561973723,
638
+ "temperature": 1.334968103387446,
639
+ "coverage_at_confidence_0_9": 1.0,
640
+ "error_rate_at_confidence_0_9": 0.00425531914893617,
641
+ "ordinal_expected_level_mae": null
642
+ },
643
+ "lanl_auth_policy:lanl_observable_policy": {
644
+ "questions": 235,
645
+ "accuracy": 0.9957446808510638,
646
+ "mean_class_recall": 0.9905660377358491,
647
+ "nll": 0.01368047084450566,
648
+ "brier": 0.007839165259612221,
649
+ "ece15": 0.004073337312958388,
650
+ "temperature": 1.334968103387446,
651
+ "coverage_at_confidence_0_9": 1.0,
652
+ "error_rate_at_confidence_0_9": 0.00425531914893617,
653
+ "ordinal_expected_level_mae": null
654
+ },
655
+ "ton_iot_network:ton_attack": {
656
+ "questions": 2000,
657
+ "accuracy": 0.9985,
658
+ "mean_class_recall": 0.9976666666666667,
659
+ "nll": 0.010650627249048795,
660
+ "brier": 0.003323170074906094,
661
+ "ece15": 0.002118687755931114,
662
+ "temperature": 1.334968103387446,
663
+ "coverage_at_confidence_0_9": 0.9975,
664
+ "error_rate_at_confidence_0_9": 0.0015037593984962407,
665
+ "ordinal_expected_level_mae": null
666
+ },
667
+ "twins_streamlet:twins_evidence_level": {
668
+ "questions": 641,
669
+ "accuracy": 0.9984399375975039,
670
+ "mean_class_recall": 0.9985507246376812,
671
+ "nll": 0.0028802196260483376,
672
+ "brier": 0.001935795675809169,
673
+ "ece15": 0.0017273023271884604,
674
+ "temperature": 1.334968103387446,
675
+ "coverage_at_confidence_0_9": 0.9968798751950078,
676
+ "error_rate_at_confidence_0_9": 0.0,
677
+ "ordinal_expected_level_mae": 0.001742299523022841
678
+ },
679
+ "twins_streamlet:twins_policy_action": {
680
+ "questions": 641,
681
+ "accuracy": 1.0,
682
+ "mean_class_recall": 1.0,
683
+ "nll": 0.0012409177190170738,
684
+ "brier": 0.00021235107519573934,
685
+ "ece15": 0.0011788827327451372,
686
+ "temperature": 1.334968103387446,
687
+ "coverage_at_confidence_0_9": 0.9984399375975039,
688
+ "error_rate_at_confidence_0_9": 0.0,
689
+ "ordinal_expected_level_mae": null
690
+ },
691
+ "twins_streamlet:twins_quorum": {
692
+ "questions": 641,
693
+ "accuracy": 0.9968798751950078,
694
+ "mean_class_recall": 0.9961240310077519,
695
+ "nll": 0.013816362060687534,
696
+ "brier": 0.007467944863319216,
697
+ "ece15": 0.004893228894077442,
698
+ "temperature": 1.334968103387446,
699
+ "coverage_at_confidence_0_9": 0.9921996879875195,
700
+ "error_rate_at_confidence_0_9": 0.0031446540880503146,
701
+ "ordinal_expected_level_mae": null
702
+ },
703
+ "twins_streamlet:twins_visible_conflict": {
704
+ "questions": 641,
705
+ "accuracy": 0.9984399375975039,
706
+ "mean_class_recall": 0.9969512195121951,
707
+ "nll": 0.0034185049808860444,
708
+ "brier": 0.0023816170036107054,
709
+ "ece15": 0.0015601193471088582,
710
+ "temperature": 1.334968103387446,
711
+ "coverage_at_confidence_0_9": 0.9984399375975039,
712
+ "error_rate_at_confidence_0_9": 0.0,
713
+ "ordinal_expected_level_mae": null
714
+ },
715
+ "veremi_nextgen:veremi_message_manipulation": {
716
+ "questions": 805,
717
+ "accuracy": 0.7031055900621118,
718
+ "mean_class_recall": 0.7239978843175034,
719
+ "nll": 0.503140821446039,
720
+ "brier": 0.35269849107227197,
721
+ "ece15": 0.030978365187072362,
722
+ "temperature": 1.334968103387446,
723
+ "coverage_at_confidence_0_9": 0.21366459627329193,
724
+ "error_rate_at_confidence_0_9": 0.0,
725
+ "ordinal_expected_level_mae": null
726
+ },
727
+ "veremi_nextgen:veremi_supported_attack_type_v16": {
728
+ "questions": 805,
729
+ "accuracy": 0.6919254658385093,
730
+ "mean_class_recall": 0.5331098265895953,
731
+ "nll": 0.9878648410254747,
732
+ "brier": 0.46649698606417656,
733
+ "ece15": 0.09086134384209663,
734
+ "temperature": 1.334968103387446,
735
+ "coverage_at_confidence_0_9": 0.19627329192546583,
736
+ "error_rate_at_confidence_0_9": 0.006329113924050633,
737
+ "ordinal_expected_level_mae": null
738
+ }
739
+ },
740
+ "macro_task_accuracy": 0.9407031795465964,
741
+ "macro_task_balanced_accuracy": 0.9191604101516703
742
+ }
743
+ }
744
+ }
evaluation/results.json ADDED
The diff for this file is too large to render. See raw diff
 
example-output.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "SecJev-4B",
3
+ "answers": {
4
+ "certificate_action": {
5
+ "type": "choice",
6
+ "choice": "reject",
7
+ "confidence": 0.99,
8
+ "probabilities": {
9
+ "accept": 0.0,
10
+ "reject": 0.99,
11
+ "wait": 0.01
12
+ }
13
+ }
14
+ },
15
+ "probabilities": {
16
+ "certificate_action": {
17
+ "accept": 2.5144670871668495e-05,
18
+ "reject": 0.9922695159912109,
19
+ "wait": 0.0077053275890648365
20
+ }
21
+ },
22
+ "temperature": 1.334968103387446,
23
+ "forward_ms": 10437.744742259383
24
+ }
examples/certificate.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": {
3
+ "policy": "Reject a certificate if one of its voters voted for different blocks in the same round. Otherwise accept with at least three distinct voters; otherwise wait.",
4
+ "candidate": "A",
5
+ "round": 7,
6
+ "observed_votes": {
7
+ "v1": [
8
+ "A"
9
+ ],
10
+ "v2": [
11
+ "A",
12
+ "B"
13
+ ],
14
+ "v3": [
15
+ "A"
16
+ ]
17
+ }
18
+ },
19
+ "questions": {
20
+ "certificate_action": {
21
+ "type": "choice",
22
+ "instructions": "Which action follows the stated policy?",
23
+ "criteria": {
24
+ "accept": "Accept the certificate",
25
+ "reject": "Reject the conflicting certificate",
26
+ "wait": "Wait for more evidence"
27
+ }
28
+ }
29
+ }
30
+ }
export-validation.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "device": "CUDA",
3
+ "precision": "FP32 unmerged",
4
+ "compared_with": "original evaluated GPU checkpoint, development split, raw logits",
5
+ "cases": [
6
+ {
7
+ "case": 4222,
8
+ "qid": "injection",
9
+ "qtype": "noul",
10
+ "tokens": 140,
11
+ "expected_label": 0,
12
+ "max_probability_difference": 3.9981387089937925e-09,
13
+ "max_logit_difference": 0.0003533363342285156,
14
+ "exported_prediction": 0,
15
+ "reference_prediction": 0
16
+ },
17
+ {
18
+ "case": 4654,
19
+ "qid": "injection",
20
+ "qtype": "noul",
21
+ "tokens": 152,
22
+ "expected_label": 0,
23
+ "max_probability_difference": 0.00026088953018188477,
24
+ "max_logit_difference": 0.0010182857513427734,
25
+ "exported_prediction": 0,
26
+ "reference_prediction": 0
27
+ },
28
+ {
29
+ "case": 4222,
30
+ "qid": "boundary_action",
31
+ "qtype": "choice",
32
+ "tokens": 192,
33
+ "expected_label": 0,
34
+ "max_probability_difference": 1.1920928955078125e-07,
35
+ "max_logit_difference": 0.002742290496826172,
36
+ "exported_prediction": 0,
37
+ "reference_prediction": 0
38
+ },
39
+ {
40
+ "case": 4654,
41
+ "qid": "boundary_action",
42
+ "qtype": "choice",
43
+ "tokens": 204,
44
+ "expected_label": 0,
45
+ "max_probability_difference": 3.2186508178710938e-06,
46
+ "max_logit_difference": 0.0013228654861450195,
47
+ "exported_prediction": 0,
48
+ "reference_prediction": 0
49
+ },
50
+ {
51
+ "case": 2334,
52
+ "qid": "evidence_level",
53
+ "qtype": "score",
54
+ "tokens": 234,
55
+ "expected_label": 1,
56
+ "max_probability_difference": 9.085852070711553e-10,
57
+ "max_logit_difference": 0.0014123916625976562,
58
+ "exported_prediction": 1,
59
+ "reference_prediction": 1
60
+ },
61
+ {
62
+ "case": 1790,
63
+ "qid": "evidence_level",
64
+ "qtype": "score",
65
+ "tokens": 250,
66
+ "expected_label": 1,
67
+ "max_probability_difference": 1.3608314475277439e-09,
68
+ "max_logit_difference": 0.0016317367553710938,
69
+ "exported_prediction": 1,
70
+ "reference_prediction": 1
71
+ }
72
+ ],
73
+ "all_predictions_match": true,
74
+ "max_probability_difference": 0.00026088953018188477,
75
+ "tolerance": 0.001,
76
+ "sample_selection": "two shortest development rows for each of three types; packaging parity only",
77
+ "handwritten_example": {
78
+ "expected_action": "reject",
79
+ "actual_prediction": "reject",
80
+ "matches_label": true,
81
+ "purpose": "Interface smoke example; not a benchmark result"
82
+ }
83
+ }
head.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0955d746a517b2d18762ebadd79d2c3ff6fef7209853f15580be917aeec3f753
3
+ size 5249407
infer.py ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Score a native System One JSON request using a SecJev checkpoint."""
2
+ import argparse, json, pathlib, time, os, sys
3
+ sys.path.insert(0,str(pathlib.Path(os.environ.get('SECJEV_WORK', './secjev-work')).resolve()/'source/kev'))
4
+ import torch
5
+ from kev.api import SystemOneRequest, to_record, to_answers
6
+ from kev.checkpoint import Checkpoint, LoadOptions
7
+
8
+
9
+ def main():
10
+ parser = argparse.ArgumentParser()
11
+ parser.add_argument('--model', required=True, help='Local checkpoint directory or owner/repository@revision')
12
+ parser.add_argument('--request', required=True, type=pathlib.Path)
13
+ parser.add_argument('--device', default='cuda' if torch.cuda.is_available() else 'cpu')
14
+ parser.add_argument('--base', help='Optional local copy of the pinned Qwen backbone')
15
+ args = parser.parse_args()
16
+ request = SystemOneRequest.model_validate(json.loads(args.request.read_text()))
17
+ checkpoint = Checkpoint(args.model)
18
+ if args.base:
19
+ checkpoint.meta.base = args.base
20
+ checkpoint.meta.base_revision = None
21
+ torch.set_num_threads(4)
22
+ torch.backends.cuda.matmul.allow_tf32 = False
23
+ torch.backends.cudnn.allow_tf32 = False
24
+ torch.backends.cuda.enable_flash_sdp(False)
25
+ torch.backends.cuda.enable_mem_efficient_sdp(False)
26
+ tokenizer, model = checkpoint.load(args.device, LoadOptions(dtype=torch.float32, merge=False, attn='sdpa'))
27
+ record, metadata = to_record(request)
28
+ encoded = model.encode(tokenizer, record, max_state=8192, max_branch=8192, strict=True)
29
+ from kev.model import rows_of
30
+ state, _, branches = rows_of(encoded)
31
+ if any(len(state) + len(branch['ids']) > 8192 for branch in branches):
32
+ raise ValueError('Each state + question must fit within 8192 tokens; inputs are never truncated.')
33
+ if str(args.device).startswith('cuda'):
34
+ torch.cuda.synchronize()
35
+ started = time.perf_counter()
36
+ with torch.inference_mode():
37
+ logits = model.forward(encoded)
38
+ probabilities = [torch.softmax(z.float(), -1).cpu().tolist() for z in logits]
39
+ if str(args.device).startswith('cuda'):
40
+ torch.cuda.synchronize()
41
+ result = {
42
+ 'model': args.model,
43
+ 'answers': to_answers(probabilities, metadata),
44
+ 'probabilities': {m['id']: dict(zip(m['keys'], p)) for m, p in zip(metadata, probabilities)},
45
+ 'temperature': model.head.temperature,
46
+ 'forward_ms': (time.perf_counter() - started) * 1000,
47
+ }
48
+ print(json.dumps(result, ensure_ascii=False, indent=2, allow_nan=False))
49
+
50
+
51
+ if __name__ == '__main__':
52
+ main()
licenses/AgentDojo-LICENSE.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Edoardo Debenedetti, Jie Zhang, Mislav Balunovic, Luca Beurer-Kellner, Marc Fischer, and Florian Tramèr
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
licenses/Apache-2.0.txt ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
licenses/ByzFL-LICENSE.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2024 EPFL
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
licenses/FoolsGold-LICENSE.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2025 DistributedML
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
licenses/InjecAgent-LICENSE.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Qiusi Zhan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
licenses/LANL.md ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # LANL authentication / redteam data
2
+
3
+ Source: https://csr.lanl.gov/data/cyber1/
4
+ License: CC0 1.0, as stated on the official source page saved in metadata/lanl-source-page.html.
5
+ Citation: Alexander D. Kent, Comprehensive, Multi-Source Cyber-Security Events, Los Alamos National Laboratory, 2015. DOI: 10.17021/1179829.
6
+ Related publication: A. D. Kent, Cybersecurity Data Sources for Dynamic Network Research, in Dynamic Networks in Cybersecurity, 2015.
7
+ The original source warns that failed authentications are included only for users with at least one successful authentication somewhere in the dataset. This creates selection bias.
8
+ No registration credentials or private transport logs are included in this release.
licenses/Twins-LICENSE.txt ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
licenses/VeReMi-LICENSE.txt ADDED
@@ -0,0 +1,396 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Attribution 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright. More considerations for licensors:
36
+ wiki.creativecommons.org/Considerations_for_licensors
37
+
38
+ Considerations for the public: By using one of our public
39
+ licenses, a licensor grants the public permission to use the
40
+ licensed material under specified terms and conditions. If
41
+ the licensor's permission is not necessary for any reason--for
42
+ example, because of any applicable exception or limitation to
43
+ copyright--then that use is not regulated by the license. Our
44
+ licenses grant only permissions under copyright and certain
45
+ other rights that a licensor has authority to grant. Use of
46
+ the licensed material may still be restricted for other
47
+ reasons, including because others have copyright or other
48
+ rights in the material. A licensor may make special requests,
49
+ such as asking that all changes be marked or described.
50
+ Although not required by our licenses, you are encouraged to
51
+ respect those requests where reasonable. More considerations
52
+ for the public:
53
+ wiki.creativecommons.org/Considerations_for_licensees
54
+
55
+ =======================================================================
56
+
57
+ Creative Commons Attribution 4.0 International Public License
58
+
59
+ By exercising the Licensed Rights (defined below), You accept and agree
60
+ to be bound by the terms and conditions of this Creative Commons
61
+ Attribution 4.0 International Public License ("Public License"). To the
62
+ extent this Public License may be interpreted as a contract, You are
63
+ granted the Licensed Rights in consideration of Your acceptance of
64
+ these terms and conditions, and the Licensor grants You such rights in
65
+ consideration of benefits the Licensor receives from making the
66
+ Licensed Material available under these terms and conditions.
67
+
68
+
69
+ Section 1 -- Definitions.
70
+
71
+ a. Adapted Material means material subject to Copyright and Similar
72
+ Rights that is derived from or based upon the Licensed Material
73
+ and in which the Licensed Material is translated, altered,
74
+ arranged, transformed, or otherwise modified in a manner requiring
75
+ permission under the Copyright and Similar Rights held by the
76
+ Licensor. For purposes of this Public License, where the Licensed
77
+ Material is a musical work, performance, or sound recording,
78
+ Adapted Material is always produced where the Licensed Material is
79
+ synched in timed relation with a moving image.
80
+
81
+ b. Adapter's License means the license You apply to Your Copyright
82
+ and Similar Rights in Your contributions to Adapted Material in
83
+ accordance with the terms and conditions of this Public License.
84
+
85
+ c. Copyright and Similar Rights means copyright and/or similar rights
86
+ closely related to copyright including, without limitation,
87
+ performance, broadcast, sound recording, and Sui Generis Database
88
+ Rights, without regard to how the rights are labeled or
89
+ categorized. For purposes of this Public License, the rights
90
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
91
+ Rights.
92
+
93
+ d. Effective Technological Measures means those measures that, in the
94
+ absence of proper authority, may not be circumvented under laws
95
+ fulfilling obligations under Article 11 of the WIPO Copyright
96
+ Treaty adopted on December 20, 1996, and/or similar international
97
+ agreements.
98
+
99
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
100
+ any other exception or limitation to Copyright and Similar Rights
101
+ that applies to Your use of the Licensed Material.
102
+
103
+ f. Licensed Material means the artistic or literary work, database,
104
+ or other material to which the Licensor applied this Public
105
+ License.
106
+
107
+ g. Licensed Rights means the rights granted to You subject to the
108
+ terms and conditions of this Public License, which are limited to
109
+ all Copyright and Similar Rights that apply to Your use of the
110
+ Licensed Material and that the Licensor has authority to license.
111
+
112
+ h. Licensor means the individual(s) or entity(ies) granting rights
113
+ under this Public License.
114
+
115
+ i. Share means to provide material to the public by any means or
116
+ process that requires permission under the Licensed Rights, such
117
+ as reproduction, public display, public performance, distribution,
118
+ dissemination, communication, or importation, and to make material
119
+ available to the public including in ways that members of the
120
+ public may access the material from a place and at a time
121
+ individually chosen by them.
122
+
123
+ j. Sui Generis Database Rights means rights other than copyright
124
+ resulting from Directive 96/9/EC of the European Parliament and of
125
+ the Council of 11 March 1996 on the legal protection of databases,
126
+ as amended and/or succeeded, as well as other essentially
127
+ equivalent rights anywhere in the world.
128
+
129
+ k. You means the individual or entity exercising the Licensed Rights
130
+ under this Public License. Your has a corresponding meaning.
131
+
132
+
133
+ Section 2 -- Scope.
134
+
135
+ a. License grant.
136
+
137
+ 1. Subject to the terms and conditions of this Public License,
138
+ the Licensor hereby grants You a worldwide, royalty-free,
139
+ non-sublicensable, non-exclusive, irrevocable license to
140
+ exercise the Licensed Rights in the Licensed Material to:
141
+
142
+ a. reproduce and Share the Licensed Material, in whole or
143
+ in part; and
144
+
145
+ b. produce, reproduce, and Share Adapted Material.
146
+
147
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
148
+ Exceptions and Limitations apply to Your use, this Public
149
+ License does not apply, and You do not need to comply with
150
+ its terms and conditions.
151
+
152
+ 3. Term. The term of this Public License is specified in Section
153
+ 6(a).
154
+
155
+ 4. Media and formats; technical modifications allowed. The
156
+ Licensor authorizes You to exercise the Licensed Rights in
157
+ all media and formats whether now known or hereafter created,
158
+ and to make technical modifications necessary to do so. The
159
+ Licensor waives and/or agrees not to assert any right or
160
+ authority to forbid You from making technical modifications
161
+ necessary to exercise the Licensed Rights, including
162
+ technical modifications necessary to circumvent Effective
163
+ Technological Measures. For purposes of this Public License,
164
+ simply making modifications authorized by this Section 2(a)
165
+ (4) never produces Adapted Material.
166
+
167
+ 5. Downstream recipients.
168
+
169
+ a. Offer from the Licensor -- Licensed Material. Every
170
+ recipient of the Licensed Material automatically
171
+ receives an offer from the Licensor to exercise the
172
+ Licensed Rights under the terms and conditions of this
173
+ Public License.
174
+
175
+ b. No downstream restrictions. You may not offer or impose
176
+ any additional or different terms or conditions on, or
177
+ apply any Effective Technological Measures to, the
178
+ Licensed Material if doing so restricts exercise of the
179
+ Licensed Rights by any recipient of the Licensed
180
+ Material.
181
+
182
+ 6. No endorsement. Nothing in this Public License constitutes or
183
+ may be construed as permission to assert or imply that You
184
+ are, or that Your use of the Licensed Material is, connected
185
+ with, or sponsored, endorsed, or granted official status by,
186
+ the Licensor or others designated to receive attribution as
187
+ provided in Section 3(a)(1)(A)(i).
188
+
189
+ b. Other rights.
190
+
191
+ 1. Moral rights, such as the right of integrity, are not
192
+ licensed under this Public License, nor are publicity,
193
+ privacy, and/or other similar personality rights; however, to
194
+ the extent possible, the Licensor waives and/or agrees not to
195
+ assert any such rights held by the Licensor to the limited
196
+ extent necessary to allow You to exercise the Licensed
197
+ Rights, but not otherwise.
198
+
199
+ 2. Patent and trademark rights are not licensed under this
200
+ Public License.
201
+
202
+ 3. To the extent possible, the Licensor waives any right to
203
+ collect royalties from You for the exercise of the Licensed
204
+ Rights, whether directly or through a collecting society
205
+ under any voluntary or waivable statutory or compulsory
206
+ licensing scheme. In all other cases the Licensor expressly
207
+ reserves any right to collect such royalties.
208
+
209
+
210
+ Section 3 -- License Conditions.
211
+
212
+ Your exercise of the Licensed Rights is expressly made subject to the
213
+ following conditions.
214
+
215
+ a. Attribution.
216
+
217
+ 1. If You Share the Licensed Material (including in modified
218
+ form), You must:
219
+
220
+ a. retain the following if it is supplied by the Licensor
221
+ with the Licensed Material:
222
+
223
+ i. identification of the creator(s) of the Licensed
224
+ Material and any others designated to receive
225
+ attribution, in any reasonable manner requested by
226
+ the Licensor (including by pseudonym if
227
+ designated);
228
+
229
+ ii. a copyright notice;
230
+
231
+ iii. a notice that refers to this Public License;
232
+
233
+ iv. a notice that refers to the disclaimer of
234
+ warranties;
235
+
236
+ v. a URI or hyperlink to the Licensed Material to the
237
+ extent reasonably practicable;
238
+
239
+ b. indicate if You modified the Licensed Material and
240
+ retain an indication of any previous modifications; and
241
+
242
+ c. indicate the Licensed Material is licensed under this
243
+ Public License, and include the text of, or the URI or
244
+ hyperlink to, this Public License.
245
+
246
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
247
+ reasonable manner based on the medium, means, and context in
248
+ which You Share the Licensed Material. For example, it may be
249
+ reasonable to satisfy the conditions by providing a URI or
250
+ hyperlink to a resource that includes the required
251
+ information.
252
+
253
+ 3. If requested by the Licensor, You must remove any of the
254
+ information required by Section 3(a)(1)(A) to the extent
255
+ reasonably practicable.
256
+
257
+ 4. If You Share Adapted Material You produce, the Adapter's
258
+ License You apply must not prevent recipients of the Adapted
259
+ Material from complying with this Public License.
260
+
261
+
262
+ Section 4 -- Sui Generis Database Rights.
263
+
264
+ Where the Licensed Rights include Sui Generis Database Rights that
265
+ apply to Your use of the Licensed Material:
266
+
267
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
268
+ to extract, reuse, reproduce, and Share all or a substantial
269
+ portion of the contents of the database;
270
+
271
+ b. if You include all or a substantial portion of the database
272
+ contents in a database in which You have Sui Generis Database
273
+ Rights, then the database in which You have Sui Generis Database
274
+ Rights (but not its individual contents) is Adapted Material; and
275
+
276
+ c. You must comply with the conditions in Section 3(a) if You Share
277
+ all or a substantial portion of the contents of the database.
278
+
279
+ For the avoidance of doubt, this Section 4 supplements and does not
280
+ replace Your obligations under this Public License where the Licensed
281
+ Rights include other Copyright and Similar Rights.
282
+
283
+
284
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
285
+
286
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
287
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
288
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
289
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
290
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
291
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
292
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
293
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
294
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
295
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
296
+
297
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
298
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
299
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
300
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
301
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
302
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
303
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
304
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
305
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
306
+
307
+ c. The disclaimer of warranties and limitation of liability provided
308
+ above shall be interpreted in a manner that, to the extent
309
+ possible, most closely approximates an absolute disclaimer and
310
+ waiver of all liability.
311
+
312
+
313
+ Section 6 -- Term and Termination.
314
+
315
+ a. This Public License applies for the term of the Copyright and
316
+ Similar Rights licensed here. However, if You fail to comply with
317
+ this Public License, then Your rights under this Public License
318
+ terminate automatically.
319
+
320
+ b. Where Your right to use the Licensed Material has terminated under
321
+ Section 6(a), it reinstates:
322
+
323
+ 1. automatically as of the date the violation is cured, provided
324
+ it is cured within 30 days of Your discovery of the
325
+ violation; or
326
+
327
+ 2. upon express reinstatement by the Licensor.
328
+
329
+ For the avoidance of doubt, this Section 6(b) does not affect any
330
+ right the Licensor may have to seek remedies for Your violations
331
+ of this Public License.
332
+
333
+ c. For the avoidance of doubt, the Licensor may also offer the
334
+ Licensed Material under separate terms or conditions or stop
335
+ distributing the Licensed Material at any time; however, doing so
336
+ will not terminate this Public License.
337
+
338
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
339
+ License.
340
+
341
+
342
+ Section 7 -- Other Terms and Conditions.
343
+
344
+ a. The Licensor shall not be bound by any additional or different
345
+ terms or conditions communicated by You unless expressly agreed.
346
+
347
+ b. Any arrangements, understandings, or agreements regarding the
348
+ Licensed Material not stated herein are separate from and
349
+ independent of the terms and conditions of this Public License.
350
+
351
+
352
+ Section 8 -- Interpretation.
353
+
354
+ a. For the avoidance of doubt, this Public License does not, and
355
+ shall not be interpreted to, reduce, limit, restrict, or impose
356
+ conditions on any use of the Licensed Material that could lawfully
357
+ be made without permission under this Public License.
358
+
359
+ b. To the extent possible, if any provision of this Public License is
360
+ deemed unenforceable, it shall be automatically reformed to the
361
+ minimum extent necessary to make it enforceable. If the provision
362
+ cannot be reformed, it shall be severed from this Public License
363
+ without affecting the enforceability of the remaining terms and
364
+ conditions.
365
+
366
+ c. No term or condition of this Public License will be waived and no
367
+ failure to comply consented to unless expressly agreed to by the
368
+ Licensor.
369
+
370
+ d. Nothing in this Public License constitutes or may be interpreted
371
+ as a limitation upon, or waiver of, any privileges and immunities
372
+ that apply to the Licensor or You, including from the legal
373
+ processes of any jurisdiction or authority.
374
+
375
+
376
+ =======================================================================
377
+
378
+ Creative Commons is not a party to its public
379
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
380
+ its public licenses to material it publishes and in those instances
381
+ will be considered the “Licensor.” The text of the Creative Commons
382
+ public licenses is dedicated to the public domain under the CC0 Public
383
+ Domain Dedication. Except for the limited purpose of indicating that
384
+ material is shared under a Creative Commons public license or as
385
+ otherwise permitted by the Creative Commons policies published at
386
+ creativecommons.org/policies, Creative Commons does not authorize the
387
+ use of the trademark "Creative Commons" or any other trademark or logo
388
+ of Creative Commons without its prior written consent including,
389
+ without limitation, in connection with any unauthorized modifications
390
+ to any of its public licenses or any other arrangements,
391
+ understandings, or agreements concerning use of licensed material. For
392
+ the avoidance of doubt, this paragraph does not form part of the
393
+ public licenses.
394
+
395
+ Creative Commons may be contacted at creativecommons.org.
396
+
provenance.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "SecJev-4B",
3
+ "release_version": "1.2.0",
4
+ "selected_epoch": 3,
5
+ "selection_split": "development",
6
+ "selection_metric": "macro_task_balanced_accuracy",
7
+ "test_used_for_selection": false,
8
+ "base_model": "Qwen/Qwen3.5-4B-Base",
9
+ "base_revision": "1001bb4d826a52d1f399e183466143f4da7b741b",
10
+ "kev_source_commit": "90990a5fac2995b9faa3190f7d437e84f2067768",
11
+ "initialization": "Official jaredpalmer/kev-4b@485ace8703592fcf405488b262449990824cfed1 -> three SecJev-Corpus epochs",
12
+ "official_kev_4b_checkpoint": true,
13
+ "corpus": "SecJev-Corpus v1.0.0",
14
+ "temperature": 1.334968103387446,
15
+ "calibration_questions": 14821,
16
+ "trained_checkpoint_hashes": {
17
+ "adapter_model.safetensors": "0087e92e59b987fea721124d1a3f61b1aca26b3ac01b974032abb60799e7b175",
18
+ "head.pt": "eacdfb24230ef81859f56e164778cc55436298bedc966390aafd47560c8632bf",
19
+ "adapter_config.json": "94aad580ce54a1dfcec0803beaba2c471e17b790f10efe7a481125c81fe1dd02"
20
+ },
21
+ "export_validation": {
22
+ "adapter_bytes_identical": true,
23
+ "decision_head_tensors_identical": true,
24
+ "temperature_identical": true,
25
+ "only_head_metadata_paths_made_portable": true
26
+ }
27
+ }
redo-provenance.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cfg": "spot1",
3
+ "host": "jev-train-1 (DigitalOcean gpu-h100x1-80gb, 159.65.192.220)",
4
+ "wall_utc": "2026-11-03 22:53:41\u201323:03:28 UTC",
5
+ "train_file": "data/bench/train_spot1_t.jsonl",
6
+ "dev_file": "data/bench/dev_spot1_t.jsonl",
7
+ "epochs": 1,
8
+ "lr": 3e-05,
9
+ "batch_questions": 32,
10
+ "tok_budget": 4096,
11
+ "trainable_params": 33776128,
12
+ "dev_reeval": {
13
+ "injection": {
14
+ "n": 500,
15
+ "pos": 250,
16
+ "auc": 0.9327,
17
+ "tpr@0.5": 0.78,
18
+ "fpr@0.5": 0.04
19
+ }
20
+ },
21
+ "checks": {
22
+ "adapter_tensors": 496,
23
+ "adapter_sample_dtypes": [
24
+ "F32"
25
+ ],
26
+ "head_entries": 18,
27
+ "adapter_sha256": "7329ca6cdc831cd32e2e8ec9266763c5255ba9cfda35a8d8536f2e03234a85ab",
28
+ "head_sha256": "0955d746a517b2d18762ebadd79d2c3ff6fef7209853f15580be917aeec3f753"
29
+ }
30
+ }
redo-training-log.jsonl ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"epoch": 0, "dev_n": 500, "dev_pos": 500, "auc": 0.0, "eval_seconds": 14.9, "eval_batched": true, "tpr@0.5": 0.0, "fpr@0.5": 0.0, "tpr@0.9": 0.0, "fpr@0.9": 0.0}
2
+ {"step": 10, "of": 94, "loss": 0.5835317457094789, "lr": 2.9790281926131377e-05, "min": 0.9546189427375793}
3
+ {"step": 20, "of": 94, "loss": 0.7127825047355145, "lr": 2.815142971168314e-05, "min": 1.9240359663963318}
4
+ {"step": 30, "of": 94, "loss": 0.6041857600212097, "lr": 2.507581554661477e-05, "min": 2.8398680011431376}
5
+ {"step": 40, "of": 94, "loss": 0.549810940399766, "lr": 2.0942699789226136e-05, "min": 3.844523346424103}
6
+ {"step": 50, "of": 94, "loss": 0.29305092990398407, "lr": 1.6261745511317765e-05, "min": 4.810229921340943}
7
+ {"step": 60, "of": 94, "loss": 0.1917044112469739, "lr": 1.1610170888299289e-05, "min": 5.762105715274811}
8
+ {"step": 70, "of": 94, "loss": 0.370209006476216, "lr": 7.561571229433195e-06, "min": 6.755159330368042}
9
+ {"step": 80, "of": 94, "loss": 0.29663539375178516, "lr": 4.615187751213268e-06, "min": 7.711248743534088}
10
+ {"step": 90, "of": 94, "loss": 0.31297091022133827, "lr": 3.134345108054867e-06, "min": 8.687825175126394}
11
+ {"epoch": 1, "dev_n": 500, "dev_pos": 500, "auc": 0.0, "eval_seconds": 13.4, "eval_batched": true, "tpr@0.5": 0.0, "fpr@0.5": 0.0, "tpr@0.9": 0.0, "fpr@0.9": 0.0}
redo-training.stdout.txt ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ device cuda
2
+ dtype fp32
3
+ [transformers] The fast path is not available because one of the required library is not installed. Falling back to torch implementation. To install follow https://github.com/fla-org/flash-linear-attention#installation and https://github.com/Dao-AILab/causal-conv1d
4
+
5
+ trainable 33776128
6
+ train encoded 3000 skipped_over_window 0
7
+ dev encoded 500 skipped_over_window 0
8
+ /root/venv/lib/python3.12/site-packages/triton/backends/nvidia/driver.c:9:10: fatal error: Python.h: No such file or directory
9
+ 9 | #include <Python.h>
10
+ | ^~~~~~~~~~
11
+ compilation terminated.
12
+ EVAL {"epoch": 0, "dev_n": 500, "dev_pos": 500, "auc": 0.0, "eval_seconds": 14.9, "eval_batched": true, "tpr@0.5": 0.0, "fpr@0.5": 0.0, "tpr@0.9": 0.0, "fpr@0.9": 0.0}
13
+ /root/work/ft_action.py:173: UserWarning: Converting a tensor with requires_grad=True to a scalar may lead to unexpected behavior.
14
+ Consider using tensor.detach() first. (Triggered internally at /__w/pytorch/pytorch/torch/csrc/autograd/generated/python_variable_methods.cpp:820.)
15
+ (loss / nq).backward(); tot += float(loss)
16
+ STEP {"step": 10, "of": 94, "loss": 0.5835317457094789, "lr": 2.9790281926131377e-05, "min": 0.9546189427375793}
17
+ STEP {"step": 20, "of": 94, "loss": 0.7127825047355145, "lr": 2.815142971168314e-05, "min": 1.9240359663963318}
18
+ STEP {"step": 30, "of": 94, "loss": 0.6041857600212097, "lr": 2.507581554661477e-05, "min": 2.8398680011431376}
19
+ STEP {"step": 40, "of": 94, "loss": 0.549810940399766, "lr": 2.0942699789226136e-05, "min": 3.844523346424103}
20
+ STEP {"step": 50, "of": 94, "loss": 0.29305092990398407, "lr": 1.6261745511317765e-05, "min": 4.810229921340943}
21
+ STEP {"step": 60, "of": 94, "loss": 0.1917044112469739, "lr": 1.1610170888299289e-05, "min": 5.762105715274811}
22
+ STEP {"step": 70, "of": 94, "loss": 0.370209006476216, "lr": 7.561571229433195e-06, "min": 6.755159330368042}
23
+ STEP {"step": 80, "of": 94, "loss": 0.29663539375178516, "lr": 4.615187751213268e-06, "min": 7.711248743534088}
24
+ STEP {"step": 90, "of": 94, "loss": 0.31297091022133827, "lr": 3.134345108054867e-06, "min": 8.687825175126394}
25
+ Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
26
+ SAVED /root/work/ft/secjev_spot1/epoch1
27
+ EVAL {"epoch": 1, "dev_n": 500, "dev_pos": 500, "auc": 0.0, "eval_seconds": 13.4, "eval_batched": true, "tpr@0.5": 0.0, "fpr@0.5": 0.0, "tpr@0.9": 0.0, "fpr@0.9": 0.0}
28
+ TRAIN_DONE
requirements.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ torch==2.6.0
2
+ transformers==5.17.0
3
+ peft==0.21.0
4
+ triton==3.2.0; sys_platform == "linux"
5
+ flash-linear-attention==0.4.2
6
+ fla-core==0.4.2
7
+ accelerate
8
+ datasets
9
+ pydantic>=2.9
10
+ huggingface-hub
11
+ safetensors
security-training-config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epochs": 3,
3
+ "initialization": "Official jaredpalmer/kev-4b@485ace8703592fcf405488b262449990824cfed1, then SecJev-Corpus",
4
+ "optimizer": "fresh AdamW, no loaded optimizer moments; retained continuously through all epochs",
5
+ "global_question_batches": {
6
+ "1": 128,
7
+ "2": 192,
8
+ "3": 192
9
+ },
10
+ "steps_per_epoch": [
11
+ 929,
12
+ 619,
13
+ 619
14
+ ],
15
+ "lr": "epoch1 peak2e-5 with5%warmup/cosine to2e-6; epochs2+3 peak1e-5 with5%warmup from2e-6/cosine to1e-6",
16
+ "objective": "per-scene mean cross entropy",
17
+ "weight_decay": 0.01,
18
+ "grad_clip": 1.0,
19
+ "world_size": 9,
20
+ "comparison": "same security recipe as 0.8B/2B, official Kev-4B warm start, nine GPUs with memory-bounded microbatches",
21
+ "train_questions_per_epoch": 118818,
22
+ "replay": 0,
23
+ "augmentation": false,
24
+ "no_truncation": true,
25
+ "context_limit": 8192,
26
+ "test_use": "all3finalepochs predeclared for audit; selection uses full development only"
27
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
3
+ size 19989325
tokenizer_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "audio_bos_token": "<|audio_start|>",
4
+ "audio_eos_token": "<|audio_end|>",
5
+ "audio_token": "<|audio_pad|>",
6
+ "backend": "tokenizers",
7
+ "bos_token": null,
8
+ "clean_up_tokenization_spaces": false,
9
+ "eos_token": "<|endoftext|>",
10
+ "errors": "replace",
11
+ "image_token": "<|image_pad|>",
12
+ "is_local": true,
13
+ "local_files_only": true,
14
+ "model_max_length": 262144,
15
+ "model_specific_special_tokens": {
16
+ "audio_bos_token": "<|audio_start|>",
17
+ "audio_eos_token": "<|audio_end|>",
18
+ "audio_token": "<|audio_pad|>",
19
+ "image_token": "<|image_pad|>",
20
+ "video_token": "<|video_pad|>",
21
+ "vision_bos_token": "<|vision_start|>",
22
+ "vision_eos_token": "<|vision_end|>"
23
+ },
24
+ "pad_token": "<|endoftext|>",
25
+ "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null,
29
+ "video_token": "<|video_pad|>",
30
+ "vision_bos_token": "<|vision_start|>",
31
+ "vision_eos_token": "<|vision_end|>"
32
+ }