GRAPH_REPORT.md 11 KB

Graph Report - pedidos_express_server (2026-05-08)

Corpus Check

  • 52 files · ~66,147 words
  • Verdict: corpus is large enough that graph structure adds value.

Summary

  • 854 nodes · 1442 edges · 57 communities (42 shown, 15 thin omitted)
  • Extraction: 91% EXTRACTED · 9% INFERRED · 0% AMBIGUOUS · INFERRED: 135 edges (avg confidence: 0.71)
  • Token cost: 0 input · 0 output

Graph Freshness

  • Built from commit: a705140e
  • Run git rev-parse HEAD and compare to check if the graph is stale.
  • Run graphify update . after code changes (no API cost).

Community Hubs (Navigation)

  • [[_COMMUNITY_Community 0|Community 0]]
  • [[_COMMUNITY_Community 1|Community 1]]
  • [[_COMMUNITY_Community 2|Community 2]]
  • [[_COMMUNITY_Community 3|Community 3]]
  • [[_COMMUNITY_Community 4|Community 4]]
  • [[_COMMUNITY_Community 5|Community 5]]
  • [[_COMMUNITY_Community 6|Community 6]]
  • [[_COMMUNITY_Community 7|Community 7]]
  • [[_COMMUNITY_Community 8|Community 8]]
  • [[_COMMUNITY_Community 9|Community 9]]
  • [[_COMMUNITY_Community 10|Community 10]]
  • [[_COMMUNITY_Community 11|Community 11]]
  • [[_COMMUNITY_Community 12|Community 12]]
  • [[_COMMUNITY_Community 13|Community 13]]
  • [[_COMMUNITY_Community 14|Community 14]]
  • [[_COMMUNITY_Community 15|Community 15]]
  • [[_COMMUNITY_Community 16|Community 16]]
  • [[_COMMUNITY_Community 17|Community 17]]
  • [[_COMMUNITY_Community 18|Community 18]]
  • [[_COMMUNITY_Community 19|Community 19]]
  • [[_COMMUNITY_Community 20|Community 20]]
  • [[_COMMUNITY_Community 21|Community 21]]
  • [[_COMMUNITY_Community 22|Community 22]]
  • [[_COMMUNITY_Community 23|Community 23]]
  • [[_COMMUNITY_Community 24|Community 24]]
  • [[_COMMUNITY_Community 25|Community 25]]
  • [[_COMMUNITY_Community 26|Community 26]]
  • [[_COMMUNITY_Community 27|Community 27]]
  • [[_COMMUNITY_Community 28|Community 28]]
  • [[_COMMUNITY_Community 29|Community 29]]
  • [[_COMMUNITY_Community 30|Community 30]]
  • [[_COMMUNITY_Community 31|Community 31]]
  • [[_COMMUNITY_Community 32|Community 32]]
  • [[_COMMUNITY_Community 33|Community 33]]
  • [[_COMMUNITY_Community 34|Community 34]]
  • [[_COMMUNITY_Community 35|Community 35]]
  • [[_COMMUNITY_Community 36|Community 36]]
  • [[_COMMUNITY_Community 37|Community 37]]
  • [[_COMMUNITY_Community 38|Community 38]]
  • [[_COMMUNITY_Community 41|Community 41]]
  • [[_COMMUNITY_Community 42|Community 42]]
  • [[_COMMUNITY_Community 43|Community 43]]
  • [[_COMMUNITY_Community 44|Community 44]]
  • [[_COMMUNITY_Community 45|Community 45]]
  • [[_COMMUNITY_Community 55|Community 55]]

God Nodes (most connected - your core abstractions)

  1. success_response() - 32 edges
  2. ProductDataService - 25 edges
  3. SalesDataService - 24 edges
  4. Product - 23 edges
  5. UserDataService - 22 edges
  6. eb - 22 edges
  7. error_response() - 20 edges
  8. Le() - 17 edges
  9. EmailSender - 16 edges
  10. BlacklistDataService - 16 edges

Surprising Connections (you probably didn't know these)

  • main() --calls--> validate_config() [INFERRED] main.py → config/settings.py
  • main() --calls--> initialize_db() [INFERRED] main.py → services/data_service.py
  • get_table_items() --calls--> get_products_by_table() [INFERRED] routes/products.py → services/fudo_service.py
  • printer_order() --calls--> get_email_sender() [INFERRED] routes/orders.py → services/email_service.py
  • BaseDataService --uses--> User [INFERRED] services/data_service.py → models/user.py

Communities (57 total, 15 thin omitted)

Community 0 - "Community 0"

Cohesion: 0.05 Nodes (64): generate_token(), Generate a JWT token for user authentication., apply_promo_price(), create_product(), delete_product(), edit_product(), get_free_beer(), get_product() (+56 more)

Community 1 - "Community 1"

Cohesion: 0.05 Nodes (44): BaseModel, ErrorResponse, Class to handle success messages in the response., Class to handle error messages in the response., Class to handle user-related messages in the response., SuccessResponse, UserResponse, ChatCompletionRequest (+36 more)

Community 2 - "Community 2"

Cohesion: 0.04 Nodes (31): a0, Ah, ai(), at, {basename:D,unstable_useTransitions:X}, Be, bv(), Ch (+23 more)

Community 3 - "Community 3"

Cohesion: 0.05 Nodes (16): ag, an, eg(), jg(), Kt(), ng, Ro, Rx() (+8 more)

Community 4 - "Community 4"

Cohesion: 0.09 Nodes (43): _auth_params(), _build_line(), clear_token(), create_item(), create_sale(), _discover_open_order_for_table(), _fetch_menu(), fetch_page() (+35 more)

Community 5 - "Community 5"

Cohesion: 0.06 Nodes (24): validate_config(), create_app(), Create and configure FastAPI application, Setup all application routes, setup_routes(), main(), testing Main application entry point, EmailSender (+16 more)

Community 6 - "Community 6"

Cohesion: 0.06 Nodes (27): authenticate_user(), create_access_token(), get_current_user(), hash_password(), Hash a password using bcrypt., Create a JWT access token., Authenticate a user by email and password., TokenData (+19 more)

Community 7 - "Community 7"

Cohesion: 0.1 Nodes (17): Sale model matching the database schema, Sale, Get product IDs for a specific sale, Get products for a specific sale with quantities, Get sales by table number, Update quantity of a product in a sale, Get quantity of a specific product in a sale, Delete a sale and its product relationships (+9 more)

Community 8 - "Community 8"

Cohesion: 0.07 Nodes (23): ABC, Blacklist, Blacklist model matching the database schema, BaseDataService, BlacklistDataService, DataServiceFactory, get_blacklist_service(), get_product_service() (+15 more)

Community 9 - "Community 9"

Cohesion: 0.13 Nodes (30): ab(), bb(), ci(), db(), Ds(), ev(), Fh(), fx() (+22 more)

Community 10 - "Community 10"

Cohesion: 0.1 Nodes (25): $, b, bh, By(), Dy(), F(), Gg(), Hy() (+17 more)

Community 11 - "Community 11"

Cohesion: 0.09 Nodes (14): User model matching the database schema, User, AppStateBody, Service for managing user data, Add a new user to the database, Get all users from the database, Get user data from the database, Login user by email and pin hash (+6 more)

Community 12 - "Community 12"

Cohesion: 0.07 Nodes (26): 1.1 Funciones definidas en fudo/fudo.py, 1.2 Uso por archivo, 1.3 Resumen por función, 1.4 Transformaciones notables, 1. Auditoría del uso de la API de Fudo, 2.1 Arquitectura, 2.2 Endpoints del servidor de impresión, 2.3 Validación de conectividad (+18 more)

Community 13 - "Community 13"

Cohesion: 0.15 Nodes (23): clear_token(), create_item(), create_sale(), fetch_page(), get_active_sale(), get_all_indexed_products(), get_all_products(), get_categories() (+15 more)

Community 14 - "Community 14"

Cohesion: 0.11 Nodes (12): Product, Product model matching the database schema, ProductDataService, Add a new product to the database, Get all products from the database, Search products by name, Get multiple products by their IDs, Process image for storage (+4 more)

Community 15 - "Community 15"

Cohesion: 0.08 Nodes (23): 1. Prerrequisitos, 2. Instalación, 3. Variables de Entorno (.env), 4. Ejecución, 🔌 API Endpoints (Resumen), Asistente de IA (Camilo Klein), Biergarten Klein - Sistema de Pedidos Express, 🤖 Características Principales (+15 more)

Community 16 - "Community 16"

Cohesion: 0.13 Nodes (22): av(), Co(), dh(), di(), Dx(), e0(), gh(), go() (+14 more)

Community 17 - "Community 17"

Cohesion: 0.1 Nodes (19): Architecture, code:bash (python main.py), code:bash (gunicorn -w 4 -k uvicorn.workers.UvicornWorker app:app --bin), code:bash (npm install), code:bash (pip install -r requirements.txt), Commands, Commit Convention, Configuration (+11 more)

Community 19 - "Community 19"

Cohesion: 0.17 Nodes (11): bg, cx(), dg, Fy(), jh(), ln(), Ms(), Nh() (+3 more)

Community 20 - "Community 20"

Cohesion: 0.15 Nodes (13): mount_main_static_files(), mount_register_static_files(), NoCacheStaticFiles, StaticFiles que agrega headers para evitar cache, Override para agregar headers de no-cache, Serve the main HTML file, Serve the register HTML file, Mount static files for the register page (+5 more)

Community 21 - "Community 21"

Cohesion: 0.21 Nodes (14): dv(), fv(), ks(), Le(), Mv(), ni(), qg(), Rv() (+6 more)

Community 22 - "Community 22"

Cohesion: 0.22 Nodes (13): ax(), bo(), ex(), Im(), Iy(), Lo(), lx(), nx() (+5 more)

Community 23 - "Community 23"

Cohesion: 0.18 Nodes (7): body, createGlobalLoader(), data, dv, formData, rut, showGlobalLoader()

Community 24 - "Community 24"

Cohesion: 0.17 Nodes (9): _h(), Ky(), My(), No(), Py, tg, th(), yh() (+1 more)

Community 25 - "Community 25"

Cohesion: 0.29 Nodes (10): Hv(), jv(), kv(), qv(), Uh(), Vv(), xo(), xv() (+2 more)

Community 26 - "Community 26"

Cohesion: 0.22 Nodes (8): cb(), hx(), Mx(), n0(), Ov(), ph(), ux(), wx()

Community 33 - "Community 33"

Cohesion: 0.33 Nodes (3): Update sale information (products should be updated via specific methods), Activate a product (set status to 1), Deactivate a product (set status to 0)

Community 34 - "Community 34"

Cohesion: 0.5 Nodes (3): Enum, Locations, Locations for the printer service

Community 35 - "Community 35"

Cohesion: 0.4 Nodes (3): initialize_db(), Load multiple products from a list of dictionaries, Create a new sale with products and quantities

Community 37 - "Community 37"

Cohesion: 0.67 Nodes (3): Valida el token manualmente para WebSocket ya que no usan HTTPBearer standard, validate_ws_token(), websocket_endpoint()

Knowledge Gaps

  • 230 isolated node(s): Create and configure FastAPI application, Setup all application routes, testing Main application entry point, Verifica qué productos de 'indexed_products' no existen en la DB local y los, Locations for the printer service (+225 more) These have ≤1 connection - possible missing edges or undocumented components.
  • 15 thin communities (<3 nodes) omitted from report — run graphify query to explore isolated nodes.

Suggested Questions

Questions this graph is uniquely positioned to answer:

  • Why does Product connect Community 14 to Community 1, Community 4, Community 7, Community 8, Community 11, Community 13? High betweenness centrality (0.085) - this node is a cross-community bridge.
  • Why does printer_order() connect Community 1 to Community 0? High betweenness centrality (0.061) - this node is a cross-community bridge.
  • Why does get_product() connect Community 4 to Community 14? High betweenness centrality (0.045) - this node is a cross-community bridge.
  • Are the 31 inferred relationships involving success_response() (e.g. with get_products() and get_product()) actually correct? success_response() has 31 INFERRED edges - model-reasoned connections that need verification.
  • Are the 5 inferred relationships involving ProductDataService (e.g. with User and Product) actually correct? ProductDataService has 5 INFERRED edges - model-reasoned connections that need verification.
  • Are the 4 inferred relationships involving SalesDataService (e.g. with User and Product) actually correct? SalesDataService has 4 INFERRED edges - model-reasoned connections that need verification.
  • Are the 20 inferred relationships involving Product (e.g. with BaseDataService and UserDataService) actually correct? Product has 20 INFERRED edges - model-reasoned connections that need verification.