Configuration
Configure thresholds, weights, and behavior
Configuration Options
| Parameter | Type | Default | Description |
iter_budget | int | 100 | Planning iterations (1-65535) |
conf_min | float | 0.25 | Minimum confidence threshold |
coh_min | float | 0.25 | Minimum coherence threshold |
cons_min | float | 0.25 | Minimum consistency threshold |
weight_c | float | 0.33 | Confidence weight |
weight_h | float | 0.33 | Coherence weight |
weight_k | float | 0.33 | Consistency weight |
Setting Defaults
from thalosforge import ATA, ATAConfig
# Set defaults at initialization
ata = ATA(config=ATAConfig(
iter_budget=200,
conf_min=0.3,
weight_c=0.5,
weight_h=0.3,
weight_k=0.2
))
Runtime Configuration
# Update defaults at runtime
ata.configure(
iter_budget=150,
conf_min=0.2
)
Per-Request Configuration
# Override for a single request
result = ata.decide(
actions=[0, 1, 2],
config=ATAConfig(iter_budget=50)
)
Tuning Guidelines
- High iteration budget: Better decisions, higher latency
- Lower thresholds: More actions considered, less filtering
- Weight distribution: Prioritize what matters most for your use case