text
stringlengths
3
8.33k
repo
stringclasses
52 values
path
stringlengths
6
141
language
stringclasses
35 values
sha
stringlengths
64
64
chunk_index
int32
0
273
n_tokens
int32
1
896
A,B) and (B,A) in edge_batch - Test: self-links excluded (chunk_id == sim_id skipped) - Test: duplicate edges deduplicated within a scroll batch before write - Test: resume from checkpoint skips already-processed scroll pages - Test: empty collection returns 0 edges </behavior> <action> Rewrite `src...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-01-PLAN.md
Markdown
112aa56c084bd9a61fe47a557a3554f91cafa025a9620e2e9098f982d19857ed
2
896
verification> <success_criteria> - search_similar_with_modality returns (chunk_id, score, modality) tuples from Qdrant - Similarity engine creates bidirectional SIMILAR_TO edges with cross_modal flag - Checkpoint file persisted after each Neo4j batch write, cleared on completion - Resume from checkpoint skips already-...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-01-PLAN.md
Markdown
e312571b518e2669a6c3ced9c98c54a16231ebe92dbab694872d03dc27aaeffb
3
101
--- phase: 06-graph-linking-orchestrator plan: 01 subsystem: graph tags: [qdrant, neo4j, similarity, checkpoint, tdd, python] requires: - phase: 05-embedding-storage provides: QdrantStore, Neo4jStore with create_similarity_edges_batch provides: - QdrantStore.search_similar_with_modality returning (chunk_id, s...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-01-SUMMARY.md
Markdown
0fc4bd458862770978ebcc0943a92132d7cb1ea71ab6bb212a9fcab918d12017
0
896
unit/test_graph/test_similarity.py` - 19 tests covering all behaviors (TDD, 297+ lines) ## Decisions Made - `search_similar_with_modality` passes `with_payload=True` to `query_points` so modality is read from the same response — zero extra round-trips - Checkpoint path defaults to `settings.cache_dir / "similarity" /...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-01-SUMMARY.md
Markdown
ef266c0e5733d4fc7825a865d6a64aedf01d645a745c94fda260da4a437d0f42
1
372
--- phase: 06-graph-linking-orchestrator plan: 02 type: execute wave: 1 depends_on: [] files_modified: - src/jku_kb/graph/seed_edges.py - src/jku_kb/graph/taxonomy.py - src/jku_kb/graph/next_chunk.py - src/jku_kb/storage/neo4j.py - tests/unit/test_graph/test_seed_edges.py - tests/unit/test_graph/test_taxono...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-02-PLAN.md
Markdown
09657f2468ce4ba6f714e970c99e6dd99930ab88e37e8713ecc3dec5b4019321
0
896
Domain, link IN_DOMAIN ``` From src/jku_kb/graph/taxonomy.py: ```python class TaxonomyAssigner: def assign_topics(self, chunk: Chunk) -> list[str]: # Returns topic names matching keywords in chunk title/text async def assign_and_link(self, chunk: Chunk, neo4j_store: Any) -> list[str]: # Assign...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-02-PLAN.md
Markdown
5ed5bcfbfe58e7ea9deb9cb365e52d25a136f7a3bc50879047fe00bdd00cb488
1
896
py contains `create_source_structural_edges_batch` - src/jku_kb/graph/seed_edges.py does NOT contain `create_structural_edge(` (old per-item call removed) - tests/unit/test_graph/test_seed_edges.py contains `test_insert_seed_edges` - tests/unit/test_graph/test_seed_edges.py contains `test_skip_empty_ids` ...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-02-PLAN.md
Markdown
6211b341c723a6689c166c160c86068c16fd8720bed143403702045bc469b74a
2
896
` Add `from jku_kb.models import Chunk, Modality` at top of taxonomy.py (Modality import needed). 2. Create `src/jku_kb/graph/next_chunk.py`: ```python """NEXT_CHUNK sequential edge builder.""" from __future__ import annotations from collections import defaultdict from typing import Any from jku_kb.logging import...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-02-PLAN.md
Markdown
3b6f6ad544f5ae3b132e4c43fa3959c3143df10907243038debb39c9c0bd9949
3
896
/unit/test_graph/test_taxonomy.py contains `test_assign_all_chunks` - tests/unit/test_graph/test_next_chunk.py contains `test_build_next_chunk_edges` - tests/unit/test_graph/test_next_chunk.py contains `test_single_chunk_skipped` - tests/unit/test_graph/test_visualization.py contains `test_export_graphml` ...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-02-PLAN.md
Markdown
19b857c2ee3f6519f7a0f4e6325e668ee2f214a4fc1d41193f2c58e4936c91e8
4
247
--- phase: 06-graph-linking-orchestrator plan: 02 subsystem: graph tags: [neo4j, graphml, cypher, unwind, taxonomy, seed-edges, next-chunk, visualization] requires: - phase: 05-embedding-storage provides: Neo4jStore with create_next_chunk_edges, link_chunk_to_topic, create_topic_node methods provides: - Fixed...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-02-SUMMARY.md
Markdown
564c5812f71d258c0c50dfb3d0bdad8d3a5cfc5f12e5603b5edc5a75163f9694
0
896
UNWIND MERGE Source nodes - `src/jku_kb/graph/taxonomy.py` - Added assign_all_chunks(), added Modality import - `src/jku_kb/graph/next_chunk.py` - New file: build_next_chunk_edges() with defaultdict grouping - `tests/unit/test_graph/__init__.py` - New package init - `tests/unit/test_graph/test_seed_edges.py` - 9 tests ...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-02-SUMMARY.md
Markdown
4c54a75659a92988d7ed3685eb13307bfb6079e54bf08f0e0799b6d314602f05
1
781
--- phase: 06-graph-linking-orchestrator plan: 03 type: execute wave: 2 depends_on: ["06-01", "06-02"] files_modified: - src/jku_kb/orchestrator.py - tests/unit/test_orchestrator.py autonomous: true requirements: [PIPE-01, PIPE-02, PIPE-06] must_haves: truths: - "run_all() calls all 5 phases in sequence: dis...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-03-PLAN.md
Markdown
a16abeb5fb6f4dc4d889605ed8cb12f695f26dd496ca001a3e6038a6392b671b
0
896
(self, source_ids=None) -> dict[str, int] async def run_phase_fetch(self, source_ids=None, max_items=None) -> dict[str, dict[str, int]] async def run_phase_chunk(self, source_ids=None) -> dict[str, int] async def run_phase_embed(self, source_ids=None) -> dict[str, int] async def run_phase_link(self) -> ...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-03-PLAN.md
Markdown
a06f507c281be2cd08287e7bc9358d7e01b58e6b4380800b2f5bc64b05ca34a8
1
896
done after successful embed - Call progress_callback per batch 5. Update `run_phase_link()` to wire all four graph operations: ```python async def run_phase_link( self, mode: str = "all", progress_callback: ProgressCallback = None, ) -> dict[str, int]: from jku_kb.graph.next_chunk import build_next_...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-03-PLAN.md
Markdown
5bb98e16106fe7401911f1cfd23ca5d59ce41d9943948898a3de5bb6f02123d6
2
896
retries failed items - Progress callback fires per processed item - run_phase_link wires similarity, seed edges, taxonomy, NEXT_CHUNK with mode selection - run_all calls all 5 phases in order - All unit tests pass </success_criteria> <output> After completion, create `.planning/phases/06-graph-linking-orchestrator/06-...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-03-PLAN.md
Markdown
22e23e651d1ddcac9c1bdf4a59b2e7efa2eb11595c316d7c4889be37d5fc4488
3
74
--- phase: 06-graph-linking-orchestrator plan: "03" subsystem: orchestrator tags: [orchestrator, resumability, manifest, progress-callback, graph-linking, jsonl, pipeline] requires: - phase: 06-01 provides: compute_similarity_backlinks with checkpoint support - phase: 06-02 provides: build_next_chunk_edges...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-03-SUMMARY.md
Markdown
a6f04c1605fb81377aefb064f697c41150dee928d6d2e76002a63e93061775d5
0
896
jku_kb/orchestrator.py` — Phase manifest helpers, ProgressCallback type alias, resumability in chunk/embed phases, run_phase_link full wiring, module-level imports - `tests/unit/test_orchestrator.py` — 16 tests: _load_done_ids, _mark_done, _phase_manifest_path, chunk/embed skip resumability, run_all order, progress_cal...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-03-SUMMARY.md
Markdown
b21a59a478eac6c0b5474784da98d632e2057ce9c3bc8fc1862f762395c93864
1
617
--- phase: 06-graph-linking-orchestrator plan: 04 type: execute wave: 3 depends_on: ["06-03"] files_modified: - src/jku_kb/cli.py - tests/unit/test_cli.py autonomous: true requirements: [PIPE-03, PIPE-04, PIPE-05] must_haves: truths: - "jku-kb run --phase all executes full pipeline with Rich progress bars" ...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-04-PLAN.md
Markdown
d6c0b00f3519e7845b9370b31406c52964e82d99643b86cc32cf661b9ccdf71c
0
896
) -> int # Total vector count ``` From src/jku_kb/cli.py (current): ```python app = typer.Typer(name="jku-kb") console = Console() # Commands: run, discover, fetch, chunk, embed, link, status, probe, export, stats ``` Rich Progress pattern (from research): ```python from rich.progress import Progress, SpinnerColumn,...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-04-PLAN.md
Markdown
228c635b3a40ecc28fd507dc11bce1985598c5fc03f59f1e4cbc95992d0a39b6
1
896
= typer.Option(20, help="Top-K neighbors for similarity"), threshold: float = typer.Option(0.75, help="Cosine similarity threshold"), ): settings = get_settings() settings.similarity_top_k = top_k settings.similarity_threshold = threshold setup_logging(settings.log_level) from jku_kb.orchestrat...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-04-PLAN.md
Markdown
97b2641b31194e281580508933bb025ef3aa0ef387ec44904738894e5279383a
2
896
} except Exception as e: stats_data["neo4j_error"] = str(e) try: async with QdrantStore(settings) as qdrant: stats_data["qdrant_points"] = await qdrant.count() except Exception as e: stats_data["qdrant_error"] = str(e) return stats_da...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-04-PLAN.md
Markdown
b0f51d3fefb2aec607de6a96528899aeccf826570a8658978317d27bc319c674
3
896
rec['source_id']} has no chunks linked via FROM_SOURCE", }) return issues issues = _run(_validate()) if not issues: console.print("[green]No integrity issues found.[/green]") return table = Table(title=f"Integrity Issues ({len(issues)})") table.add_column(...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-04-PLAN.md
Markdown
a6acfcb728711012743bc91fec383c670a339e57bc177c0d55eb70cf1d9e74ae
4
874
--- phase: 06-graph-linking-orchestrator plan: 04 subsystem: cli tags: [typer, rich-progress, neo4j-cypher, qdrant, cli, data-integrity] # Dependency graph requires: - phase: 06-graph-linking-orchestrator (plan 03) provides: "PipelineOrchestrator with ProgressCallback, run_phase_link mode wiring" provides: - "...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-04-SUMMARY.md
Markdown
37f7dbfccf74902f553a16e47ea94cb5047fec58ea81e7292732e192c5fcab13
0
896
to `jku_kb.storage.neo4j.Neo4jStore`, `jku_kb.storage.qdrant.QdrantStore`, `jku_kb.storage.local_fs.LocalFileStore` - **Files modified:** tests/unit/test_cli.py - **Verification:** All 10 tests pass - **Committed in:** a365d03 --- **Total deviations:** 1 auto-fixed (1 bug) **Impact on plan:** Auto-fix necessary for t...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-04-SUMMARY.md
Markdown
b6eb725b7e1d4c6db2311697056b7a2196e5f7c4aa333f6ee62493fd1bfed67a
1
204
# Phase 6: Graph Linking & Orchestrator - Context **Gathered:** 2026-03-20 **Status:** Ready for planning <domain> ## Phase Boundary Build the similarity engine, seed edges, taxonomy assignment, NEXT_CHUNK sequential edges, pipeline orchestrator with per-phase resumability, and full CLI interface with progress track...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-CONTEXT.md
Markdown
367404556afefaace470de800ce788aa55a16d1f2925c5bc13c3d08e33f99b6d
0
896
fetch/chunk/embed/link/status/probe/export/stats ### Storage (Phase 5 outputs) - `src/jku_kb/storage/qdrant.py` — QdrantStore with search_similar(), batch upsert, payload indexes - `src/jku_kb/storage/neo4j.py` — Neo4jStore with create_similarity_edges_batch(), UNWIND batching - `src/jku_kb/embedders/batch.py` — Batch...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-CONTEXT.md
Markdown
689a2a475cc4b2d56ed6792c8be9a2c25e75ef805557797fa37d5382b941301e
1
496
# Phase 6: Graph Linking & Orchestrator - Research **Researched:** 2026-03-20 **Domain:** Graph linking (Qdrant KNN + Neo4j edges), pipeline resumability, Rich CLI progress **Confidence:** HIGH <user_constraints> ## User Constraints (from CONTEXT.md) ### Locked Decisions **Similarity engine (LINK-01, LINK-02)** - C...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-RESEARCH.md
Markdown
e50ca21b3d2f734913ef503514c12386062286c3b4b33abe2deea7338b483900
0
896
| LINK-05 | NEXT_CHUNK edges created for sequential ordering within documents/videos | Neo4jStore.create_next_chunk_edges() exists; needs driver code in run_phase_link() querying chunks by item_id sorted by chunk_index | | LINK-06 | Visualization export to GraphML for Gephi / Neo4j Bloom | graph/visualization.py export...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-RESEARCH.md
Markdown
c9f2ef99f1b142b0f9c4650e521ad4619bba999ee42ca74c3dfcb6d29faf8a73
1
896
Recommended Project Structure ``` src/jku_kb/ ├── graph/ │ ├── similarity.py # Add checkpoint + cross-modal fix │ ├── seed_edges.py # Add batch optimization │ ├── taxonomy.py # Add pipeline iteration method │ ├── next_chunk.py # NEW: NEXT_CHUNK edge builder │ └── visualization.py # Alr...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-RESEARCH.md
Markdown
2628c91f325ec474933edb1b6b95431dfc47f9b8cb7a072d556333fa3eb63813
2
896
Progress( SpinnerColumn(), TextColumn("[bold blue]{task.description}"), BarColumn(), TaskProgressColumn(), TimeElapsedColumn(), ) ``` **Threading note:** Rich Progress must be used as a context manager (`with progress:`) and is not thread-safe. Since the pipeline is asyncio-...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-RESEARCH.md
Markdown
e86331b746b88e2e0f21f0bfa738c39d4ec3d5082a70928f910a567950d86e50
3
896
") or 0, chunk_total=record.get("chunk_total") or 1, title=record.get("title") or "", ) ``` ### Pattern 7: Seed Edges Batch Optimization **What:** Current `insert_seed_edges()` calls `create_structural_edge()` per edge (one Neo4j round-trip each). Add a `create_structural_edges_batch()` method usin...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-RESEARCH.md
Markdown
e00499aa5c686a09937bda790d3b567204d50bb5e6f5c7a98152511d2b527b4c
4
896
Offset Type **What goes wrong:** Qdrant scroll offset is `str | None` (a UUID string), not an integer. Persisting it as integer or reconstructing from `processed` count will break. **Why it happens:** The AsyncQdrantClient.scroll() `offset` parameter accepts `PointId | None`. For UUID-based collections, it's a UUID str...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-RESEARCH.md
Markdown
4e819e472a598eecfef5c6002c3dadb4217dd61ef15a3acfe70ac94e2822dbab
5
896
:** Tests that call orchestrator methods directly will trigger Rich progress output, polluting test logs or hanging on non-TTY terminals. **Why it happens:** Progress bars render to stdout/stderr. **How to avoid:** Use a callback/progress pattern — orchestrator methods accept an optional `progress_callback: Callable[[s...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-RESEARCH.md
Markdown
7046bd7d72c13326aacec17d15f4cb8dba5067e8ac2a5ecf1536cccaffb602ea
6
896
, progress=progress)) # Summary table after progress completes table = Table(title="Chunking Results") ... ``` ### Phase Manifest Skip Pattern ```python # In run_phase_chunk() — extends existing pattern async def run_phase_chunk( self, source_ids: list[str] | None = None, progress: Progress | ...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-RESEARCH.md
Markdown
c1b6f4827aea258d0b9ed13c1640b86022b6413873f962bd4fb22b11ab60eff5
7
896
-------------|------------------|--------------|--------| | Rich `print()` for progress | `rich.progress.Progress` context manager | Rich 10.0+ | Live-updating bars without scroll | | Manual Qdrant pagination | `scroll()` with `next_offset` cursor | qdrant-client 1.0+ | No need to track page numbers | | Neo4j per-row i...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-RESEARCH.md
Markdown
cf4e8ec6719607048ebb513f2df443798ad645083929b3ed5a3e096a9c7ffbde
8
896
-x` | Wave 0 | | LINK-03 | Seed edges loaded and inserted as STRUCTURALLY_LINKED on Source nodes | unit | `uv run pytest tests/unit/test_graph/test_seed_edges.py -x` | Wave 0 | | LINK-04 | Taxonomy assigner assigns topics from title keywords | unit | `uv run pytest tests/unit/test_graph/test_taxonomy.py -x` | Wave 0 | ...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-RESEARCH.md
Markdown
78dd629088987085575bb7ed4ec6015d643c6263d239d1f0c512466e0f0cba19
9
896
json` inspection — source IDs in file vs pipeline source IDs (ID mismatch finding) - `data/taxonomy.json` inspection — 27 topics across 13 domains - `pyproject.toml` inspection — all dependencies confirmed installed, no new deps needed ## Metadata **Confidence breakdown:** - Standard stack: HIGH — all libraries in py...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-RESEARCH.md
Markdown
1201937cfeb7584eced31331868180105acdea8e717ace2e871ec9a6c2902022
10
161
--- phase: 6 slug: graph-linking-orchestrator status: draft nyquist_compliant: false wave_0_complete: false created: 2026-03-20 --- # Phase 6 — Validation Strategy > Per-phase validation contract for feedback sampling during execution. --- ## Test Infrastructure | Property | Value | |----------|-------| | **Framew...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-VALIDATION.md
Markdown
2fc53d86d04f8f47d0728369dbefb6a15c7fba85acd8410d6e8c575351fb8a3d
0
896
tests/unit/test_cli.py::test_run_per_source -x` | ❌ W0 | ⬜ pending | | 06-04-03 | 04 | 2 | PIPE-05 | unit | `uv run pytest tests/unit/test_cli.py::test_stats_command -x` | ❌ W0 | ⬜ pending | *Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky* --- ## Wave 0 Requirements - [ ] `tests/unit/test_graph/__init__.py` — packa...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-VALIDATION.md
Markdown
acb639021317cdc3d22f54a974ea392330705ccf686dc41e2895e48539823340
1
463
--- phase: 06-graph-linking-orchestrator verified: 2026-03-20T18:30:00Z status: passed score: 12/12 must-haves verified re_verification: false --- # Phase 6: Graph Linking & Orchestrator Verification Report **Phase Goal:** Harden the similarity engine (checkpoint + cross-modal), wire all graph linking operations, add...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-VERIFICATION.md
Markdown
6c513395d0b20ad207f22cdc65dd4ed26119e5f429c904d2ae6d3f41c77ec0d9
0
896
| CLI uses Rich progress bars and provides stats/validate commands | VERIFIED | `cli.py` L10,25-34: `_make_progress()` with SpinnerColumn/BarColumn/etc; L319-385: `stats` command with Neo4j/Qdrant queries; L389-463: `validate` command with integrity checks | **Score:** 12/12 truths verified ### Required Artifacts | ...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-VERIFICATION.md
Markdown
85ded0a5c238c111826967b5b86206b62d75369e8fa3647d3043aa67a7c0d7e5
1
896
validate | ### Key Link Verification | From | To | Via | Status | Details | |------|----|-----|--------|---------| | `similarity.py` | `qdrant.py` | `search_similar_with_modality` call | WIRED | `similarity.py` L111: `await qdrant.search_similar_with_modality(...)` | | `similarity.py` | `neo4j.py` | `create_similarit...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-VERIFICATION.md
Markdown
a793f4a1d2a22f1be2c8ff1e5c6b1b03647ec1af54ac2daf74dec65cf70c5aa7
2
896
(item_id, source_id), creates NEXT_CHUNK edges in order | | LINK-06 | 06-02 | GraphML visualization export | SATISFIED | `visualization.py` exports Chunk nodes and SIMILAR_TO edges as valid GraphML XML with attributes | | PIPE-01 | 06-03 | 5-phase orchestrator | SATISFIED | `orchestrator.py` `run_all()` calls discover,...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-VERIFICATION.md
Markdown
83ff0ce94c30a131a4a86c9c70159746fba7f47a1e56e4b710f1fd13a06beac6
3
896
PIPE-01 through PIPE-06) are satisfied with implementation evidence. The phase produced: - 8 production source files (similarity.py, qdrant.py, seed_edges.py, taxonomy.py, next_chunk.py, visualization.py, orchestrator.py, cli.py) - 7 test files with ~90 total unit tests - 10 verified git commits with conventional comm...
jku-encyclopedia
.planning/milestones/v1.0-phases/06-graph-linking-orchestrator/06-VERIFICATION.md
Markdown
c8591f21829d9de3a47902f32f33eb838aa3c6a19f2751423c6a8f9539697c4e
4
100
--- phase: 07-testing-quality plan: 01 type: execute wave: 1 depends_on: [] files_modified: - src/jku_kb/**/*.py - tests/**/*.py - src/stubs/ffmpeg/__init__.pyi - src/stubs/feedparser/__init__.pyi - pyproject.toml - Makefile - tests/e2e/test_pipeline_smoke.py autonomous: true requirements: [QUAL-02] must...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-01-PLAN.md
Markdown
cb92300626a16295a6f8124a80b9deda6afd47c7b2ae39e8cce9e82001fcca95
0
896
behavior (e.g., removing unused variables that have side effects). Revert any unsafe fix that changes semantics. Step 3 - Manually fix remaining non-auto-fixable violations (~30 errors): Common remaining categories: - B006 (mutable default arguments): change `def f(x=[])` to `def f(x=None); if x is None: x = []` - N80...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-01-PLAN.md
Markdown
25199037e70f7d6c6f7d0da7d96829c45ea19dd8b105e096ca2b9182c1db0f5d
1
896
type stub for feedparser covering project usage.""" from typing import Any class FeedParserDict(dict[str, Any]): bozo: int entries: list[dict[str, Any]] feed: dict[str, Any] status: int def parse(url_file_stream_or_string: str, **kwargs: Any) -> FeedParserDict: ... ``` **C. Update pyproject.toml - a...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-01-PLAN.md
Markdown
39a15f4dfa878de6a5609e259f6a7efb1ba8c1ded4ce7f2abfd7b407272931de
2
896
strict src/jku_kb/chunkers/video_chunker.py 2>&1 | grep -c "import-untyped" || echo "0 import-untyped errors" ``` </verification> <success_criteria> 1. `uv run ruff check src/ tests/` exits 0 (zero violations) 2. `src/stubs/ffmpeg/__init__.pyi` and `src/stubs/feedparser/__init__.pyi` exist with correct content 3. `pyp...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-01-PLAN.md
Markdown
2b14b69460bc701506797cab09d0f11e991440ba4a611893b7958cd0c20e09b4
3
171
--- phase: 07-testing-quality plan: 01 subsystem: testing tags: [ruff, mypy, type-stubs, branch-coverage, lint, formatting] # Dependency graph requires: - phase: 06-graph-linking provides: "All source and test code to lint and type-check" provides: - "Zero ruff violations across all source and test files" - ...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-01-SUMMARY.md
Markdown
46c75dd53f28a414b6e780776e7f7ab6898651ec667f63fa241e96980c331277
0
896
Task 1 to establish consistent code style baseline - Used default-argument binding for B023 (loop variable capture) in probe.py and orchestrator.py rather than restructuring loops ## Deviations from Plan ### Auto-fixed Issues **1. [Rule 1 - Bug] Added noqa for ffmpeg stub A001 shadowing** - **Found during:** Task 2 ...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-01-SUMMARY.md
Markdown
2a5acf2dbb70f18de21f61ba061e5ddb305dbc45ec3fc959c23b0fdffb81e5c9
1
447
--- phase: 07-testing-quality plan: 02 type: execute wave: 2 depends_on: [07-01] files_modified: - src/jku_kb/cli.py - src/jku_kb/embedders/gemini.py - src/jku_kb/scrapers/base.py - src/jku_kb/storage/qdrant.py - src/jku_kb/scrapers/web_crawl.py - src/jku_kb/scrapers/pdf_fetch.py - src/jku_kb/scrapers/ope...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-02-PLAN.md
Markdown
7bc8ae9a0c80d8ab7451e36f2ef5b384568925c3b05776484a806a852663adc2
0
896
.md @.planning/ROADMAP.md @.planning/STATE.md @.planning/phases/07-testing-quality/07-CONTEXT.md @.planning/phases/07-testing-quality/07-RESEARCH.md @.planning/phases/07-testing-quality/07-01-SUMMARY.md </context> <tasks> <task type="auto"> <name>Task 1: Fix all mypy --strict errors across 14 source files</name> ...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-02-PLAN.md
Markdown
18d88a5accb1fc6bff41c215cc707b946572fd79ea44db295d7d7e886a073370
1
896
` (or `if result is None: raise RuntimeError("embed_content returned None")`) 2. Fix `result.embeddings` access: add `assert result.embeddings is not None` before indexing `result.embeddings[0]` 3. Fix `embedding.values` access: add `assert embedding.values is not None` before using as list 4. Fix `file.name` (str | No...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-02-PLAN.md
Markdown
9073a00047d2fb7231da353a980890d38079eae7f019f4d26c2bfbbb9339bf14
2
896
third-party lib with no way to type), document the reason in an inline comment. Also verify tests still pass after changes: ```bash uv run pytest -m "not live" -x -q ``` </action> <verify> <automated>uv run mypy --strict src/ && uv run pytest -m "not live" -x -q</automated> </verify> <acceptance_criteria> ...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-02-PLAN.md
Markdown
916d90f4120a77bee1050e7b9f285e3ac8398d6b13647a442f17923a88b9e773
3
896
""" ``` Specific module docstrings to add: - `src/jku_kb/__init__.py`: `"""JKU Knowledge Base — automated pipeline for scraping, chunking, embedding, and knowledge-graphing JKU Linz data."""` - `src/jku_kb/chunkers/__init__.py`: `"""Chunker module providing modality-specific content chunking for the JKU pipeline."""` ...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-02-PLAN.md
Markdown
16d2ffa2dcef1ea21261cb6ae6ac21023fea9462d2dbb318ad6268d248f3e99b
4
896
(ast.ClassDef, ast.FunctionDef, ast.AsyncFunctionDef)): if not node.name.startswith('_') and not ast.get_docstring(node): missing.append(f'{p}:{node.lineno}: {node.name}') if missing: for m in missing: print(m) sys.exit(1) print('All public entities documented') " && uv run pytest -m...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-02-PLAN.md
Markdown
f5a1499c5f76d898965b72dafbb6b250f3658f14bf87b174569ec966684e0baa
5
651
--- phase: 07-testing-quality plan: 02 subsystem: testing tags: [mypy, type-safety, docstrings, google-style, strict-typing] # Dependency graph requires: - phase: 07-testing-quality provides: "Plan 01 type stubs (ffmpeg, feedparser) and ruff baseline" provides: - "Zero mypy --strict errors across 48 source fil...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-02-SUMMARY.md
Markdown
fa0818bf0547e68e674c66678a91229ea42a3b91de005c6786fa55df1dc0b42b
0
896
exception, on_result docstring - `src/jku_kb/models.py` - Docstrings on all 6 enum classes - `src/jku_kb/config.py` - Docstrings on 3 computed properties - `src/jku_kb/chunkers/audio_chunker.py` - chunk() docstring - `src/jku_kb/chunkers/caption_chunker.py` - chunk() docstring - `src/jku_kb/chunkers/code_chunker.py` - ...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-02-SUMMARY.md
Markdown
fbdbe2228608d22837d8df5defc0e7d55c6d0110368ac41011e27e008f741036
1
780
--- phase: 07-testing-quality plan: 03 type: execute wave: 2 depends_on: [07-01] files_modified: - tests/unit/test_orchestrator.py - tests/unit/test_cli.py - tests/unit/test_embedders/test_gemini.py - tests/unit/test_storage/test_local_fs.py - tests/unit/test_chunkers.py - tests/unit/test_storage/test_neo4j...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-03-PLAN.md
Markdown
515434b4b41ef1f3f820330ddabd0571200ac248b8ca6dbe1c1a093eb34b84f6
0
896
467) - tests/unit/test_cli.py (existing 10 tests to understand current coverage) - tests/conftest.py (shared fixtures: settings, mock_http_client) - Run: uv run pytest --cov=jku_kb.orchestrator --cov=jku_kb.cli --cov-branch --cov-report=term-missing -m "not live" -q (to see exact missing lines) </read_fir...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-03-PLAN.md
Markdown
f20d9dc12cd7bf85091eb511aaad7e4224792254a25e49785c6db65b89222445
1
896
patching, use the source module path (e.g., `jku_kb.storage.neo4j.Neo4jStore`) not the CLI module path, per established project convention from Phase 6. After writing all tests, verify: ```bash uv run pytest tests/unit/test_orchestrator.py tests/unit/test_cli.py -v -x uv run pytest --cov=jku_kb.orchestrator --cov=jku_...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-03-PLAN.md
Markdown
05b2d303b3a0a223caaa98d241b8e5f2f5831d0cae9c83a836ecd81b83028a48
2
896
for text/document/image, verify dimension dict returned 5. `test_probe_dimension_mismatch_raises` — Return different dimensions for different modalities, verify error 6. `test_embed_text_chunk_success` — Mock _call_embed_content, verify vector returned 7. `test_embed_text_chunk_retry_on_429` — Use tenacity testing util...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-03-PLAN.md
Markdown
813dd27de22fc799bca67844c9914b9889fc59b9b9f96d5d1465461698105dfa
3
896
70%) - `uv run pytest --cov=jku_kb --cov-branch -m "not live" --cov-fail-under=80` exits 0 (aggregate 80%+ achieved) - All new tests run without network access or Docker containers </acceptance_criteria> <done>All target modules at 75%+ branch coverage, aggregate branch coverage at 80%+, all tests passing</...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-03-PLAN.md
Markdown
c2e439c8cd09e9a1d70ec901a19865a340da098c7b1f10aa5a48e336f42a00d0
4
391
--- phase: 07-testing-quality plan: 03 subsystem: testing tags: [pytest, coverage, unit-tests, mocking, branch-coverage] # Dependency graph requires: - phase: 07-01 provides: "Ruff lint baseline, branch coverage configuration, type stubs" provides: - "498 unit tests passing (up from 405)" - "87.29% aggregate...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-03-SUMMARY.md
Markdown
ef8a61ff3978384b66b79e75c28d9d56e6a2f68410e48a280116f5344cfae668
0
896
** - **Found during:** Task 2 - **Issue:** Initial test used _mark_fetched which doesn't exist; switched to _update_manifest_entry but ManifestEntry requires url field - **Fix:** Added url= parameter to ManifestEntry constructor in both openalex and web_crawl fetch tests - **Files modified:** tests/unit/test_scrapers/t...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-03-SUMMARY.md
Markdown
d30025fa3b593aa1c27adbdeec83b65fb894042678dc33fa453fef21c1db58ac
1
236
--- phase: 07-testing-quality plan: 04 type: execute wave: 2 depends_on: [07-01] files_modified: - tests/integration/test_storage_roundtrip.py - tests/integration/test_gemini_live.py - tests/e2e/test_pipeline_smoke.py - tests/conftest.py autonomous: true requirements: [TEST-02, TEST-03, TEST-04, TEST-05, QUAL-0...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-04-PLAN.md
Markdown
4b036c99d614b09e47e0fcb661086cdd01e01ca5665fa5247054d1b14d4899d8
0
896
- src/jku_kb/models.py (Chunk, EmbeddingResult, Edge, Modality, EdgeType) - src/jku_kb/config.py (Settings: qdrant_url, neo4j_uri, neo4j_user, neo4j_password, gemini_api_key) - tests/integration/test_live_apis.py (existing live test patterns with @pytest.mark.live) - tests/conftest.py (settings fixture) ...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-04-PLAN.md
Markdown
aefb34ce8cbe1ff36ee3cc694da1659cfd23da4cceb4d3bfc8ff1edaff1a9062
1
896
GEMINI_API_KEY environment variable. """ ``` **TestGeminiLive** (all @pytest.mark.live): 1. `test_embed_text_returns_vector` — Create GeminiEmbedder, connect(), embed a short text string ("JKU Linz machine learning"), verify returned vector is list[float] with length > 0 2. `test_embed_text_dimension_consistent` — Emb...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-04-PLAN.md
Markdown
e53efdd932a9ea50cfc44f80f449b26a9c710b38fa2e0c3cf2d763dc1bcdcabc
2
896
(): """Mock GeminiEmbedder returning deterministic 768-dim vectors.""" from unittest.mock import AsyncMock, MagicMock embedder = MagicMock() embedder.connect = AsyncMock() embedder.close = AsyncMock() async def fake_embed(chunk): # Deterministic vector based on chunk_id hash imp...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-04-PLAN.md
Markdown
923a7b1765ebb7f52be213ef4c0fd2c9989febebfe2cc8415611bdb8c78a4d70
3
896
*Verify embed:** Qdrant contains points for the smoke test source_ids - **Verify link:** Neo4j contains Chunk nodes and FROM_SOURCE edges for smoke data - **Cleanup:** Delete all smoke test data from Qdrant and Neo4j 2. **`test_pipeline_idempotent`** (@pytest.mark.live, @pytest.mark.slow): - Run the same pipe...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-04-PLAN.md
Markdown
a29c4acc610acb2074a012c429568dbd903d2821a324e24d9303355f640493ec
4
896
not live" -x -q` still passes 7. `uv run pytest tests/ --collect-only` collects all new tests without errors </success_criteria> <output> After completion, create `.planning/phases/07-testing-quality/07-04-SUMMARY.md` </output>
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-04-PLAN.md
Markdown
c3a92e6634b5a28893799d21fcac911436752fbd688480322198db0627f60e06
5
65
--- phase: 07-testing-quality plan: 04 subsystem: testing tags: [qdrant, neo4j, gemini, integration-tests, e2e, idempotency, docker, pytest] requires: - phase: 07-01 provides: lint baseline, branch coverage config, pytest markers - phase: 05-embedding-storage provides: QdrantStore, Neo4jStore, GeminiEmbedd...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-04-SUMMARY.md
Markdown
351859ff13fc7d0da4cada8ea29a0809441b25eff1cd1db0fd6ce67bdf9de96f
0
896
from config.py) - `test_pipeline_4_modalities_chunked_correctly` intentionally excludes Docker — only tests real chunkers, making it runnable anywhere - Unique prefix `_E2E_PREFIX = f"smoke_{uuid.uuid4().hex[:8]}"` ensures test collections/nodes don't collide across parallel test runs - `mock_gemini_embedder` placed in...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-04-SUMMARY.md
Markdown
ee2e5d0a9c96327a37e331f933ebddaad438e6ebab37ed38e4549673765e8c33
1
298
# Phase 7: Testing & Quality - Context **Gathered:** 2026-03-20 **Status:** Ready for planning <domain> ## Phase Boundary Bring the ~7000-line Python codebase to open-source release quality: 80%+ branch coverage, mypy --strict passing, ruff clean, Google-style docstrings on all public methods, idempotency verificati...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-CONTEXT.md
Markdown
250626739936e7de64293ab6add58f0dec18a76ae265125d7e2ea017b9e39eac
0
896
HTTP mocking (not pytest-httpx despite being in deps) — used consistently in scraper tests - `MagicMock` (not AsyncMock) for Neo4j driver — established in Phase 5 tests - `@pytest.mark.live` for tests hitting real APIs — separate from unit tests via `addopts = "-m 'not live'"` - Docker compose for Qdrant (port 6333) an...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-CONTEXT.md
Markdown
f109df8840ab1c026538e48d7d7075db6ee4c48ad3c7ebf2723e58325f1270ec
1
218
# Phase 7: Testing & Quality - Research **Researched:** 2026-03-20 **Domain:** Python testing, type checking, linting, documentation, code quality **Confidence:** HIGH ## Summary Phase 7 brings a ~7000-line Python codebase (46 source files, 548-line orchestrator being the largest) from 74% branch coverage to 80%+, f...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-RESEARCH.md
Markdown
d54d901e9754c84a8cc22c1f74bde65e24a88aaec0a9c3aef26c4b08b3892ad2
0
896
, chunkers, dedup (no network) | Coverage data shows code_chunker at 38%, caption_chunker at 93%, text_chunker at 92%; dedup at 100%. Focus on code_chunker function-splitting paths | | TEST-02 | Integration tests with live APIs (@pytest.mark.live) | 13 live test classes already exist covering OpenCast, GitHub, OpenAlex...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-RESEARCH.md
Markdown
e1a04113ab05216978ca74ed2e45d5f3bc0ebb7b01d7091ff1238ca2572f9b28
1
896
gap-filling - `pytest-mock` -- unittest.mock is already used everywhere; switching adds inconsistency ## Architecture Patterns ### Current Test Structure (preserve it) ``` tests/ ├── conftest.py # Shared fixtures: Settings, respx, PDFs, audio/video, VTT/SRT ├── e2e/ │ └── test_pipeline_smoke.py # E2E:...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-RESEARCH.md
Markdown
49852652e46a71d6685922bef00ec2e01ffa8f2db2bb1eeb0b3ef4989a8d575f
2
896
------|-------------|-------------|-----| | Coverage gap identification | Manual line-by-line audit | `pytest --cov=jku_kb --cov-branch --cov-report=term-missing` | Automated, accurate, shows exact missing lines | | HTTP mocking | Custom mock servers | respx (already established) | Project-wide consistency, intercepts ...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-RESEARCH.md
Markdown
efa6f9f8cfba9490d12c7e13a8d07bf78d8b064929c1c60afd8fb283f970ea2f
3
896
`operator` errors on SDK return values. ### Pitfall 5: list Invariance with Qdrant Filter **What goes wrong:** `list[FieldCondition]` is not assignable to `list[FieldCondition | IsEmptyCondition | ...]` because lists are invariant in Python typing. **Why it happens:** mypy enforces type safety; `list[A]` is not `list[...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-RESEARCH.md
Markdown
a4d8dd80ae557532fcfac51125e3a299715a011bbaf5cc5cceb8e2fcd302b502
4
896
, url="http://x", title="T") chunker = CodeChunker() chunks = await chunker.chunk(item, path, tmp_path / "out") assert len(chunks) > 1 # Should split into function-based chunks ``` ### Minimal Type Stub for ffmpeg-python ```python # src/stubs/ffmpeg/__init__.pyi # Minimal stub covering project usage from...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-RESEARCH.md
Markdown
8940ad1620c1bdc2ac25d7d7369357d6dad5890c5c9fcb84f1effadf9ded8a08
5
896
py | 70% | 39-371 | MEDIUM | | scrapers/huggingface.py | 71% | 38-98 | MEDIUM | | europe_pmc.py | 74% | 43-81 | MEDIUM | | scrapers/wayback.py | 74% | 48-127 | MEDIUM | | scrapers/wikidata.py | 74% | 52-103 | MEDIUM | | graph/taxonomy.py | 79% | 25-125 | LOW | | scrapers/youtube.py | 78% | 44-184 | LOW | **Modules alr...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-RESEARCH.md
Markdown
56e0f6343bdafea54780c418f3d8c2f5b36cde70747395fe30f242acc5a2f9d6
6
896
30 | Manual fix | ### Missing Docstrings (36 total) | Category | Count | Examples | |----------|-------|---------| | Module docstrings (__init__.py) | 5 | `__init__.py`, `embedders/__init__.py`, `graph/__init__.py`, `scrapers/__init__.py`, `storage/__init__.py` | | Enum/model class docstrings | 5 | Modality, FetchSta...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-RESEARCH.md
Markdown
03cc2e4feb2ba4b953154eab9b15e8559b2cc8e33e24bfba0bb3f2a60515c4ea
7
896
` [tool.pytest.ini_options] | | Quick run command | `uv run pytest -m "not live" -x -q` | | Full suite command | `uv run pytest --cov=jku_kb --cov-branch --cov-report=term-missing -m "not live"` | ### Phase Requirements -> Test Map | Req ID | Behavior | Test Type | Automated Command | File Exists? | |--------|--------...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-RESEARCH.md
Markdown
db74fa8c28d2c8949e71c8237215bab7a5836ca81d9067d467dcbb9a727078f5
8
896
- What we know: ffmpeg-python and feedparser have no type stubs. CONTEXT.md says "write minimal stubs where not available". - What's unclear: Whether to put stubs in `src/stubs/` (with mypy `mypy_path` config) or directly as `.pyi` files next to the imports. - Recommendation: Use `src/stubs/` directory with `mypy...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-RESEARCH.md
Markdown
099deb76366ac5f91ca4318b41acca60d7207ffeb7d6e9a1e948b4ad14e62e2e
9
640
--- phase: 7 slug: testing-quality status: draft nyquist_compliant: false wave_0_complete: false created: 2026-03-20 --- # Phase 7 — Validation Strategy > Per-phase validation contract for feedback sampling during execution. --- ## Test Infrastructure | Property | Value | |----------|-------| | **Framework** | pyt...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-VALIDATION.md
Markdown
0e9882b968d72f1f4f21aa428bd5ac36e67fe2d4259f092afd5af697a932aaee
0
896
pending | | 07-03-05 | 03 | 3 | QUAL-04 | integration | `uv run pytest -k idempotent -v` | ❌ W0 | ⬜ pending | *Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky* --- ## Wave 0 Requirements - [ ] `tests/integration/test_storage_roundtrip.py` — stubs for TEST-03 (Qdrant + Neo4j roundtrip) - [ ] `tests/integration/test_g...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-VALIDATION.md
Markdown
ea76e8198d3c84306eb6e3c8fb6980998da1a4a8d4a3a36418502643e8a65520
1
389
--- phase: 07-testing-quality verified: 2026-03-21T12:30:00Z status: passed score: 9/10 must-haves verified gaps: - truth: "ruff check src/ tests/ exits with 0 errors" status: resolved reason: "7 lint violations introduced in test files written by Plans 03 and 04. src/ is clean; tests/ has violations in test_...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-VERIFICATION.md
Markdown
85b917ca4bdf95055ae697a87d680d60471dbf899ee5089b616c401da5a10d63
0
896
no duplicates (QUAL-04) | VERIFIED | `test_upsert_idempotent` in both TestQdrantRoundtrip and TestNeo4jRoundtrip; `test_pipeline_idempotent` in E2E | **Score:** 9/10 truths verified ### Required Artifacts | Artifact | Expected | Status | Details | |----------|----------|--------|---------| | `src/stubs/ffmpeg/__init...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-VERIFICATION.md
Markdown
1ed238c2e73858d8d31a1e3a376982ac8773e499c26df713d964e0c862f77c66
1
896
` | WIRED | `await store.upsert_batch(...)` on lines 129, 174, 207 | | `tests/integration/test_storage_roundtrip.py` | `src/jku_kb/storage/neo4j.py` | `Neo4jStore.create_schema` | WIRED | `test_create_schema` at line 273 | | `tests/e2e/test_pipeline_smoke.py` | `src/jku_kb/orchestrator.py` | Orchestrator with mocked sc...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-VERIFICATION.md
Markdown
a2e8c1fcb6edb600e81a4231f7521f39ec108ec90b20ce519bd7fb8e12ff2e1f
2
896
py` | 204 | E501 line too long (121 chars) | Warning | Minor style | | `tests/unit/test_scrapers/test_web_crawl.py` | 311 | E741 ambiguous variable `l` | Warning | Readability concern | | `tests/unit/test_storage/test_local_fs.py` | 3 | I001 unsorted import block | Warning | Does not block test execution | All 7 viola...
jku-encyclopedia
.planning/milestones/v1.0-phases/07-testing-quality/07-VERIFICATION.md
Markdown
22696b84788fbb14189627fa6a9e370e718691c89786e0edf457367d8c075efc
3
426
--- phase: 08-foundation-registry-orchestrator-test-baseline plan: 01 type: execute wave: 1 depends_on: [] files_modified: - src/jku_kb/scrapers/__init__.py - src/jku_kb/config.py - src/jku_kb/scrapers/arxiv.py - src/jku_kb/scrapers/europe_pmc.py - src/jku_kb/scrapers/github.py - src/jku_kb/scrapers/hugging...
jku-encyclopedia
.planning/milestones/v1.1-phases/08-foundation-registry-orchestrator-test-baseline/08-01-PLAN.md
Markdown
f54708b5a6b53a5821132dfab5955e09b55267ceced49864998463d0def1c309
0
896
(BaseScraper): def __init__(self, settings: Settings, source_id: str = "jku_web", start_urls: list[str] | None = None, max_pages: int = 2000) -> None: ``` From src/jku_kb/orchestrator.py (current factory — to be replaced): ```python # Lines 92-163: hardcoded _get_scraper() factory with 19 source m...
jku-encyclopedia
.planning/milestones/v1.1-phases/08-foundation-registry-orchestrator-test-baseline/08-01-PLAN.md
Markdown
2d310c97cf324178bb9da3a7082418e1d15e67bcc6d9a5d4ec815799ee74bb42
1
896
": SourceConfig( scraper_class="web_crawl", start_urls=["https://www.bioinf.jku.at/teaching/"], max_pages=500, ), "fmv_jku": SourceConfig( scraper_class="web_crawl", start_urls=["https://fmv.jku.at/teaching/"], max_pages=500, ), "cp_jku": SourceConfig( ...
jku-encyclopedia
.planning/milestones/v1.1-phases/08-foundation-registry-orchestrator-test-baseline/08-01-PLAN.md
Markdown
9fa0b615276e23ac52a19ca1e64674031ad6e9b055d4de1a927942ce759e58ad
2
896
src/jku_kb/scrapers/openalex.py - src/jku_kb/scrapers/opencast.py - src/jku_kb/scrapers/pdf_fetch.py - src/jku_kb/scrapers/podcast.py - src/jku_kb/scrapers/semantic_scholar.py - src/jku_kb/scrapers/web_crawl.py - src/jku_kb/scrapers/wikidata.py - src/jku_kb/scrapers/youtube.py - src/jku_...
jku-encyclopedia
.planning/milestones/v1.1-phases/08-foundation-registry-orchestrator-test-baseline/08-01-PLAN.md
Markdown
f6bde82c621dbe860502c43114e65e1208ba42c74ffb451bbdcbb72bda6724e6
3
896
source_id, settings) ``` Make sure `settings` is in scope at that point (it is — it's created earlier in the same function). If the import is better placed at the top of the file, add it there instead. </action> <verify> <automated>cd C:/Development/Private/jku-encyclopedia && uv run python -c " from jku_kb.sc...
jku-encyclopedia
.planning/milestones/v1.1-phases/08-foundation-registry-orchestrator-test-baseline/08-01-PLAN.md
Markdown
e54a31e66c066cd2271f9ddf2848db53a2302ef71598e5ccbb3764fef4b8e0b1
4
832
--- phase: 08-foundation-registry-orchestrator-test-baseline plan: "01" subsystem: scrapers tags: [registry, decorator-pattern, refactoring, wayback-removal] dependency_graph: requires: [] provides: [scraper-registry, source-config-model] affects: [orchestrator, cli] tech_stack: added: [] patterns: [decorator...
jku-encyclopedia
.planning/milestones/v1.1-phases/08-foundation-registry-orchestrator-test-baseline/08-01-SUMMARY.md
Markdown
3990320cfeaf73dd45733a355bb9eb531aa095611d7b21c8fed4cf3cbbd5edb5
0
896
executed exactly as written. ## Commits | Hash | Description | |------|-------------| | f2b02da | feat(08-01): create scraper registry and SourceConfig model | | 248b253 | feat(08-01): decorate all scrapers, remove Wayback, update CLI to use registry | ## Self-Check: PASSED - `src/jku_kb/scrapers/__init__.py` exist...
jku-encyclopedia
.planning/milestones/v1.1-phases/08-foundation-registry-orchestrator-test-baseline/08-01-SUMMARY.md
Markdown
75c207643f6fc7c09d122f378e41d348f4c9e6c2ca82555dfeb5627f5551d277
1
193
--- phase: 08-foundation-registry-orchestrator-test-baseline plan: 02 type: execute wave: 2 depends_on: ["08-01"] files_modified: - src/jku_kb/orchestrator/__init__.py - src/jku_kb/orchestrator/helpers.py - src/jku_kb/orchestrator/discover.py - src/jku_kb/orchestrator/fetch.py - src/jku_kb/orchestrator/chunk....
jku-encyclopedia
.planning/milestones/v1.1-phases/08-foundation-registry-orchestrator-test-baseline/08-02-PLAN.md
Markdown
9f99db92299565863bdc29eb8bb65236e6d3265c42e8f4fa1a8b716b5d46de55
0
896
/Users/julia/.claude/get-shit-done/templates/summary.md </execution_context> <context> @.planning/ROADMAP.md @.planning/REQUIREMENTS.md @.planning/phases/08-foundation-registry-orchestrator-test-baseline/08-CONTEXT.md @.planning/phases/08-foundation-registry-orchestrator-test-baseline/08-RESEARCH.md @.planning/phases/...
jku-encyclopedia
.planning/milestones/v1.1-phases/08-foundation-registry-orchestrator-test-baseline/08-02-PLAN.md
Markdown
92a1054f129523b9eb855a05c94af1c027df86328d2b21ce06e7695224906018
1
896