Control Plane Timeline: add the date-basis selector (occurred / mentioned) proposed in #3516

Aperta
#7,248 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
react, typescript

Direzione di ricerca

Start in hindsight-control-plane/src/components/data-view.tsx, especially TimelineView around line 1253, and compare its controls with the Constellation recencyBasis control and the stats charts' timeField argument. Add the date-basis selector and make plotting, the undated counter, and empty-state copy follow the selected field, defaulting to mentioned_at. Done when both bases show only rows with that field and the Occurred view still reports rows without dates.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

core
Problem

The memory Timeline places rows only by occurred_start. Retain sets occurred_start only when the model reports a known event time, and leaves it empty for standing facts, which matches the intended semantics (#5564). In a long-running bank this hides most memories from the Timeline. On a v1.3.1 bank, about 99% of world facts, 83% of experience facts and 92% of observations have no occurred_start, while nearly all of them have mentioned_at. The Timeline shows the small dated remainder plus the "N without dates" counter.

Proposal

Implement the selector described in the review of #3516:

  • Add a date-basis control next to the granularity control: Occurred (occurred_start) and Mentioned (mentioned_at), plus Ingested if useful.
  • Plot strictly by the selected field. Rows that lack it go to the existing "N without dates" counter, so the Occurred view keeps showing how many memories carry content dates.
  • Tie the empty-state copy to the selected basis, for example "No memories have occurred dates — try Mentioned". The current copy is "No memories have occurred_at dates."
  • Default to mentioned_at, as that review suggested, because it is populated on almost every row.

The Constellation already follows this shape with its recencyBasis control in data-view.tsx, and the stats charts take a timeField argument.

Version

Control Plane v1.3.1. main at 4b8dfb6 still keeps only rows with occurred_start in TimelineView (hindsight-control-plane/src/components/data-view.tsx, around line 1253).

Lingua principale
Python
Stelle
45.2k
Fork
5.9k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di vectorize-io/hindsight

Tutte le issue di vectorize-io/hindsight

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.