637 lines
31 KiB
Markdown
637 lines
31 KiB
Markdown
# Graph Report - khatibi (2026-10-20)
|
|
|
|
## Corpus Check
|
|
- 197 files · ~287,853 words
|
|
- Verdict: corpus is large enough that graph structure adds value.
|
|
- Unclassified: 8 file(s) not represented in the graph (top: (none) 5, .env 2, .csv 1)
|
|
|
|
## Summary
|
|
- 1991 nodes · 3632 edges · 207 communities (87 shown, 120 thin omitted)
|
|
- Extraction: 95% EXTRACTED · 5% INFERRED · 0% AMBIGUOUS · INFERRED: 188 edges (avg confidence: 0.89)
|
|
- Token cost: 0 input · 0 output
|
|
|
|
## Graph Freshness
|
|
- Built from commit: `1fd27d04`
|
|
- 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)
|
|
- views/sms.py
|
|
- run_all
|
|
- django_db
|
|
- views/store.py
|
|
- ModelsPackageContractTests
|
|
- PhoneCleanupTests
|
|
- .load
|
|
- models/sms.py
|
|
- views/customers.py
|
|
- django_db_models_deletion
|
|
- PanelTestCase
|
|
- make_customer
|
|
- EventTriggerTests
|
|
- views/finance.py
|
|
- sms0098ws.py
|
|
- Admin Panel Customization
|
|
- User
|
|
- apply_timing
|
|
- InactiveCustomerHiddenTests
|
|
- normalize_mobile
|
|
- Login Template Forms
|
|
- cheque_inquiry.py
|
|
- factories.py
|
|
- Rip'n Fast. Fewer Tokens. Better Code.
|
|
- views/factors.py
|
|
- sms0098.py
|
|
- make_user
|
|
- QueueReviewTests
|
|
- NoticeMechanismTests
|
|
- name_fix.py
|
|
- enqueue_sms
|
|
- ZeroZeroNinetyEightWebServiceTests
|
|
- ScannerTests
|
|
- admin_panel/templates/admin_panel/baseHesabdari.html
|
|
- Reference guide
|
|
- Factor Creation UI
|
|
- hesabdariResidNashode.html
|
|
- requests
|
|
- CustomerSmsHistoryTests
|
|
- TemplatesPageUITests
|
|
- SMS Integration Docs
|
|
- enqueue.py
|
|
- django_shortcuts
|
|
- test_inventory.py
|
|
- admin_panel/templates/admin_panel/customerAction.html
|
|
- SmsReportTests
|
|
- write_tree
|
|
- CustomerInfoCardUITests
|
|
- TestCase
|
|
- Phone Cleanup Guide
|
|
- Customer
|
|
- project_tree.py
|
|
- Agent Operating Guidelines
|
|
- Command
|
|
- BehinSMSProvider
|
|
- activate_sms
|
|
- Financial Data Objects
|
|
- Hybrid Migration Command
|
|
- .run_cmd
|
|
- Resource Cleanup Handler
|
|
- SMS Timing Migration
|
|
- admin_panel/templates/admin_panel/bedehi.html
|
|
- customerIDFactorBackup.html
|
|
- bale/providers.py
|
|
- os
|
|
- Graphify Tooling Docs
|
|
- Command
|
|
- ZeroZeroNinetyEightLinkTests
|
|
- SMS Template Seeding
|
|
- admin_panel/entezar.html
|
|
- customerNewBackup.html
|
|
- django_conf
|
|
- 0070_sms_types_seven.py
|
|
- Endpoint Smoke Tests
|
|
- Timezone Migration History
|
|
- Command
|
|
- UrlContractTests
|
|
- Brand Scrubbing Migration
|
|
- SMS Dedup Migration
|
|
- Installation Guide
|
|
- Project Honesty Contract
|
|
- Flow Control Migration
|
|
- Permission Label Migration
|
|
- PhoneNumber
|
|
- Output Format Specs
|
|
- Performance Benchmarks
|
|
- SMS Integration Overview
|
|
- CustomerNameFixJob
|
|
- Customer Modal UI
|
|
- decide_prefix
|
|
- Infrastructure Services
|
|
- Agent Setup Guide
|
|
- First Use Guide
|
|
- ConsoleEncodingTests
|
|
- test_factors.py
|
|
- تجمیع شمارههای پیامک مشتریان
|
|
- Command
|
|
- Base Template
|
|
- test_sms.py
|
|
- Command
|
|
- WorkerTests
|
|
- manage.py
|
|
- افزودن پیشوند «آقای/خانم» به نام مشتریان
|
|
- Command
|
|
- QueueStatsTests
|
|
- signals.py
|
|
- Customer Communication Partials
|
|
- SMS Template Management
|
|
- Documentation and Graphing
|
|
- recipients.py
|
|
- Customer Action Templates
|
|
- Customer Feedback Components
|
|
- Customer Invoice Details
|
|
- Accounting Document Templates
|
|
- Customer Invoice List
|
|
- Customer Feedback Interface
|
|
- Action List Interface
|
|
- Base HTML Layout
|
|
- New Invoice Creation
|
|
- Customer Satisfaction Records
|
|
- Satisfaction UI Components
|
|
- Debt and Credit Management
|
|
- Customer Base Layout
|
|
- Financial Dashboard
|
|
- Accounting Main View
|
|
- Inventory Entry Form
|
|
- Inventory Operations History
|
|
- Operations Backup View
|
|
- Financial Reporting
|
|
- Debt Collection Interface
|
|
- Inventory Movement Analytics
|
|
- Satisfaction Analytics Dashboard
|
|
- Credit Status Reports
|
|
- Satisfaction List View
|
|
- SMS Queue Management
|
|
- Store Inventory View
|
|
- Store Transfer Interface
|
|
- Store Directory Template
|
|
- Currency Formatting Utility
|
|
- HttpProviderRobustnessTests
|
|
- Data Cleanup Documentation
|
|
- Project Dependencies
|
|
- Customer
|
|
- factory.py
|
|
- 0075_cheque_funding_before_due.py
|
|
- توقف و ادامه (Resume / Checkpoint)
|
|
- Command
|
|
- 0071_sms_settings_permission.py
|
|
- 0056_auto_20260731_1824.py
|
|
- الگوریتم تصمیم (به همین ترتیب)
|
|
- سریعترین مسیر روی Production (خلاصهٔ اجرایی)
|
|
- 0073_alter_action_actiontype_choices.py
|
|
- stop.sh
|
|
- 0074_alter_action_status_choices.py
|
|
- remove_query_param
|
|
- اجرای محلی (توسعه)
|
|
- .test_deleted_visit_reminder_rearms_next_period_only
|
|
- اجرا روی سرور Production
|
|
- اجرای محلی (توسعه)
|
|
- ادامهٔ job پس از crash / قطع برق
|
|
- اجرا روی سرور Production
|
|
- 0005_auto_20220121_2054.py
|
|
- 0009_remove_storeroom_user.py
|
|
- 0014_auto_20220123_1348.py
|
|
- 0015_auto_20220124_0858.py
|
|
- 0017_factoriteam_garantyesh.py
|
|
- 0022_article_typepy.py
|
|
- 0026_auto_20220209_1924.py
|
|
- 0028_action_grade.py
|
|
- 0032_article_paystatus.py
|
|
- 0033_article_nahvepardakht.py
|
|
- 0034_alter_article_sarresid.py
|
|
- 0035_alter_article_sarresid.py
|
|
- 0040_customer_laghv_bazdid.py
|
|
- 0041_auto_20240216_1607.py
|
|
- 0048_alter_productinstore_options.py
|
|
- 0053_storeroom_owners.py
|
|
- 0055_action_nextnazardt.py
|
|
- 0062_sms_link_provider.py
|
|
- 0063_alter_smsqueue_status.py
|
|
- 0068_auto_20261010_1305.py
|
|
- 0072_customernamefixjob.py
|
|
- 0077_alter_smstemplate_text_balance_help.py
|
|
|
|
## God Nodes (most connected - your core abstractions)
|
|
1. `make_customer()` - 89 edges
|
|
2. `run_all()` - 28 edges
|
|
3. `make_user()` - 28 edges
|
|
4. `normalize_mobile()` - 27 edges
|
|
5. `Customer` - 24 edges
|
|
6. `PhoneNumber` - 24 edges
|
|
7. `Command` - 24 edges
|
|
8. `enqueue_sms()` - 24 edges
|
|
9. `SMSResult` - 23 edges
|
|
10. `Rip'n Fast. Fewer Tokens. Better Code.` - 23 edges
|
|
|
|
## Surprising Connections (you probably didn't know these)
|
|
- `نکتههای مهم` --references--> `Action` [INFERRED]
|
|
recalc_last_bazdid.md → admin_panel/models/actions.py
|
|
- `مدل وضعیت job` --references--> `CustomerNameFixJob` [INFERRED]
|
|
fix_customer_names.md → admin_panel/models/system.py
|
|
- `چرا؟` --references--> `CustomerNameFixJob` [INFERRED]
|
|
fix_customer_names.md → admin_panel/models/system.py
|
|
- `سریعترین مسیر روی Production (اگر همین یک دستور را میخواهی)` --references--> `CustomerNameFixJob` [INFERRED]
|
|
normalize_customer_sms_phones.md → admin_panel/models/system.py
|
|
- `تستها` --references--> `resolve_recipients()` [INFERRED]
|
|
normalize_customer_sms_phones.md → admin_panel/sms/recipients.py
|
|
|
|
## Import Cycles
|
|
- None detected.
|
|
|
|
## Hyperedges (group relationships)
|
|
- **Customer Satisfaction & Collection** — admin_panel_templates_admin_panel_report_rezayat, admin_panel_templates_admin_panel_report_debtors_no_vosol, admin_panel_customer_customernazarinc [EXTRACTED 0.90]
|
|
- **Customer Management Flow** — admin_panel_customer_action_inc, admin_panel_customer_id_factor, admin_panel_customer_hesabdari [EXTRACTED 1.00]
|
|
- **Financial & Debt Management** — admin_panel_templates_admin_panel_financial_dashboard, admin_panel_templates_admin_panel_hesabdari [EXTRACTED 1.00]
|
|
- **Graphify Output Artifacts** — graphify-out_graph_json, graphify-out_wiki_index_md, graphify-out_graph_report_md [EXTRACTED 1.00]
|
|
- **Graphify Subcommands** — graphify_query, graphify_path, graphify_explain [EXTRACTED 1.00]
|
|
- **Inventory Management System** — admin_panel_templates_admin_panel_store, admin_panel_templates_admin_panel_store_transfers, admin_panel_templates_admin_panel_report_inventory_movements, admin_panel_templates_admin_panel_operationsbk [EXTRACTED 1.00]
|
|
- **SMS Management System** — admin_panel_templates_admin_panel_sms_settings_html, admin_panel_templates_admin_panel_sms_templates_html, admin_panel_templates_admin_panel_sms_queue_html, sms_worker, sms_delivery [EXTRACTED 1.00]
|
|
- **Bedehi Report Navigation** — django_urls_admin_panel_bedehi, django_urls_admin_panel_bedehikhadamat, django_urls_admin_panel_bedehinasb [EXTRACTED]
|
|
- **Login Form** — admin_panel_templates_admin_panel_login, django_url_admin_panel_p_login, django_csrf_token, form_field_username, form_field_password [EXTRACTED]
|
|
- **New Store Form** — admin_panel_templates_admin_panel_storebk1, django_url_admin_panel_newstore, django_csrf_token, form_field_storename [EXTRACTED]
|
|
- **Store Inventory Display** — admin_panel_templates_admin_panel_storebk1, template_variable_productsum, product_property_product_name, product_property_mojodi [EXTRACTED]
|
|
- **Customer List Page** — admin_panel_templates_admin_panel_entezar_html, concept_customer_data, concept_url_admin_panel_customers [INFERRED 0.80]
|
|
- **Customer Lifecycle Management** — admin_panel_templates_admin_panel_customers [INFERRED 0.85]
|
|
- **New Factor Creation Flow** — admin_panel_templates_admin_panel_customernewbackup_html, admin_panel_urls_newfactor, concept_client_side_form_logic, concept_customer, concept_category [INFERRED 0.85]
|
|
- **Customer Management UI Flow** — admin_panel_templates_admin_panel_customersbk_html, admin_panel_templates_admin_panel_customersbk_html_createcs, admin_panel_templates_admin_panel_customersbk_html_openrow, concept_customer_modal_ui [INFERRED 0.90]
|
|
- **Financial & Debt Management Flow** — admin_panel_templates_admin_panel_customerSarresid, admin_panel_templates_admin_panel_hesabdari, admin_panel_templates_admin_panel_financial_dashboard [INFERRED 0.90]
|
|
- **New Factor Item Creation Flow** — admin_panel_templates_admin_panel_customeridfactorbackup_html_js, panel_urls_productmojodi, concept_product, concept_productcategory [INFERRED 0.90]
|
|
- **Settle Due Payment Flow** — admin_panel_templates_admin_panel_hesabdaricheckpassfail_html, admin_panel_url_passcheck, admin_panel_url_pardakhtnesiye [INFERRED 0.90]
|
|
- **Accounting and Billing Flow** — admin_panel_templates_admin_panel_basehesabdari, concept_url_admin_panel_hesabdari, concept_url_admin_panel_bedehi [INFERRED]
|
|
- **Bedehi Template Data Contract** — admin_panel_templates_admin_panel_bedehi_html, django_context_variable_mandehesabkp, django_context_variable_articls [INFERRED]
|
|
- **Customer Action Creation Flow** — admin_panel_templates_admin_panel_customeraction, admin_panel_urls_customernewaction, concept_action_model [INFERRED]
|
|
- **Customer Management UI** — admin_panel_templates_admin_panel_customeridbackup_html, concept_customer, django_url_admin_panel_customeredit, api_endpoint_panel_customer_del, django_url_admin_panel_customerfactors [INFERRED]
|
|
- **Client-side Payment Processing Flow** — admin_panel_templates_admin_panel_hesabdaricheckpass_html, admin_panel_urls_passcheck, admin_panel_urls_pardakhtnesiye [INFERRED]
|
|
- **Nesiye Payment Flow** — admin_panel_templates_admin_panel_hesabdariresidnashode, admin_panel_urls_pardakhtnesiye [INFERRED]
|
|
- **New Factor Creation Flow** — admin_panel_templates_admin_panel_customeridbackup_html, django_url_admin_panel_productsjson, api_endpoint_panel_productmojodi, admin_panel_templates_admin_panel_customeridbackup_html_orderlist, admin_panel_templates_admin_panel_customeridbackup_html_buildorderlist, django_url_admin_panel_newfactor [INFERRED]
|
|
- **Store and Inventory Management Flow** — admin_panel_templates_admin_panel_basestore, concept_url_admin_panel_stores, concept_url_admin_panel_productadd, concept_url_admin_panel_operations, concept_url_admin_panel_store_transfers [INFERRED]
|
|
|
|
## Communities (207 total, 120 thin omitted)
|
|
|
|
### Community 0 - "views/sms.py"
|
|
Cohesion: 0.12
|
|
Nodes (18): _approve(), customer_sms_history(), _customer_url(), _notice(), parse_jalali_date(), parse_scan_since(), resolve_recipients_test(), sms_customer_toggle() (+10 more)
|
|
|
|
### Community 2 - "django_db"
|
|
Cohesion: 0.05
|
|
Nodes (20): Migration, Migration, Migration, Migration, Migration, Migration, Migration, Migration (+12 more)
|
|
|
|
### Community 3 - "views/store.py"
|
|
Cohesion: 0.05
|
|
Nodes (32): Product, Meta, ProductCategory, ProductInStore, Meta, MovementType, ProductStockHistory, Meta (+24 more)
|
|
|
|
### Community 5 - "PhoneCleanupTests"
|
|
Cohesion: 0.08
|
|
Nodes (9): Command, Migration, scrub_legacy_phones(), _append_note(), clean_all(), clean_customer(), clean_legacy_cell(), _numeric_tokens() (+1 more)
|
|
|
|
### Community 6 - ".load"
|
|
Cohesion: 0.19
|
|
Nodes (4): 12. Supported languages and formats, Languages, SettingsPanelTests, TestMessageSettingsTests
|
|
|
|
### Community 7 - "models/sms.py"
|
|
Cohesion: 0.06
|
|
Nodes (15): CustomerSMSSetting, Meta, SMSDedup, Meta, SMSLog, Meta, SMSProviderConfig, Meta (+7 more)
|
|
|
|
### Community 9 - "views/customers.py"
|
|
Cohesion: 0.10
|
|
Nodes (18): normalize_primary_values(), customer_toggle_map(), notify_welcome(), customer(), customerDel(), customerEdit(), customerFactor(), customerFactors() (+10 more)
|
|
|
|
### Community 10 - "django_db_models_deletion"
|
|
Cohesion: 0.05
|
|
Nodes (19): Migration, Migration, Migration, Migration, Migration, Migration, Migration, Migration (+11 more)
|
|
|
|
### Community 11 - "PanelTestCase"
|
|
Cohesion: 0.15
|
|
Nodes (3): EmptyQueueTests, PanelTestCase, SentQueueProtectionTests
|
|
|
|
### Community 12 - "make_customer"
|
|
Cohesion: 0.10
|
|
Nodes (7): resolve_recipients(), تستها, make_customer(), DeletedStaysDeletedTests, mark_primary(), PrimaryNumberPanelTests, RecipientTests
|
|
|
|
### Community 14 - "views/finance.py"
|
|
Cohesion: 0.20
|
|
Nodes (18): Article, Meta, addSarresid(), bedehi(), bedehiKhadamat(), bedehiNasb(), financial_dashboard(), hesabdari() (+10 more)
|
|
|
|
### Community 16 - "sms0098ws.py"
|
|
Cohesion: 0.11
|
|
Nodes (5): to_local(), classify_delivery(), DeliveryCode, describe_send_code(), _as_text()
|
|
|
|
### Community 17 - "Admin Panel Customization"
|
|
Cohesion: 0.12
|
|
Nodes (10): CustomerSMSSettingAdmin, SMSLogAdmin, SMSProviderConfigAdmin, SMSProviderConfigForm, Meta, SMSQueueAdmin, SMSTemplateAdmin, StoreRoomAdmin (+2 more)
|
|
|
|
### Community 18 - "User"
|
|
Cohesion: 0.07
|
|
Nodes (34): User, Action, ActionType, Status, VisitQueue, Factor, Meta, StoreRoom (+26 more)
|
|
|
|
### Community 19 - "apply_timing"
|
|
Cohesion: 0.12
|
|
Nodes (7): apply_timing(), current_timing_value(), timing_for(), sms_template_edit(), sms_templates(), _templates_redirect(), TimingsTests
|
|
|
|
### Community 20 - "InactiveCustomerHiddenTests"
|
|
Cohesion: 0.12
|
|
Nodes (3): CustomerCrudTests, CustomerDeleteGuardTests, InactiveCustomerHiddenTests
|
|
|
|
### Community 21 - "normalize_mobile"
|
|
Cohesion: 0.10
|
|
Nodes (13): customer_phone_entries(), _iter_sources(), PhoneEntry, resolved_recipients(), save_primary_normalized(), stored_primary_normalized(), to_display(), usable_entries() (+5 more)
|
|
|
|
### Community 22 - "Login Template Forms"
|
|
Cohesion: 0.11
|
|
Nodes (17): Django CSRF Token, Django Custom Tags, Django Static Files, Django URL: admin_panel:newStore, Django URL: admin_panel:operations, Django URL: admin_panel:p_login, Django URL: admin_panel:store, Form Field: password (+9 more)
|
|
|
|
### Community 23 - "cheque_inquiry.py"
|
|
Cohesion: 0.17
|
|
Nodes (6): api_check_sabt_inquiry(), api_check_status_inquiry(), parse_cheque_result_html(), run_bpi_cheque_inquiry_logic(), run_cbi_sayad_inquiry_logic(), solve_base64_captcha()
|
|
|
|
### Community 24 - "factories.py"
|
|
Cohesion: 0.31
|
|
Nodes (5): ProductCategory, make_category(), make_product(), make_store(), _next()
|
|
|
|
### Community 25 - "Rip'n Fast. Fewer Tokens. Better Code."
|
|
Cohesion: 0.11
|
|
Nodes (18): Against the leading graph-database code-context MCP server, Better Code: It automates the review judgments nobody has time to make — every lens from published research, Documentation, Graph-Ranked Retrieval: It finds the right files more often than the alternatives, If it works on your codebase, tell us what it got wrong, Improve it with your agent, Licence, Quickstart (+10 more)
|
|
|
|
### Community 26 - "views/factors.py"
|
|
Cohesion: 0.12
|
|
Nodes (10): FactorIteam, notify_factor_survey(), notify_payment_thanks(), FactorDel(), newFactor(), newFactor2(), InventoryException, _parse_jalali_date() (+2 more)
|
|
|
|
### Community 27 - "sms0098.py"
|
|
Cohesion: 0.20
|
|
Nodes (3): _configured_codes(), _response_code(), ZeroZeroNinetyEightSMSProvider
|
|
|
|
### Community 30 - "NoticeMechanismTests"
|
|
Cohesion: 0.17
|
|
Nodes (3): dashBoxData(), resolve(), NoticeMechanismTests
|
|
|
|
### Community 31 - "name_fix.py"
|
|
Cohesion: 0.13
|
|
Nodes (6): build_name_index(), DatasetError, load_name_index(), normalize_name_key(), validate_dataset(), NameIndexTests
|
|
|
|
### Community 32 - "enqueue_sms"
|
|
Cohesion: 0.21
|
|
Nodes (7): enqueue_sms(), _aware(), _Budget, scan_cheque_funding(), scan_nesiye_due(), scan_visit(), _template()
|
|
|
|
### Community 33 - "ZeroZeroNinetyEightWebServiceTests"
|
|
Cohesion: 0.12
|
|
Nodes (4): SMSDeliveryResult, ZeroZeroNinetyEightWebServiceProvider, SMSDeliveryCommandTests, ZeroZeroNinetyEightWebServiceTests
|
|
|
|
### Community 35 - "admin_panel/templates/admin_panel/baseHesabdari.html"
|
|
Cohesion: 0.13
|
|
Nodes (14): URL: admin_panel:ActionListUserToday, URL: admin_panel:bedehi, URL: admin_panel:entezar, URL: admin_panel:hesabdari, URL: admin_panel:hesabdari_residnashone, URL: admin_panel:index, URL: admin_panel:p_logout, URL: admin_panel:rezayat (+6 more)
|
|
|
|
### Community 36 - "Reference guide"
|
|
Cohesion: 0.14
|
|
Nodes (14): 10. Quality evaluation, 11. Agent integration, 13. Performance, 14. Known limits, 15. Documentation, 16. Improvement, 17. License, 1. Purpose and function (+6 more)
|
|
|
|
### Community 37 - "Factor Creation UI"
|
|
Cohesion: 0.15
|
|
Nodes (4): Customer ID Backup/New Factor Template, all_products (JS variable), buildOrderList (JS function), orderList (JS variable)
|
|
|
|
### Community 38 - "hesabdariResidNashode.html"
|
|
Cohesion: 0.19
|
|
Nodes (11): admin_panel:customerNew, admin_panel:pardakhtNesiye, /panel/passCheck/, all_sarresid, mandehesabKP, admin_panel.ViewReportMali, jQuery, pDatepicker JS Library (+3 more)
|
|
|
|
### Community 39 - "requests"
|
|
Cohesion: 0.25
|
|
Nodes (4): AnnouncementRejected, place_announcement_call(), place_voip_call(), VoipCallResult
|
|
|
|
### Community 40 - "CustomerSmsHistoryTests"
|
|
Cohesion: 0.15
|
|
Nodes (3): customer_phones(), toJalaliDT(), CustomerSmsHistoryTests
|
|
|
|
### Community 42 - "SMS Integration Docs"
|
|
Cohesion: 0.15
|
|
Nodes (12): **جدول کدهای خطای لینک ارتباطی**, **جدول کدهای خطای وبسرویس و وضعیتهای دلیوری**, **راهنمای استفاده از Web Service**, **راهنمای استفاده از لینک ارتباطی (URL GET)**, **راهنمای استفاده از لینک ارتباطی و وبسرویس سامانه پیامک (0098vip.com و 0098sms.com)**, **فهرست مطالب**, **مقدمات اتصال**, **نمونه کدهای پیادهسازی** (+4 more)
|
|
|
|
### Community 43 - "enqueue.py"
|
|
Cohesion: 0.13
|
|
Nodes (6): customer_balance(), format_amount(), format_jalali(), render_template(), _SafeDict, _sample_context()
|
|
|
|
### Community 44 - "django_shortcuts"
|
|
Cohesion: 0.13
|
|
Nodes (5): ArticleType, Sarresid, index(), `nest=` is a max, so it cannot tell a long function from a tangled one, The quality panel
|
|
|
|
### Community 45 - "test_inventory.py"
|
|
Cohesion: 0.11
|
|
Nodes (11): Factor, FactorIteam, Product, ProductInStore, StoreRoom, VisitQueue, current_stock(), stock_in() (+3 more)
|
|
|
|
### Community 46 - "admin_panel/templates/admin_panel/customerAction.html"
|
|
Cohesion: 0.18
|
|
Nodes (9): admin_panel/templates/admin_panel/customerActionInc.html, admin_panel:customerNewAction URL, Action Data Model, DataTables Library, jQuery, Django 'url' template tag, Bulma CSS, DataTables.js (+1 more)
|
|
|
|
### Community 47 - "SmsReportTests"
|
|
Cohesion: 0.10
|
|
Nodes (7): describe(), detect_encoding(), encoded_length(), is_gsm7(), parts_count(), SmsPartsTests, SmsReportTests
|
|
|
|
### Community 48 - "write_tree"
|
|
Cohesion: 0.21
|
|
Nodes (6): Counts, format_header(), generate_snapshot(), normalized_path(), write_tree(), visit()
|
|
|
|
### Community 50 - "TestCase"
|
|
Cohesion: 0.20
|
|
Nodes (3): is_sms_enabled(), EnqueueIdempotencyTests, RuleTests
|
|
|
|
### Community 51 - "Phone Cleanup Guide"
|
|
Cohesion: 0.17
|
|
Nodes (11): اجرا روی سرور اصلی (production), اجرای دستور, اصلاح دستی شمارههای قدیمی مشتریان, راه جایگزین: مهاجرت (migration), قاعدهٔ پاکسازی, مشاهدهٔ نتیجه, نکتهها, چرا؟ (+3 more)
|
|
|
|
### Community 52 - "Customer"
|
|
Cohesion: 0.10
|
|
Nodes (8): Customer, ApplyTests, CommandTestMixin, DatasetFixtureMixin, DryRunTests, ResilienceTests, flaky(), sha256_of()
|
|
|
|
### Community 53 - "project_tree.py"
|
|
Cohesion: 0.23
|
|
Nodes (6): is_excluded_file(), main(), non_negative_integer(), parse_args(), sorted_entries(), warn()
|
|
|
|
### Community 54 - "Agent Operating Guidelines"
|
|
Cohesion: 0.18
|
|
Nodes (8): 1. Codebase Navigation & Analysis (Ripwire vs. Graphify), 2. Dynamic Help, Self-Correction & Staleness, 3. Git Operations & Safety, 4. Development Server Lifecycle, 5. Environment, Frontend & PWA Safety, 6. End-to-End Browser Tests (Playwright), Project Operating & Agent Guidelines, Routing Gate & Pipeline
|
|
|
|
### Community 58 - "Financial Data Objects"
|
|
Cohesion: 0.20
|
|
Nodes (9): Customer Data Object, Factor Data Object, Sarresid Data Object, admin_panel:customerNew URL, admin_panel:pardakhtNesiye URL, /panel/passCheck/ URL, admin_panel.ViewReportMali Permission, jQuery JS Library (+1 more)
|
|
|
|
### Community 60 - ".run_cmd"
|
|
Cohesion: 0.10
|
|
Nodes (6): ApplyTests, BatchAndCheckpointTests, flaky(), CommandTestCase, DryRunTests, make_phone()
|
|
|
|
### Community 62 - "SMS Timing Migration"
|
|
Cohesion: 0.22
|
|
Nodes (4): backfill_primary_phones(), Migration, _normalize(), normalize_template_timing()
|
|
|
|
### Community 63 - "admin_panel/templates/admin_panel/bedehi.html"
|
|
Cohesion: 0.20
|
|
Nodes (8): Articl Model, Customer Model, articls, toJalali, admin_panel:bedehi, admin_panel:bedehiKhadamat, admin_panel:bedehiNasb, admin_panel:customer
|
|
|
|
### Community 64 - "customerIDFactorBackup.html"
|
|
Cohesion: 0.20
|
|
Nodes (7): Client-side script in customerIDFactorBackup.html, URL: admin_panel:customerEdit, Factor Data Model, Product Data Model, Product Category Data Model, User Data Model, URL: /panel/productMojodi/
|
|
|
|
### Community 65 - "bale/providers.py"
|
|
Cohesion: 0.36
|
|
Nodes (4): BaleBotProvider, ConsoleBaleProvider, get_bale_provider(), NotificationResult
|
|
|
|
### Community 66 - "os"
|
|
Cohesion: 0.20
|
|
Nodes (3): check_financial_discrepancy(), run_360_audit(), run_audit()
|
|
|
|
### Community 67 - "Graphify Tooling Docs"
|
|
Cohesion: 0.22
|
|
Nodes (8): Copilot Chat, graphify, graphify-out/graph.json, graphify-out/GRAPH_REPORT.md, graphify-out/wiki/index.md, graphify explain, graphify path, graphify query
|
|
|
|
### Community 71 - "admin_panel/entezar.html"
|
|
Cohesion: 0.25
|
|
Nodes (6): Customer Data Structure, kamaDatepicker Library, URL: admin_panel:customers, URL: /panel/customer/{id}/factor/{id}/del, custom_tags, toJalali filter
|
|
|
|
### Community 72 - "customerNewBackup.html"
|
|
Cohesion: 0.25
|
|
Nodes (7): admin_panel:newFactor URL, Category Data, Client-side Form Logic, Customer Data, CSRF Token, custom_tags, static
|
|
|
|
### Community 73 - "django_conf"
|
|
Cohesion: 0.13
|
|
Nodes (7): SMSProvider, SMSResult, webotp_message(), console_write(), ConsoleSMSProvider, HTTPSMSProvider, _FailingProvider
|
|
|
|
### Community 76 - "Timezone Migration History"
|
|
Cohesion: 0.29
|
|
Nodes (3): Migration, Migration, Migration
|
|
|
|
### Community 81 - "Installation Guide"
|
|
Cohesion: 0.40
|
|
Nodes (5): 3.1 Install a prebuilt binary, 3.2 Build from source, 3.3 Install the agent skills, 3.4 Register the MCP server (optional), 3. Installation
|
|
|
|
### Community 82 - "Project Honesty Contract"
|
|
Cohesion: 0.40
|
|
Nodes (5): In the numbers, In the output, In the tests, The honesty contract, What it misses, and what to run next
|
|
|
|
### Community 85 - "PhoneNumber"
|
|
Cohesion: 0.20
|
|
Nodes (4): PhoneNumber, IntegrationAndEfficiencyTests, OverflowTests, WelcomeTriggerTests
|
|
|
|
### Community 86 - "Output Format Specs"
|
|
Cohesion: 0.50
|
|
Nodes (4): 6.1 Output example, 6.2 Exit codes, 6.3 JSON output, 6. Output format
|
|
|
|
### Community 87 - "Performance Benchmarks"
|
|
Cohesion: 0.50
|
|
Nodes (4): Against other tools, Measured, What it saves you, in tokens, Where its own cycles go — hardware counters, per scope
|
|
|
|
### Community 88 - "SMS Integration Overview"
|
|
Cohesion: 0.67
|
|
Nodes (3): SMS Gateway Integration Guide, SMS Settings UI, Python Dependencies
|
|
|
|
### Community 89 - "CustomerNameFixJob"
|
|
Cohesion: 0.18
|
|
Nodes (7): CacheTable, CustomerNameFixJob, Meta, Status, مدل وضعیت job, چرا؟, سریعترین مسیر روی Production (اگر همین یک دستور را میخواهی)
|
|
|
|
### Community 90 - "Customer Modal UI"
|
|
Cohesion: 0.67
|
|
Nodes (3): createCS click handler, openRow click handler, Customer Modals UI
|
|
|
|
### Community 91 - "decide_prefix"
|
|
Cohesion: 0.18
|
|
Nodes (4): decide_prefix(), Decision, NameIndex, DecidePrefixTests
|
|
|
|
### Community 92 - "Infrastructure Services"
|
|
Cohesion: 0.67
|
|
Nodes (3): Docker Infrastructure, SMS Delivery Tracker, SMS Worker Service
|
|
|
|
### Community 93 - "Agent Setup Guide"
|
|
Cohesion: 0.67
|
|
Nodes (3): 1. (Optional) Register the MCP server, 2. Install the skills, Set it up in your coding agent
|
|
|
|
### Community 94 - "First Use Guide"
|
|
Cohesion: 0.67
|
|
Nodes (3): 4.1 Make the first map, 4.2 Use the common commands, 4. First use
|
|
|
|
### Community 97 - "تجمیع شمارههای پیامک مشتریان"
|
|
Cohesion: 0.14
|
|
Nodes (13): الگوریتم (برای هر مشتری), بازگردانی (اگر نتیجه را نخواستی), بررسی صحت داده (SQL), تجمیع شمارههای پیامک مشتریان, تعریف کلیدهای گزارش, خطاها و اقدام درست, عملکرد و بار روی دیتابیس, نمونهها (+5 more)
|
|
|
|
### Community 99 - "Base Template"
|
|
Cohesion: 0.15
|
|
Nodes (11): Base Template, Customer Base Template, New Customer Base Template, Create Factor View, Customer List View, Django Custom Tags: custom_tags, URL: admin_panel:newFactor, URL: admin_panel:operations (+3 more)
|
|
|
|
### Community 100 - "test_sms.py"
|
|
Cohesion: 0.10
|
|
Nodes (3): digit_string(), is_landline(), PureHelperTests
|
|
|
|
### Community 103 - "manage.py"
|
|
Cohesion: 0.22
|
|
Nodes (5): entrypoint.sh script, main(), run.sh script, start_service(), usage()
|
|
|
|
### Community 104 - "افزودن پیشوند «آقای/خانم» به نام مشتریان"
|
|
Cohesion: 0.15
|
|
Nodes (12): SQLite، قفل دیتابیس و بار روی سایت, افزودن پیشوند «آقای/خانم» به نام مشتریان, بررسی صحت داده (SQL، پیش از/پس از اجرا), بکاپ/بازیابی خودکار نیست, بکاپ پیش از اجرای واقعی, تستها, تعریف کلیدهای آماری, خطاهای رایج و اقدام درست (+4 more)
|
|
|
|
### Community 107 - "signals.py"
|
|
Cohesion: 0.12
|
|
Nodes (4): AdminConfig, AdminPanelConfig, make_std_streams_unicode_safe(), configure_sqlite_connection()
|
|
|
|
### Community 113 - "recipients.py"
|
|
Cohesion: 0.33
|
|
Nodes (3): primary_phones(), primary_phones(), ⚠️ هشدار معنای داده (مهمترین نکتهٔ این سند)
|
|
|
|
### Community 163 - "Customer"
|
|
Cohesion: 0.29
|
|
Nodes (3): Customer, Meta, PhoneNumber
|
|
|
|
### Community 164 - "factory.py"
|
|
Cohesion: 0.29
|
|
Nodes (3): get_provider_class(), get_sms_provider(), reset_sms_provider()
|
|
|
|
### Community 166 - "توقف و ادامه (Resume / Checkpoint)"
|
|
Cohesion: 0.40
|
|
Nodes (5): اتمیک بودن, توقف و ادامه (Resume / Checkpoint), سلسلهمراتب تصمیم نقطهٔ شروع, فایل وضعیت, گزینههای ادامه
|
|
|
|
### Community 170 - "الگوریتم تصمیم (به همین ترتیب)"
|
|
Cohesion: 0.50
|
|
Nodes (4): الگوریتم تصمیم (به همین ترتیب), برخورد با نامهای تکراری و متناقض, نرمالسازی (فقط برای کلید جستوجو), نمونههای رفتاری
|
|
|
|
### Community 171 - "سریعترین مسیر روی Production (خلاصهٔ اجرایی)"
|
|
Cohesion: 0.50
|
|
Nodes (4): اگر وسط کار قطع شد, بررسی نتیجه, سریعترین مسیر روی Production (خلاصهٔ اجرایی), ✅ فایل JSON داخل ایمیج کپی میشود (تضمینشده)
|
|
|
|
### Community 173 - "stop.sh"
|
|
Cohesion: 0.73
|
|
Nodes (5): is_our_process(), say(), stop.sh script, stop_pid(), windows_cleanup()
|
|
|
|
### Community 176 - "اجرای محلی (توسعه)"
|
|
Cohesion: 0.50
|
|
Nodes (4): اجرای محلی (توسعه), ۱) شبیهسازی — همیشه قدم اول, ۲) تنظیم سرعت batch, ۳) اجرای واقعی
|
|
|
|
### Community 178 - "اجرا روی سرور Production"
|
|
Cohesion: 0.67
|
|
Nodes (3): اجرا روی سرور Production, اطمینان از انتخاب دیتابیس درست, ترتیب دقیق اجرا
|
|
|
|
### Community 179 - "اجرای محلی (توسعه)"
|
|
Cohesion: 0.67
|
|
Nodes (3): اجرای محلی (توسعه), ۱) اول همیشه شبیهسازی, ۲) اجرای واقعی (فقط روی مقصد دلخواه)
|
|
|
|
### Community 180 - "ادامهٔ job پس از crash / قطع برق"
|
|
Cohesion: 0.67
|
|
Nodes (3): ادامهٔ job پس از crash / قطع برق, دستورهای دقیق ادامه / شروع مجدد, گزینههای ادامه
|
|
|
|
### Community 181 - "اجرا روی سرور Production"
|
|
Cohesion: 0.67
|
|
Nodes (3): اجرا روی سرور Production, ترتیب دقیق, نکتهها برای Production
|
|
|
|
## Ambiguous Edges - Review These
|
|
- `admin_panel/templates/admin_panel/baseHesabdari.html` → `Base Template` [AMBIGUOUS]
|
|
admin_panel/templates/admin_panel/baseHesabdari.html · relation: conceptually_related_to
|
|
|
|
## Knowledge Gaps
|
|
- **118 isolated node(s):** `base.html`, `toCurrency`, `DataTables Library`, `Customer Data Object`, `Factor Data Object` (+113 more)
|
|
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 858 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
|
|
- **120 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 `make_customer()` connect `make_customer` to `run_all`, `PhoneCleanupTests`, `PanelTestCase`, `EventTriggerTests`, `InactiveCustomerHiddenTests`, `factories.py`, `make_user`, `QueueReviewTests`, `NoticeMechanismTests`, `CustomerSmsHistoryTests`, `test_inventory.py`, `CustomerInfoCardUITests`, `TestCase`, `.test_deleted_visit_reminder_rearms_next_period_only`, `Customer`, `activate_sms`, `.run_cmd`, `.test_visit_period_comes_from_template`, `.test_period_start_filters_out_very_old_customers`, `PhoneNumber`, `ConsoleEncodingTests`, `test_factors.py`, `test_sms.py`, `WorkerTests`, `QueueStatsTests`?**
|
|
_High betweenness centrality (0.071) - this node is a cross-community bridge._
|
|
- **Are the 2 inferred relationships involving `make_customer()` (e.g. with `Customer` and `PhoneNumber`) actually correct?**
|
|
_`make_customer()` has 2 INFERRED edges - model-reasoned connections that need verification._
|
|
- **What connects `base.html`, `toCurrency`, `DataTables Library` to the rest of the system?**
|
|
_118 weakly-connected nodes found - possible documentation gaps or missing edges._
|
|
- **Should `views/sms.py` be split into smaller, more focused modules?**
|
|
_Cohesion score 0.11746031746031746 - nodes in this community are weakly interconnected._
|
|
- **Why does `Rip'n Fast. Fewer Tokens. Better Code.` connect `Rip'n Fast. Fewer Tokens. Better Code.` to `Reference guide`, `.load`, `django_shortcuts`, `Project Honesty Contract`, `Agent Operating Guidelines`, `Performance Benchmarks`, `Agent Setup Guide`?**
|
|
_High betweenness centrality (0.053) - this node is a cross-community bridge._
|
|
- **Are the 2 inferred relationships involving `normalize_mobile()` (e.g. with `الگوریتم (برای هر مشتری)` and `قالبِ ذخیرهشده: `+989xxxxxxxxx``) actually correct?**
|
|
_`normalize_mobile()` has 2 INFERRED edges - model-reasoned connections that need verification._
|
|
|
|
### Low-confidence Hints
|
|
_AMBIGUOUS edges — the extractor was unsure. Verify before acting on these._
|
|
|
|
- **What is the exact relationship between `admin_panel/templates/admin_panel/baseHesabdari.html` and `Base Template`?**
|
|
_Edge tagged AMBIGUOUS (relation: conceptually_related_to) - confidence is low._ |