Document the streaming-first graph-handling design principle
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 62/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- documentation
Línea de trabajo
Comienza leyendo las secciones “Memory characteristics” y “The NetworkX boundary” de docs/graphs/index.rst, además de la mención de streaming cerca de docs/tutorial.rst:111. Añade la sección “Graph handling: streaming-first” en docs/flpq.rst junto a “Package structure”, luego añade una referencia cruzada desde docs/graphs/index.rst y elimina el texto duplicado sobre el límite. Está terminado cuando la sección existe, la referencia cruzada se resuelve y la documentación se compila sin referencias rotas.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Motivation
The streaming design is currently only described locally in docs/graphs/index.rst ("Format conversion" → "Memory characteristics" / "The NetworkX boundary") and passed by in docs/tutorial.rst:111. There is no global statement of the principle. This task adds it, using the pragmatic reading agreed in discussion (see the companion strict-reading discussion issue for the gaps this reading deliberately leaves as the in-memory boundary).
The principle (pragmatic reading — to be documented)
Graph handling is streaming-first. The primary way to read, convert, validate, and write graph data is over an edge stream — a lazy iterator of
(u, label, v)tuples — keeping memory O(1) in the number of edges. Materializing anetworkx.MultiDiGraph(O(V+E)) is allowed only when strictly necessary: (a) the RDF source (no streaming parser); (b) an operation whose contract is to produce or consume an in-memory graph object — the generators, the adjacency utilities, and thegraph_from_*/graph_to_*loaders (the "NetworkX boundary"); (c) a consumer that needs the graph as a whole (e.g. an FLPQ solver). Where a function needs only a projection of the graph (e.g. the set of edge labels), it should take the narrowest input that suffices, not the full graph.
Placement
docs/flpq.rst— a new "Graph handling: streaming-first" section next to "Package structure" (the page that "records the design decisions"). States the rule once.docs/graphs/index.rst— keeps the concrete per-format memory characteristics (it already has "Memory characteristics" and "The NetworkX boundary"); add a cross-reference up to the principle and align the boundary wording so it is described in one place.
Plan
- S1. Add the "Graph handling: streaming-first" section to
docs/flpq.rstwith the principle text above. - S2. Cross-reference from
docs/graphs/index.rst("The NetworkX boundary" / "Memory characteristics") to the new section; align wording so the boundary is described once (no duplication). - S3. Build the docs (quality gate) to confirm no broken references.
Documentation-only task (no .py changed): skips code gates, still follows one-task-per-branch + code review.
Related
- #189 — stream the
graph/validation (the first enforcement of the principle on the data pipeline). - Companion discussion issue — the strict-reading audit of the transform/generator layer.
- Lenguaje dominante
- Python
- Estrellas
- 13
- Forks
- 16
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 7
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de FormalLanguageConstrainedPathQuerying/FLPQ_Data
-
task
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
FormalLanguageConstrainedPathQuerying/FLPQ_Data#185 · 1 comentario ·
-
Page title is CFPQ_DataAbiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
task
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
FormalLanguageConstrainedPathQuerying/FLPQ_Data#192 · 1 comentario ·
-
enhancement task
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
-
task
Dificultad 3/5 Medio día Aptitud para principiantes 45/100
FormalLanguageConstrainedPathQuerying/FLPQ_Data#189 · 1 comentario ·
Todos los issues de FormalLanguageConstrainedPathQuerying/FLPQ_Data
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
volcengine/OpenViking#8432 ·
Los mantenedores suelen responder en 1 día
-
Failed chat turns are passed to the follow-up rewrite as completed historyPosiblemente ocupada @hskhyl la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NVIDIA/auto-ontology#683 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Implement parse_url and accept http URLs for Pear backendPosiblemente ocupada @muskan-creates352 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fedora-infra/anitya#2231 ·
Los mantenedores suelen responder en 2 días
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMarkAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
docling-project/docling-core#1067 ·
Los mantenedores suelen responder en 3 días
-
correction metadata
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
acl-org/acl-anthology#11101 · 1 comentario ·
Los mantenedores suelen responder en 1 día