SPB Git forge

spb/ai-atlas

Public
41commits 1branches 0releases
4.6 MBsize
maindefault branch
12 days agolast push
HTML 77.2% TypeScript 10.5% Python 9.6% JavaScript 2.5%

History of src/aiatlas/api/routers/explore.py · clear filter

  1. Sat, Sep 12, 2026 1

    1. API 1.1 follow-ups: per-database cache namespace (frontier×price fix), pulse/index items, provider deployments, best_price, matrix/pareto fields
      …
      Root cause of the null cheapest_frontier: the Redis API cache was not scoped to the database, so the dev API (:8331) and the
      production-copy API (:8332), which share redis db 5, served each other's cached bodies and the cached frontier id set —
      prod joined dev ids against its prices (0 rows) while `sample.frontier_offers` came from a body cached by the other process.
      Cache keys are now `aia:api:<sha1(DATABASE_URL)[:8]>:…` and the frontier id set is re-validated against live canonical models
      on every cache hit. Regression test asserts cheapest_frontier / sort=cheapest_frontier / price_frontier are non-null whenever
      frontier offers exist.
      
      Also: PRICE_CHANGED old/new values are {input,output} dicts → price_delta() (pulse median_percent, pulse/index/frontier items
      with % and provider); /prices/index 30-day counters → {count, items[], definition}; /providers/{slug} deployments + removed
      (90 d); /deployments status=active|delisted|all (current=0 ⇒ all); framework/library kind (normalised) + dataset summary
      attributes + license_key derived on read; /open new_30d by release_date (first_seen_at only when unknown); /models best_price
      (one lateral join); /families benchmark_best with scores (list + members); /benchmarks/matrix since/until on release_date and
      observed_at/evaluated_at per cell; /pareto points carry context_length, parameter_count, release_date. docs/API.md updated.
      
      Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
      Simon-Pierre Boucher committed 12 days ago · 1 file +7 −1
  2. Fri, Sep 11, 2026 1

    1. Simon-Pierre Boucher committed 13 days ago · 1 file +84