agent-learning 0.6.0__tar.gz → 0.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agent_learning-0.6.0/src/agent_learning.egg-info → agent_learning-0.7.0}/PKG-INFO +11 -7
- {agent_learning-0.6.0 → agent_learning-0.7.0}/PYPI.md +10 -6
- {agent_learning-0.6.0 → agent_learning-0.7.0}/README.md +52 -12
- {agent_learning-0.6.0 → agent_learning-0.7.0}/pyproject.toml +1 -1
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/__init__.py +13 -1
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/_version.py +1 -1
- agent_learning-0.7.0/src/agent_learning/autonomy.py +513 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/cli.py +113 -8
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/config.py +76 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0/src/agent_learning.egg-info}/PKG-INFO +11 -7
- agent_learning-0.7.0/tests/test_autonomy.py +489 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_cli.py +229 -1
- agent_learning-0.6.0/src/agent_learning/autonomy.py +0 -221
- agent_learning-0.6.0/tests/test_autonomy.py +0 -136
- {agent_learning-0.6.0 → agent_learning-0.7.0}/LICENSE +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/setup.cfg +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/capture.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/classifiers/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/classifiers/base.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/classifiers/router.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/classifiers/scorers/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/classifiers/scorers/_base.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/classifiers/scorers/adherence.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/classifiers/scorers/completion.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/classifiers/scorers/intent.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/learners/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/learners/base.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/learners/reinforce.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/metrics/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/metrics/base.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/metrics/intent_resolution.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/metrics/local.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/metrics/registry.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/metrics/task_adherence.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/metrics/task_completion.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/policy/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/policy/base.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/policy/contextual_softmax.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/policy/softmax_bandit.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/py.typed +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/rewards/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/rewards/shaping.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/rewards/writer.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/base.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/llm/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/llm/_base.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/llm/adherence.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/llm/completion.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/llm/intent.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/nlp/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/nlp/_base.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/nlp/adherence.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/nlp/completion.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/nlp/intent.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/nlp_text/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/nlp_text/_base.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/nlp_text/adherence.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/nlp_text/completion.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/nlp_text/intent.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/slm/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/slm/_base.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/slm/adherence.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/slm/completion.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/slm/intent.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/stdlib/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/stdlib/_text.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/stdlib/adherence.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/stdlib/completion.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/scorers/stdlib/intent.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/storage/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/storage/base.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/storage/cosmos.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/storage/local.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/storage/memory.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/training/__init__.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/training/runner.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning/types.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning.egg-info/SOURCES.txt +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning.egg-info/dependency_links.txt +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning.egg-info/entry_points.txt +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning.egg-info/requires.txt +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/src/agent_learning.egg-info/top_level.txt +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_capture.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_contextual_policy.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_default_store.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_end_to_end.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_learner.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_metrics_local.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_policy.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_scorers.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_scorers_llm.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_scorers_nlp_text.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_scorers_slm.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_scorers_stdlib.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_shaping.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_storage_local.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_storage_memory.py +0 -0
- {agent_learning-0.6.0 → agent_learning-0.7.0}/tests/test_types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-learning
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: Evidence-driven decision learning for AI agents with inspectable autonomy gates.
|
|
5
5
|
Author: Chris Tava
|
|
6
6
|
License: MIT License
|
|
@@ -87,11 +87,15 @@ The SDK improves agents without LLM weight fine-tuning. There are no GPU fine-tu
|
|
|
87
87
|
action plus historical correctness, reward, result summaries, and per-metric
|
|
88
88
|
quality feedback for the agent to use on its next delegated decision.
|
|
89
89
|
|
|
90
|
-
It also returns
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
90
|
+
It also returns a complexity-proportional autonomy assessment. A persisted
|
|
91
|
+
profile covers intent ambiguity, context variability, outcome observability,
|
|
92
|
+
decision impact, reversibility, and mandatory approval; action-space size is
|
|
93
|
+
derived. The resulting low, standard, high, or critical tier scales required
|
|
94
|
+
outcomes, Wilson confidence, reward, probability, margin, stable snapshots, and
|
|
95
|
+
drift-audit rate. Autonomous executions continue learning from observable
|
|
96
|
+
outcomes, while tier-scaled samples request user feedback to detect drift.
|
|
97
|
+
An explicit accepted-feedback episode is a separate durable authorization path:
|
|
98
|
+
it pins that action for the task policy and suppresses future feedback prompts
|
|
99
|
+
until the user explicitly rejects it.
|
|
96
100
|
|
|
97
101
|
Every episode, reward, run, and deployment is captured by the configured store — in-memory or local files by default, or Azure Cosmos DB — giving you a complete lineage and audit trail of how the policy evolved over time.
|
|
@@ -20,11 +20,15 @@ The SDK improves agents without LLM weight fine-tuning. There are no GPU fine-tu
|
|
|
20
20
|
action plus historical correctness, reward, result summaries, and per-metric
|
|
21
21
|
quality feedback for the agent to use on its next delegated decision.
|
|
22
22
|
|
|
23
|
-
It also returns
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
It also returns a complexity-proportional autonomy assessment. A persisted
|
|
24
|
+
profile covers intent ambiguity, context variability, outcome observability,
|
|
25
|
+
decision impact, reversibility, and mandatory approval; action-space size is
|
|
26
|
+
derived. The resulting low, standard, high, or critical tier scales required
|
|
27
|
+
outcomes, Wilson confidence, reward, probability, margin, stable snapshots, and
|
|
28
|
+
drift-audit rate. Autonomous executions continue learning from observable
|
|
29
|
+
outcomes, while tier-scaled samples request user feedback to detect drift.
|
|
30
|
+
An explicit accepted-feedback episode is a separate durable authorization path:
|
|
31
|
+
it pins that action for the task policy and suppresses future feedback prompts
|
|
32
|
+
until the user explicitly rejects it.
|
|
29
33
|
|
|
30
34
|
Every episode, reward, run, and deployment is captured by the configured store — in-memory or local files by default, or Azure Cosmos DB — giving you a complete lineage and audit trail of how the policy evolved over time.
|
|
@@ -13,7 +13,7 @@ user-visible outcome, scores the evidence, and applies a small CPU update to
|
|
|
13
13
|
the next decision.
|
|
14
14
|
|
|
15
15
|
<p align="center">
|
|
16
|
-
<img src="images/agent-decision-making.svg" alt="Animated agentic decision loop: choose
|
|
16
|
+
<img src="images/agent-decision-making.svg" alt="Animated agentic decision loop: choose, execute, score, improve, then become autonomous through explicit user acceptance or proportional statistical evidence" width="960" style="max-width:100%; height:auto;" />
|
|
17
17
|
</p>
|
|
18
18
|
|
|
19
19
|
## The decision loop
|
|
@@ -22,9 +22,10 @@ the next decision.
|
|
|
22
22
|
least two actions the agent can actually execute. A TaskPolicy owns the
|
|
23
23
|
probability distribution for that `(agent_id, task_id)` pair.
|
|
24
24
|
|
|
25
|
-
2. **Choose and execute.** `task-policy-decide` samples
|
|
26
|
-
|
|
27
|
-
The agent
|
|
25
|
+
2. **Choose and execute.** `task-policy-decide` samples from the active softmax
|
|
26
|
+
policy while supervised, then uses the stable winner greedily after autonomy
|
|
27
|
+
is earned. The agent consumes learned feedback and executes the selected
|
|
28
|
+
action.
|
|
28
29
|
|
|
29
30
|
3. **Observe and score.** A completed episode preserves the decision context,
|
|
30
31
|
selected action, output, result summary, latency, and independently
|
|
@@ -36,12 +37,12 @@ the next decision.
|
|
|
36
37
|
probability, worse-than-usual choices lose probability, and exploration
|
|
37
38
|
remains available.
|
|
38
39
|
|
|
39
|
-
5. **Earn autonomy.** `task-policy-decide` stops routine confirmation
|
|
40
|
-
the recommended action passes every evidence gate
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
5. **Earn or grant autonomy.** `task-policy-decide` stops routine confirmation
|
|
41
|
+
when the recommended action passes every evidence gate or the user explicitly
|
|
42
|
+
accepts an action for that task policy. Explicit acceptance is durable, pins
|
|
43
|
+
the accepted action, and disables repeat feedback prompts until a later
|
|
44
|
+
rejection. Statistical thresholds and drift audits still scale with the
|
|
45
|
+
persisted complexity profile. Autonomous actions record observable outcomes.
|
|
45
46
|
|
|
46
47
|
Everything runs in the existing Python process. Scoring is local by default;
|
|
47
48
|
configured Azure AI evaluators remain available as an opt-in. Stores can be
|
|
@@ -71,6 +72,10 @@ never consumed.
|
|
|
71
72
|
The response also contains an `autonomy` block. Agents must follow
|
|
72
73
|
`execute_without_confirmation`, `request_user_feedback`, and
|
|
73
74
|
`outcome_recording` rather than inventing their own confidence threshold.
|
|
75
|
+
`autonomy.complexity` explains the declared profile, derived action-space
|
|
76
|
+
points, risk floors, tier, and resolved proportional criteria.
|
|
77
|
+
`authorization_basis` distinguishes explicit `user_acceptance` from
|
|
78
|
+
`statistical_evidence`.
|
|
74
79
|
|
|
75
80
|
## Install
|
|
76
81
|
|
|
@@ -121,6 +126,20 @@ Define actions the agent can really execute in `actions.json`:
|
|
|
121
126
|
]
|
|
122
127
|
```
|
|
123
128
|
|
|
129
|
+
Declare intent and decision complexity in `complexity.json`:
|
|
130
|
+
|
|
131
|
+
```json
|
|
132
|
+
{
|
|
133
|
+
"intent_ambiguity": "medium",
|
|
134
|
+
"context_variability": "variable",
|
|
135
|
+
"outcome_observability": "direct",
|
|
136
|
+
"decision_impact": "medium",
|
|
137
|
+
"reversibility": "costly",
|
|
138
|
+
"requires_human_approval": false,
|
|
139
|
+
"rationale": "Repository search is bounded and directly observable."
|
|
140
|
+
}
|
|
141
|
+
```
|
|
142
|
+
|
|
124
143
|
Initialize the decision once, then ask the active policy what to execute:
|
|
125
144
|
|
|
126
145
|
```powershell
|
|
@@ -128,7 +147,8 @@ agent-learn task-policy-init `
|
|
|
128
147
|
--agent-id code-reviewer `
|
|
129
148
|
--task-id choose-repository-search `
|
|
130
149
|
--decision-context "Choose a repository search strategy for a coding task" `
|
|
131
|
-
--actions .\actions.json
|
|
150
|
+
--actions .\actions.json `
|
|
151
|
+
--complexity-profile .\complexity.json
|
|
132
152
|
|
|
133
153
|
agent-learn task-policy-decide `
|
|
134
154
|
--agent-id code-reviewer `
|
|
@@ -165,6 +185,23 @@ python tests/functional_cli_interactive.py
|
|
|
165
185
|
python tests/functional_cli_batch.py
|
|
166
186
|
```
|
|
167
187
|
|
|
188
|
+
## Visualizing autonomy
|
|
189
|
+
|
|
190
|
+
The animated SVG above shows the full five-stage loop. The retained
|
|
191
|
+
[learning-loop SVG](images/agent-learning-loop.svg) keeps the compact
|
|
192
|
+
TaskPolicy → Score → Learner view and places explicit acceptance and statistical
|
|
193
|
+
evidence routes on its return path.
|
|
194
|
+
|
|
195
|
+
Render the decision animation with Manim:
|
|
196
|
+
|
|
197
|
+
```powershell
|
|
198
|
+
.\animiations\run_animation.ps1 `
|
|
199
|
+
-Script decision_making_animation.py `
|
|
200
|
+
-Scene AgentDecisionMaking `
|
|
201
|
+
-Quality h `
|
|
202
|
+
-Preview
|
|
203
|
+
```
|
|
204
|
+
|
|
168
205
|
## Usage
|
|
169
206
|
|
|
170
207
|
The `agent-learn` CLI provides the decision lifecycle and inspection
|
|
@@ -176,7 +213,8 @@ agent-learn --version
|
|
|
176
213
|
agent-learn tasks-list <agent_id> [--decision-only]
|
|
177
214
|
agent-learn task-episodes-count <agent_id> [--task-id <task_id>] [--include-incomplete] [--start-date <date>] [--end-date <date>]
|
|
178
215
|
agent-learn task-episodes-list <agent_id> [--task-id <task_id>] [--limit <1-500>] [--include-incomplete] [--start-date <date>] [--end-date <date>]
|
|
179
|
-
agent-learn task-policy-init --agent-id <agent_id> --task-id <task_id> --decision-context <context> --actions ./actions.json
|
|
216
|
+
agent-learn task-policy-init --agent-id <agent_id> --task-id <task_id> --decision-context <context> --actions ./actions.json [--complexity-profile ./complexity.json]
|
|
217
|
+
agent-learn task-policy-complexity-set --agent-id <agent_id> --task-id <task_id> --profile ./complexity.json
|
|
180
218
|
agent-learn task-policy-decide --agent-id <agent_id> --task-id <task_id> [--history-limit <1-500>] [--greedy] [--seed <integer>]
|
|
181
219
|
agent-learn task-episode-register --agent-id <agent_id> --task-id <task_id> --episode ./episode.json [--require-decision-policy]
|
|
182
220
|
agent-learn score --agent-id <agent_id> [--task-id <task_id>] [--limit <1-500>]
|
|
@@ -188,6 +226,8 @@ agent-learn task-policy --agent-id <agent_id> --task-id <task_id>
|
|
|
188
226
|
|
|
189
227
|
- [Agentic decision making](docs/decision-making.md): concepts, evidence,
|
|
190
228
|
workflow, math, and deployment.
|
|
229
|
+
- [Complexity-proportional autonomy](docs/autonomy-complexity.md): declared
|
|
230
|
+
complexity dimensions, tier calculation, risk floors, and scaled gates.
|
|
191
231
|
- [Scout decision integration](docs/scout-agent-learn-skill.md): apply learned
|
|
192
232
|
delegated decisions during execution.
|
|
193
233
|
- [Scout decision training](docs/scout-automation-agent-learning.md): train
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "agent-learning"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.7.0"
|
|
8
8
|
description = "Evidence-driven decision learning for AI agents with inspectable autonomy gates."
|
|
9
9
|
readme = "PYPI.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -56,7 +56,14 @@ Quick start::
|
|
|
56
56
|
"""
|
|
57
57
|
|
|
58
58
|
from ._version import __version__
|
|
59
|
-
from .autonomy import
|
|
59
|
+
from .autonomy import (
|
|
60
|
+
AutonomyAssessment,
|
|
61
|
+
ComplexityAssessment,
|
|
62
|
+
ComplexityProfile,
|
|
63
|
+
assess_autonomy,
|
|
64
|
+
assess_complexity,
|
|
65
|
+
wilson_lower_bound,
|
|
66
|
+
)
|
|
60
67
|
from .capture import CaptureContext, EpisodeCapture, get_capture
|
|
61
68
|
from .classifiers import (
|
|
62
69
|
AdherenceScorer,
|
|
@@ -68,6 +75,7 @@ from .classifiers import (
|
|
|
68
75
|
)
|
|
69
76
|
from .config import (
|
|
70
77
|
AutonomyConfig,
|
|
78
|
+
AutonomyTier,
|
|
71
79
|
CaptureConfig,
|
|
72
80
|
CosmosConfig,
|
|
73
81
|
ScoreConfig,
|
|
@@ -113,6 +121,7 @@ __all__ = [
|
|
|
113
121
|
"Action",
|
|
114
122
|
"AutonomyAssessment",
|
|
115
123
|
"AutonomyConfig",
|
|
124
|
+
"AutonomyTier",
|
|
116
125
|
"AdherenceScorer",
|
|
117
126
|
"AgentSummary",
|
|
118
127
|
"AgentTaskSummary",
|
|
@@ -121,6 +130,8 @@ __all__ = [
|
|
|
121
130
|
"Classifier",
|
|
122
131
|
"ClassifierResult",
|
|
123
132
|
"CompletionScorer",
|
|
133
|
+
"ComplexityAssessment",
|
|
134
|
+
"ComplexityProfile",
|
|
124
135
|
"ContextualSoftmaxPolicy",
|
|
125
136
|
"CosmosConfig",
|
|
126
137
|
"CosmosStore",
|
|
@@ -157,6 +168,7 @@ __all__ = [
|
|
|
157
168
|
"TrainingStatus",
|
|
158
169
|
"__version__",
|
|
159
170
|
"assess_autonomy",
|
|
171
|
+
"assess_complexity",
|
|
160
172
|
"default_metrics",
|
|
161
173
|
"evaluate_all",
|
|
162
174
|
"get_capture",
|