Commit 268e0e0
committed
feat(temporal): add date extraction, heuristic range parsing, and temporal scoring
Pure functions for temporal search: extract_note_date from frontmatter/filename,
temporal_score for proximity decay, parse_date_range_heuristic for natural language
temporal keywords, and parse_date_range_from_json for LLM orchestrator output.
33 unit tests covering all functions.1 parent 2b80951 commit 268e0e0
4 files changed
Lines changed: 663 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
0 commit comments