File size: 4,300 Bytes
98746ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
  "adapter_exported": true,
  "auto_lora_from_ia3": false,
  "best_epoch": 4,
  "best_quality_score": 0.46349615617231893,
  "dataset_summary": {
    "eval_size": 25,
    "modes": [
      "argument_shaping",
      "harness_envelope",
      "precondition_gating",
      "receipt_and_validation",
      "reverse_engineering",
      "runtime_session",
      "self_check_loop",
      "tool_trigger",
      "worktree_permission"
    ],
    "tools": [
      "apply_patch_bundle",
      "browser_search",
      "repo_reverse_engineer",
      "run_ci_validation",
      "self_check_repair_loop"
    ],
    "train_size": 70
  },
  "epochs_completed": 5,
  "eval_metrics": {
    "adapter_exported": true,
    "auto_lora_from_ia3": false,
    "avg_binary_accuracy": 0.81,
    "best_epoch": 4,
    "best_quality_score": 0.46349615617231893,
    "confirmation_required_accuracy": 0.8,
    "count": 25,
    "eval_batches": 25,
    "eval_loss": 6.897225952148437,
    "mode_accuracy": 0.56,
    "peft_method": "lora_narrow",
    "permission_bit_accuracy": 0.8545454545454545,
    "precondition_ok_accuracy": 0.76,
    "quality_score": 0.46349615617231893,
    "rollback_supported_accuracy": 0.8,
    "schema_ok_accuracy": 0.76,
    "session_required_accuracy": 1.0,
    "tool_accuracy": 0.44,
    "trigger_accuracy": 0.76,
    "used_peft": true,
    "validator_required_accuracy": 0.8,
    "worktree_required_accuracy": 0.8
  },
  "load_meta": {
    "chosen_class": "AutoModelForCausalLM",
    "hidden_size": 2048,
    "quantization_mode": "4bit"
  },
  "mode_vocab": [
    "tool_trigger",
    "argument_shaping",
    "precondition_gating",
    "receipt_and_validation",
    "harness_envelope",
    "runtime_session",
    "worktree_permission",
    "self_check_loop",
    "reverse_engineering"
  ],
  "peft_method": "lora_narrow",
  "requested_method": "lora_narrow",
  "requested_target_modules": [
    "request_normalizer",
    "request_normalizer.adapter",
    "runtime_harness_adapter",
    "runtime_harness_adapter.bridge",
    "tool_protocol_adapter",
    "tool_protocol_adapter.bridge",
    "toolspec_bridge",
    "toolspec_bridge.adapter",
    "toolspec_head",
    "toolspec_head.param_schema_adapter",
    "toolspec_head.postcondition_adapter",
    "toolspec_head.precondition_adapter",
    "toolspec_head.receipt_formatter",
    "toolspec_head.trigger_gate",
    "toolspec_head.validator_gate",
    "validator_feedback_bridge",
    "validator_feedback_bridge.adapter"
  ],
  "resolved_target_modules": [
    "surface_host.request_normalizer.adapter",
    "surface_host.runtime_harness_adapter.bridge",
    "surface_host.tool_protocol_adapter.bridge",
    "surface_host.toolspec_bridge.adapter",
    "surface_host.toolspec_head.param_schema_adapter",
    "surface_host.toolspec_head.postcondition_adapter",
    "surface_host.toolspec_head.precondition_adapter",
    "surface_host.toolspec_head.receipt_formatter",
    "surface_host.toolspec_head.trigger_gate",
    "surface_host.toolspec_head.validator_gate",
    "surface_host.validator_feedback_bridge.adapter"
  ],
  "selected_target_modules": [
    "request_normalizer",
    "request_normalizer.adapter",
    "runtime_harness_adapter",
    "runtime_harness_adapter.bridge",
    "tool_protocol_adapter",
    "tool_protocol_adapter.bridge",
    "toolspec_bridge",
    "toolspec_bridge.adapter",
    "toolspec_head",
    "toolspec_head.param_schema_adapter",
    "toolspec_head.postcondition_adapter",
    "toolspec_head.precondition_adapter",
    "toolspec_head.receipt_formatter",
    "toolspec_head.trigger_gate",
    "toolspec_head.validator_gate",
    "validator_feedback_bridge",
    "validator_feedback_bridge.adapter"
  ],
  "status": "trained",
  "tool_vocab": [
    "apply_patch_bundle",
    "browser_search",
    "repo_reverse_engineer",
    "run_ci_validation",
    "self_check_repair_loop"
  ],
  "train_metrics": {
    "adapter_exported": true,
    "auto_lora_from_ia3": false,
    "best_epoch": 4,
    "best_quality_score": 0.46349615617231893,
    "epochs_completed": 5,
    "loss": 0.42175399448190415,
    "micro_batches": 70,
    "micro_batches_total": 350,
    "optimizer_steps": 5,
    "optimizer_steps_total": 25,
    "peft_method": "lora_narrow",
    "used_peft": true
  },
  "unresolved_target_modules": [],
  "used_peft": true
}