Mixed-event fact gives explicitly undated move the departure event’s occurrence interval

Aperta
#6,768 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
18/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
postgresql, python

Direzione di ricerca

The defect sits in extraction and observation derivation, where a combined raw fact's occurred_start/end is copied onto a derived move observation; the payload names no concrete file or test. Start by locating where occurrence bounds are assigned during fact extraction and during observation consolidation. Done would mean a regression case where an undated later event gets null bounds while a separate dated event keeps its own interval; the issue leaves the fix approach open.

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

Descrizione

core

Observed defect

In hindsight-api 1.2.3, one extracted raw fact combined an approximately dated departure with a later move explicitly said to have an unknown date. A derived observation describing the move inherited the departure's structured occurred_start/end interval, even while its own text preserved that the move date was unknown.

This is a structured timestamp/text contradiction, distinct from #6598's historical-versus-current scope proposal. Related evidence was previously added there: https://github.com/vectorize-io/hindsight/issues/6598#issuecomment-7072999647 . A focused report is warranted because adding temporal_scope alone does not establish correct date attribution across two events.

Evidence shape (anonymised illustration)

Alex departed around March 2024; later Alex moved to City B, but the move date is unknown.

This illustration changes the person, place and month and is not a separately executed synthetic reproduction. The underlying private-pilot readbacks were inspected; they are not attached because they contain personal information.

Observed chain:

  1. Source explicitly distinguishes the approximately dated departure from the undated later move.
  2. Extraction combines both in one world fact; its text/context retains the move-date uncertainty, but occurred_start/end carry the departure month.
  3. A derived move observation retains the unknown-date qualification in text, yet its structured occurrence range inherits that departure month.

Expected: the later move observation must have null/unknown occurrence bounds unless the source supplies its own date. Temporal ordering after a known event must not be converted into that event's date interval. Splitting the events into separate facts may be one approach; no implementation is prescribed here.

Local repair and verification

Through the supported memory-curation PATCH, we cleared both occurrence bounds on the sole source raw fact, preserving text, context, tags, entities, provenance and document/chunk links. Derived work settled and the regenerated move observation had null occurrence bounds while still stating that its date is unknown. Independent local review verified that result. The approximate departure month remains in source/observation text.

This is data repair, not an extraction/consolidation fix. It also removes the combined raw fact's structured departure interval, so it is not offered as a general preservation-safe solution for mixed-event facts. No reimport/reprocessing was used to claim a fix.

Please investigate per-event timestamp attribution through extraction and observation derivation. Generation/mention timestamps are a separate presentation concern and are not claimed as event dates here. We have not established frequency or a minimal public synthetic reproduction. No identities, original private text, internal memory IDs or credentials are included. AI assistance was used to investigate and prepare this report.

Lingua principale
Python
Stelle
45.2k
Fork
5.9k
Merge medio
6h 18m
PR unite (30g)
354

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.