Files
ghatreh_user/graphify-out/2026-09-27/GRAPH_REPORT.md
T
2026-09-28 14:12:30 +03:30

140 lines
5.8 KiB
Markdown

# Graph Report - ghatreh_user (2026-09-27)
## Corpus Check
- 598 files · ~506,745 words
- Verdict: corpus is large enough that graph structure adds value.
- Unclassified: 51 file(s) not represented in the graph (top: .less 25, .eot 6, .ttf 6)
## Summary
- 84 nodes · 154 edges · 8 communities
- Extraction: 91% EXTRACTED · 9% INFERRED · 0% AMBIGUOUS · INFERRED: 14 edges (avg confidence: 0.85)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `8083c4f0`
- 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)
- useTvMonitorPage
- useTvMonitorPage.ts
- index.vue
- productPrice.ts
- getProductBaseBuyPrice
- ref_models
- isTvProductPriceInactive
- applyPriceOffsetPercent
## God Nodes (most connected - your core abstractions)
1. `useTvMonitorPage()` - 25 edges
2. `getProductBaseBuyPrice()` - 10 edges
3. `getProductBuyPrice()` - 7 edges
4. `getProductBaseSellPrice()` - 6 edges
5. `getProductSellPrice()` - 6 edges
6. `productUsesLastPriceIfZero()` - 5 edges
7. `applyPriceOffsetPercent()` - 5 edges
8. `isProductPriceInactive()` - 5 edges
9. `formatTvPrice()` - 5 edges
10. `cashFeeOptions()` - 4 edges
## Surprising Connections (you probably didn't know these)
- `useTvMonitorPage()` --indirect_call--> `isShowOnTv()` [INFERRED]
src/views/tv/composables/useTvMonitorPage.ts → src/views/tv/composables/useTvMonitorPage.ts _Bridges community 1 → community 0_
- `colleagueSideUnit()` --calls--> `getColleagueSourcedUnitPrice()` [EXTRACTED]
src/utils/productPrice.ts → src/utils/productPrice.ts _Bridges community 4 → community 7_
- `getProductBuyPrice()` --calls--> `getProductBaseBuyPrice()` [EXTRACTED]
src/utils/productPrice.ts → src/utils/productPrice.ts _Bridges community 4 → community 3_
- `getTvProductBuyPrice()` --calls--> `getProductBuyPrice()` [EXTRACTED]
src/utils/productPrice.ts → src/utils/productPrice.ts _Bridges community 3 → community 6_
- `isTvProductPriceInactive()` --calls--> `isProductPriceInactive()` [EXTRACTED]
src/utils/productPrice.ts → src/utils/productPrice.ts _Bridges community 4 → community 6_
## Import Cycles
- None detected.
## Communities (8 total, 0 thin omitted)
### Community 0 - "useTvMonitorPage"
Cohesion: 0.14
Nodes (17): floorTvToman(), formatTvPrice(), parseTvNews(), useTvMonitorPage(), hideCursorSoon(), isProductTvInactive(), liveQuoteLabel(), loadProducts() (+9 more)
### Community 1 - "useTvMonitorPage.ts"
Cohesion: 0.17
Nodes (15): ref_api, ref_assets, ref_moment, ref_moment_jalaali, ref_store, ref_utils, ref_vue, ref_vueuse_core (+7 more)
### Community 2 - "index.vue"
Cohesion: 0.19
Nodes (15): ref_components, ref_views, coinColumns, extraTickerLoop, loopNews(), loopTicker(), marqueeCopies(), newsDuration() (+7 more)
### Community 3 - "productPrice.ts"
Cohesion: 0.44
Nodes (9): buyCashFee(), cashFeeOptions(), getProductBuyPrice(), getProductSellPrice(), hasProductUnitWeight(), isProductWithoutDisplayPrice(), productPriceAmountFactor(), productUsesLiveBoardQuote() (+1 more)
### Community 4 - "getProductBaseBuyPrice"
Cohesion: 0.43
Nodes (8): colleagueSideUnit(), getProductBaseBuyPrice(), getProductBaseSellPrice(), getReferenceProductBaseBuyPrice(), hasReferenceReadingMethod(), isProductPriceInactive(), isProductVisible(), productUsesLastPriceIfZero()
### Community 5 - "ref_models"
Cohesion: 0.40
Nodes (4): ref_models, CountPInventory, PInventory, Product
### Community 6 - "isTvProductPriceInactive"
Cohesion: 0.50
Nodes (5): getTvProductBuyPrice(), getTvProductSellPrice(), isTvProductPriceInactive(), tvBuyUnitPrice(), tvSellUnitPrice()
### Community 7 - "applyPriceOffsetPercent"
Cohesion: 0.67
Nodes (3): applyPriceOffsetPercent(), getColleagueSourcedUnitPrice(), resolvePriceOffsetRatio()
## Knowledge Gaps
- **6 isolated node(s):** `Product`, `PInventory`, `CountPInventory`, `{ theme, themeVars, toggleTheme }`, `{
rootEl,
brandName,
brandLogo,
nowLabel,
dateLabel,
parsianCoins,
bankCoins,
hasCoinBoard,
hasBoardContent,
tickerProducts,
tickerTitle,
extraTickerProducts,
extraTickerTitle,
tvNewsItems,
newsTickerTitle,
statusBanner,
showMainQuote,
mainQuoteReady,
mainQuoteReady,
liveBuy,
liveSell,
isLive,
isFullscreen,
cursorHidden,
loading,
productWeightLabel,
tickerItemLabel,
isProductTvInactive,
productBuyLabel,
productSellLabel,
liveQuoteLabel,
toggleFullscreen,
}` (+1 more)
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 18 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **Why does `useTvMonitorPage()` connect `useTvMonitorPage` to `useTvMonitorPage.ts`?**
_High betweenness centrality (0.342) - this node is a cross-community bridge._
- **Why does `formatTvPrice()` connect `useTvMonitorPage` to `useTvMonitorPage.ts`?**
_High betweenness centrality (0.026) - this node is a cross-community bridge._
- **Why does `getProductBaseBuyPrice()` connect `getProductBaseBuyPrice` to `productPrice.ts`, `applyPriceOffsetPercent`?**
_High betweenness centrality (0.004) - this node is a cross-community bridge._
- **Are the 13 inferred relationships involving `useTvMonitorPage()` (e.g. with `isBankCoin()` and `isGoldBar()`) actually correct?**
_`useTvMonitorPage()` has 13 INFERRED edges - model-reasoned connections that need verification._
- **What connects `Product`, `PInventory`, `CountPInventory` to the rest of the system?**
_6 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `useTvMonitorPage` be split into smaller, more focused modules?**
_Cohesion score 0.1380952380952381 - nodes in this community are weakly interconnected._