pre-agent: Apply services page CRO improvements
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# Graph Report - 2e709500-79ab-403f-9ca0-3f027ac9f36e (2026-06-17)
|
||||
|
||||
## Corpus Check
|
||||
- 57 files · ~321,797 words
|
||||
- 57 files · ~323,450 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 520 nodes · 563 edges · 93 communities (86 shown, 7 thin omitted)
|
||||
- 522 nodes · 567 edges · 93 communities (86 shown, 7 thin omitted)
|
||||
- Extraction: 99% EXTRACTED · 1% INFERRED · 0% AMBIGUOUS · INFERRED: 4 edges (avg confidence: 0.8)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
@@ -84,8 +84,8 @@ Cohesion: 0.05
|
||||
Nodes (37): 1. `performance_test.py`, 2. `quick-perf-check.sh`, 3. `lighthouse_audit.py`, Available Scripts, Basic Response Time, Best Practices, CI/CD Integration, code:bash (# Quick check (recommended)) (+29 more)
|
||||
|
||||
### Community 2 - "Community 2"
|
||||
Cohesion: 0.14
|
||||
Nodes (27): checkRateLimit(), corsHeaders(), escapeHtml(), OPTIONS(), POST(), sendContactEmail(), validateContactForm(), checkRateLimit() (+19 more)
|
||||
Cohesion: 0.13
|
||||
Nodes (29): checkRateLimit(), corsHeaders(), escapeHtml(), getTransporter(), OPTIONS(), POST(), readSmtpConfig(), sendContactEmail() (+21 more)
|
||||
|
||||
### Community 3 - "Community 3"
|
||||
Cohesion: 0.16
|
||||
@@ -204,7 +204,7 @@ _Questions this graph is uniquely positioned to answer:_
|
||||
- **Should `Community 1` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.05 - nodes in this community are weakly interconnected._
|
||||
- **Should `Community 2` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.14 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.13 - nodes in this community are weakly interconnected._
|
||||
- **Should `Community 4` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.09 - nodes in this community are weakly interconnected._
|
||||
- **Should `Community 5` be split into smaller, more focused modules?**
|
||||
|
||||
Vendored
+1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+65
-5
@@ -138,11 +138,29 @@
|
||||
"community": 2,
|
||||
"norm_label": "validatecontactform()"
|
||||
},
|
||||
{
|
||||
"label": "readSmtpConfig()",
|
||||
"file_type": "code",
|
||||
"source_file": "src/pages/api/contact.ts",
|
||||
"source_location": "L146",
|
||||
"id": "api_contact_readsmtpconfig",
|
||||
"community": 2,
|
||||
"norm_label": "readsmtpconfig()"
|
||||
},
|
||||
{
|
||||
"label": "getTransporter()",
|
||||
"file_type": "code",
|
||||
"source_file": "src/pages/api/contact.ts",
|
||||
"source_location": "L187",
|
||||
"id": "api_contact_gettransporter",
|
||||
"community": 2,
|
||||
"norm_label": "gettransporter()"
|
||||
},
|
||||
{
|
||||
"label": "sendContactEmail()",
|
||||
"file_type": "code",
|
||||
"source_file": "src/pages/api/contact.ts",
|
||||
"source_location": "L168",
|
||||
"source_location": "L294",
|
||||
"id": "api_contact_sendcontactemail",
|
||||
"community": 2,
|
||||
"norm_label": "sendcontactemail()"
|
||||
@@ -151,7 +169,7 @@
|
||||
"label": "escapeHtml()",
|
||||
"file_type": "code",
|
||||
"source_file": "src/pages/api/contact.ts",
|
||||
"source_location": "L316",
|
||||
"source_location": "L466",
|
||||
"id": "api_contact_escapehtml",
|
||||
"community": 2,
|
||||
"norm_label": "escapehtml()"
|
||||
@@ -160,7 +178,7 @@
|
||||
"label": "corsHeaders()",
|
||||
"file_type": "code",
|
||||
"source_file": "src/pages/api/contact.ts",
|
||||
"source_location": "L330",
|
||||
"source_location": "L480",
|
||||
"id": "api_contact_corsheaders",
|
||||
"community": 2,
|
||||
"norm_label": "corsheaders()"
|
||||
@@ -169,7 +187,7 @@
|
||||
"label": "OPTIONS()",
|
||||
"file_type": "code",
|
||||
"source_file": "src/pages/api/contact.ts",
|
||||
"source_location": "L355",
|
||||
"source_location": "L505",
|
||||
"id": "api_contact_options",
|
||||
"community": 2,
|
||||
"norm_label": "options()"
|
||||
@@ -178,7 +196,7 @@
|
||||
"label": "POST()",
|
||||
"file_type": "code",
|
||||
"source_file": "src/pages/api/contact.ts",
|
||||
"source_location": "L362",
|
||||
"source_location": "L512",
|
||||
"id": "api_contact_post",
|
||||
"community": 2,
|
||||
"norm_label": "post()"
|
||||
@@ -4823,6 +4841,26 @@
|
||||
"source": "src_pages_api_contact_ts",
|
||||
"target": "api_contact_validatecontactform"
|
||||
},
|
||||
{
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "src/pages/api/contact.ts",
|
||||
"source_location": "L146",
|
||||
"weight": 1.0,
|
||||
"source": "src_pages_api_contact_ts",
|
||||
"target": "api_contact_readsmtpconfig",
|
||||
"confidence_score": 1.0
|
||||
},
|
||||
{
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "src/pages/api/contact.ts",
|
||||
"source_location": "L187",
|
||||
"weight": 1.0,
|
||||
"source": "src_pages_api_contact_ts",
|
||||
"target": "api_contact_gettransporter",
|
||||
"confidence_score": 1.0
|
||||
},
|
||||
{
|
||||
"relation": "contains",
|
||||
"confidence": "EXTRACTED",
|
||||
@@ -4895,6 +4933,28 @@
|
||||
"source": "api_contact_post",
|
||||
"target": "api_contact_validatecontactform"
|
||||
},
|
||||
{
|
||||
"relation": "calls",
|
||||
"context": "call",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "src/pages/api/contact.ts",
|
||||
"source_location": "L295",
|
||||
"weight": 1.0,
|
||||
"source": "api_contact_sendcontactemail",
|
||||
"target": "api_contact_readsmtpconfig",
|
||||
"confidence_score": 1.0
|
||||
},
|
||||
{
|
||||
"relation": "calls",
|
||||
"context": "call",
|
||||
"confidence": "EXTRACTED",
|
||||
"source_file": "src/pages/api/contact.ts",
|
||||
"source_location": "L310",
|
||||
"weight": 1.0,
|
||||
"source": "api_contact_sendcontactemail",
|
||||
"target": "api_contact_gettransporter",
|
||||
"confidence_score": 1.0
|
||||
},
|
||||
{
|
||||
"relation": "calls",
|
||||
"context": "call",
|
||||
|
||||
Reference in New Issue
Block a user