Tags: adrida/tracer
Tags
fix(fit,runtime): guard against all-candidate failures and stale pipe… …line (0.3.3) When all surrogate candidates fail to train, search_best_surrogate() returns (None, None, None). build_global() and _build_accepting_stage() now check for a None clf before proceeding and return a structured failure state instead of crashing with a TypeError. Router.load() would silently load a stale pipeline.joblib left on disk from a previous fit, even when manifest.json reports selected_method: null. It now raises a clear ValueError explaining the state so the caller is never silently served a pipeline the parity gate already rejected.
fix(traces): correct line number in load_traces() error messages (0.3.2) load_traces() used len(records)+1 as the error line number, which excluded blank lines and reported a lower-than-actual position. Fixed with enumerate(f, start=1) so the message always points at the real file line. Closes #57.
fix(cloud cli): accept tracer slug or id, --json on key create, anon … …scan (0.3.1) - _resolve_tracer queries by slug when the ref is not a UUID (the id column is uuid-typed, so a slug as an id filter 400s before any fallback). - keys/ingest-keys create honor --json and emit the created record as JSON. - scan runs without a session (public endpoint) and sends a first-party Origin so the same-origin guard passes for the anonymous flow. - bump to 0.3.1.
release: bump to v0.1.3 (#8) Ships everything since 0.1.1 (0.1.2 was bumped in-tree but never tagged): predict_batch() dim guard (#3), FitConfig/EmbeddingConfig fail-fast validation (#4), update() fail-fast on missing all_traces.jsonl (#5), plus the skip_candidates knob and fit() progress logging. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>