Spaces:
Running
data: ship the sidecar with Aug-Sep 2026 papers and refreshed citations (7585841)
Browse filesDataset commit 7585841: 1,853,777 papers (was 1,799,348), newest 2026-09-29,
built from the deployed 015c096 by append_to_sidecar.py (54,429 papers,
94,308 category rows, FTS5 rows) and refresh_citations.py apply-sidecar
(1,843,907 papers, 99.47% found on Semantic Scholar).
Checked before pinning: quick_check and FTS5 integrity-check pass, paper
count equals Turso's, sidecar rows identical to Turso for sampled new
papers, keyword search finds a September paper at rank 1 (fused search rank
1, was 16), the six-interest starter pool holds 51 Aug-Sep papers all with
citations, a fresh copy opens read-only with the app's driver, and the
uploaded sha256 (7b52450f...) equals the built file.
CLAUDE.md shard/sidecar figures and CURRENT-STATE (freshness, citations)
updated to match.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- CLAUDE.md +2 -2
- Dockerfile +6 -4
- docs/CURRENT-STATE.md +2 -0
|
@@ -16,9 +16,9 @@ ResearchIT is a personalized arXiv paper recommendation engine. ~1.8M papers wit
|
|
| 16 |
|---|---|---|---|
|
| 17 |
| a | `arxiv_dense_a` | 899,456 | `hnsw_on_disk: true` — the only one |
|
| 18 |
| b | `arxiv_dense_b` | 697,131 | in RAM |
|
| 19 |
-
| recent | `arxiv_recent` |
|
| 20 |
|
| 21 |
-
In that recorded deployment all three were float16 + Binary Quantization, Cosine, `m=32`, `ef_construct=128`, with an `arxiv_id` payload index. A local 2.
|
| 22 |
|
| 23 |
**Endgame:** an "Instagram for research" — multi-interest aware feed that surfaces relevant papers across a user's distinct research areas without collapsing toward a dominant interest.
|
| 24 |
|
|
|
|
| 16 |
|---|---|---|---|
|
| 17 |
| a | `arxiv_dense_a` | 899,456 | `hnsw_on_disk: true` — the only one |
|
| 18 |
| b | `arxiv_dense_b` | 697,131 | in RAM |
|
| 19 |
+
| recent | `arxiv_recent` | 256,680 (2026-10-01) | fanout, `SEARCH_FANOUT_RECENT`; papers from 2025-06 on, new ones daily (PHASE7 §8) |
|
| 20 |
|
| 21 |
+
In that recorded deployment all three were float16 + Binary Quantization, Cosine, `m=32`, `ef_construct=128`, with an `arxiv_id` payload index. A local 2.9 GB SQLite metadata sidecar (1,853,777 rows + FTS5, newest 2026-09-29, as of 2026-10-01) is baked into the image; `/healthz/deep` and `/healthz/shards` are the source of truth for all of this.
|
| 22 |
|
| 23 |
**Endgame:** an "Instagram for research" — multi-interest aware feed that surfaces relevant papers across a user's distinct research areas without collapsing toward a dominant interest.
|
| 24 |
|
|
@@ -54,10 +54,12 @@ RUN python -c "from sentence_transformers import CrossEncoder; CrossEncoder('cro
|
|
| 54 |
# reproducible, and publishing a new sidecar changes this line, which
|
| 55 |
# invalidates the Docker layer below. Pointing at `main` meant a rebuild
|
| 56 |
# silently reused the cached copy and shipped stale metadata.
|
| 57 |
-
#
|
| 58 |
-
#
|
| 59 |
-
#
|
| 60 |
-
|
|
|
|
|
|
|
| 61 |
ENV METADATA_SIDECAR_PATH=/app/data/metadata.sqlite
|
| 62 |
RUN mkdir -p /app/data && \
|
| 63 |
if [ -n "$METADATA_SIDECAR_URL" ]; then \
|
|
|
|
| 54 |
# reproducible, and publishing a new sidecar changes this line, which
|
| 55 |
# invalidates the Docker layer below. Pointing at `main` meant a rebuild
|
| 56 |
# silently reused the cached copy and shipped stale metadata.
|
| 57 |
+
# 7585841 = 1,853,777 papers (newest 2026-09-29) + FTS5 index (the sparse
|
| 58 |
+
# retrieval arm): 015c096 plus the 54,429 papers ingested 2026-07-29..09-30,
|
| 59 |
+
# and citation counts refreshed from Semantic Scholar for the whole corpus on
|
| 60 |
+
# 2026-10-01. Built by scripts/append_to_sidecar.py and refresh_citations.py
|
| 61 |
+
# (PHASE7 §8). Previous: 015c096, d241ff1.
|
| 62 |
+
ENV METADATA_SIDECAR_URL=https://huggingface.co/datasets/siddhm11/researchit-metadata/resolve/75858413acdc5a694a7d7023ce96577acdeea912/metadata.sqlite
|
| 63 |
ENV METADATA_SIDECAR_PATH=/app/data/metadata.sqlite
|
| 64 |
RUN mkdir -p /app/data && \
|
| 65 |
if [ -n "$METADATA_SIDECAR_URL" ]; then \
|
|
@@ -33,6 +33,8 @@ and deployed. Never copy old corpus counts or benchmark results into current cla
|
|
| 33 |
| Library | All current saves; the 20-example retrieval deque no longer limits the library view | saved router |
|
| 34 |
| Attribution | Ranked visits are clicks with origin fields; direct visits are views without fabricated policy/propensity | `app/routers/paper.py` |
|
| 35 |
| Persistence | Local SQLite; periodic Turso replication of four core tables only | `app/turso_sync.py:TABLES` |
|
|
|
|
|
|
|
| 36 |
|
| 37 |
## Constants worth protecting
|
| 38 |
|
|
|
|
| 33 |
| Library | All current saves; the 20-example retrieval deque no longer limits the library view | saved router |
|
| 34 |
| Attribution | Ranked visits are clicks with origin fields; direct visits are views without fabricated policy/propensity | `app/routers/paper.py` |
|
| 35 |
| Persistence | Local SQLite; periodic Turso replication of four core tables only | `app/turso_sync.py:TABLES` |
|
| 36 |
+
| Corpus freshness | 1,853,777 papers through 2026-09-29 (2026-10-01). New papers go to `arxiv_recent` + Turso via `scripts/ingest_arxiv.py`; the sidecar catches up at the next publish + deploy. A daily job exists (`scripts/daily_refresh.py`, `.github/workflows/daily-refresh.yml`) but is off until `DAILY_REFRESH=on` | PHASE7 §8 |
|
| 37 |
+
| Citations | Semantic Scholar counts for the whole corpus, refreshed 2026-10-01 (99.47% found); the daily job refreshes the last three months | `scripts/refresh_citations.py` |
|
| 38 |
|
| 39 |
## Constants worth protecting
|
| 40 |
|