fix(h5): center grouped score unit and tighten report summary spacing

This commit is contained in:
xsl
2026-10-13 00:12:02 +08:00
parent 6f83f58a09
commit f1e64565b9
11 changed files with 212 additions and 204 deletions
+32 -41
View File
@@ -1,16 +1,16 @@
# Graph Report - juzi (2026-10-12)
# Graph Report - juzi (2026-10-13)
## Corpus Check
- 105 files · ~4,905,053 words
- 105 files · ~4,905,190 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 1452 nodes · 2901 edges · 130 communities (98 shown, 32 thin omitted)
- 1452 nodes · 2901 edges · 129 communities (96 shown, 33 thin omitted)
- Extraction: 93% EXTRACTED · 7% INFERRED · 0% AMBIGUOUS · INFERRED: 210 edges (avg confidence: 0.57)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `2a49ebda`
- Built from commit: `6f83f58a`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -74,7 +74,7 @@
- 报告布局与跟手交互调整
- 提交前 Review(2026-10-11)
- e2e-browser.mjs
- play
- start
- 微信登录接入与公网部署说明
- normalize
- ui-20261009.mjs
@@ -83,7 +83,7 @@
- scan-placeholder.mjs
- age
- build_report_copy.py
- readPhotoFile
- showScreen
- .runAndExtendWithFaceDetections
- Point
- 登录反馈与加载优化(2026-10-12)
@@ -107,7 +107,7 @@
- PredictSingleFaceExpressionsWithFaceAlignmentTask
- DetectSingleFaceLandmarksTask
- ComputeSingleFaceDescriptorTask
- k
- LabeledFaceDescriptors
- Box
- 第四轮反馈/傅艳NEW与项思炼的会话 2026年10月12日.md
- 第三轮反馈20261012/傅艳NEW与项思炼的会话 2026年10月12日.md
@@ -116,7 +116,6 @@
- submitPhotos
- doCapture
- i
- vizCompose
- FaceProcessor
- convLayer
- startCamera
@@ -160,19 +159,19 @@
## Import Cycles
- None detected.
## Communities (130 total, 32 thin omitted)
## Communities (129 total, 33 thin omitted)
### Community 0 - "face-api.js"
Cohesion: 0.02
Nodes (46): bgrToRgbTensor(), cn(), computeReshapedDimensions(), createBrowserEnv(), createFaceDetectionNet(), createFileSystem(), createNodejsEnv(), createSsdMobilenetv1() (+38 more)
Nodes (44): bgrToRgbTensor(), cn(), computeReshapedDimensions(), createBrowserEnv(), createFaceDetectionNet(), createFileSystem(), createNodejsEnv(), createSsdMobilenetv1() (+36 more)
### Community 1 - "线上闭环测试(不含真实微信授权)"
Cohesion: 0.25
Nodes (7): 发现并修复, 可复现命令, 已通过的检查, 线上闭环测试(不含真实微信授权), 结论, 话术及仓库同步, 验证边界
### Community 2 - "app.js"
Cohesion: 0.13
Nodes (22): cancelSkinDrag(), esc(), goSkin(), loadAppFont(), loginAllowed(), loginBrowser(), loginSucceeded(), loginWechat() (+14 more)
Cohesion: 0.11
Nodes (22): cancelSkinDrag(), esc(), goSkin(), openHistory(), renderHistoryList(), renderReport(), renderViz(), restartScanCycle() (+14 more)
### Community 3 - "skin-score.js"
Cohesion: 0.12
@@ -187,8 +186,8 @@ Cohesion: 0.11
Nodes (17): bi(), Ef(), er(), FaceMatch(), ia(), Ie(), j(), Kt() (+9 more)
### Community 6 - "n"
Cohesion: 0.12
Nodes (48): a(), ae(), be(), bf(), ce(), cf(), d(), da() (+40 more)
Cohesion: 0.10
Nodes (54): a(), ae(), b(), ba(), be(), bf(), ce(), cf() (+46 more)
### Community 7 - "test/profile-store.js"
Cohesion: 0.14
@@ -272,7 +271,7 @@ Nodes (11): ndarray, Path, gen_countdown(), main(), normalize_clip(), 倒计时
### Community 28 - "C"
Cohesion: 0.08
Nodes (36): ao(), Bo(), C(), cd(), cl(), co(), Do(), eo() (+28 more)
Nodes (34): ao(), Bo(), C(), cd(), co(), Do(), eo(), fo() (+26 more)
### Community 29 - "face-api.js 本地化依赖(h5/vendor/faceapi/)"
Cohesion: 0.29
@@ -354,9 +353,9 @@ Nodes (4): 仍需公网/业务确认, 已发现并修复, 提交前 Review(202
Cohesion: 0.29
Nodes (4): EXPECTED, fails, pageErrors, pwRoot
### Community 64 - "play"
Cohesion: 0.22
Nodes (9): busyWithFlow(), decode(), drain(), load(), play(), preload(), start(), stopCur() (+1 more)
### Community 64 - "start"
Cohesion: 0.29
Nodes (7): decode(), drain(), load(), preload(), start(), stopCur(), unlock()
### Community 65 - "微信登录接入与公网部署说明"
Cohesion: 0.29
@@ -378,9 +377,9 @@ Nodes (3): errors, samples, unexpectedWrites
Cohesion: 0.43
Nodes (4): age(), clean(), create(), key()
### Community 76 - "readPhotoFile"
Cohesion: 0.40
Nodes (5): checkStill(), faceLuma(), hideCamStatus(), readPhotoFile(), showCamStatus()
### Community 76 - "showScreen"
Cohesion: 0.22
Nodes (11): loadAppFont(), loginAllowed(), loginBrowser(), loginSucceeded(), loginWechat(), openOverlay(), prepareScanArtwork(), renderAccountStatus() (+3 more)
### Community 77 - ".runAndExtendWithFaceDetections"
Cohesion: 0.18
@@ -391,7 +390,7 @@ Cohesion: 0.22
Nodes (5): FaceLandmarks5(), getCenterPoint(), Point(), pt(), vt()
### Community 79 - "登录反馈与加载优化(2026-10-12)"
Cohesion: 0.33
Cohesion: 0.22
Nodes (5): 体验变化, 公网部署后复测, 慢的原因与处理, 登录反馈与加载优化(2026-10-12), 验证
### Community 80 - "线上微信登录部署记录"
@@ -411,7 +410,7 @@ Cohesion: 0.29
Nodes (5): 10.09 新版 H5 实施与验收, 按确认项实现, 文档未定义部分的实施口径, 素材再生成, 验证命令
### Community 84 - "微信登录联调:2026-10-12"
Cohesion: 0.22
Cohesion: 0.33
Nodes (6): 后续真机确认与体验优化, 微信登录联调:2026-10-12, 本轮修正, 白名单与凭据, 真实微信验收与排查, 自动验证
### Community 85 - "test/accounts.js"
@@ -446,10 +445,6 @@ Nodes (5): 原稿与导出可追溯性, 已完成, 本地验证, 生产部署及
Cohesion: 0.50
Nodes (3): artifacts, errors, samples
### Community 101 - "k"
Cohesion: 0.17
Nodes (13): b(), ba(), ca(), fa(), k(), ne(), pa(), ua() (+5 more)
### Community 107 - "基础信息记忆与肤质拖动"
Cohesion: 0.33
Nodes (4): 回归命令, 基础信息记忆与肤质拖动, 肤质交互, 范围
@@ -463,24 +458,20 @@ Cohesion: 0.24
Nodes (12): bindBackdropClose(), closeLoginSuccess(), closeOverlay(), handleCamHidden(), leaveCamera(), photosByView(), popHistorySilently(), requestAnalyze() (+4 more)
### Community 110 - "doCapture"
Cohesion: 0.15
Nodes (24): armNudge(), beginDetect(), captureFromVideo(), captureHaptic(), captureStageHint(), detectFrame(), detTick(), doCapture() (+16 more)
Cohesion: 0.17
Nodes (22): armNudge(), busyWithFlow(), captureFromVideo(), captureHaptic(), captureStageHint(), checkStill(), doCapture(), dropHint() (+14 more)
### Community 111 - "i"
Cohesion: 0.11
Nodes (20): bn(), dn(), ee(), et(), fn(), i(), je(), ln() (+12 more)
### Community 112 - "vizCompose"
Cohesion: 0.18
Nodes (11): renderReport(), renderViz(), setDim(), vizCollectMarks(), vizCompose(), vizFaceCrop(), vizLoadImage(), vizMapURL() (+3 more)
Cohesion: 0.08
Nodes (30): bn(), ca(), cl(), dn(), ee(), et(), fa(), fn() (+22 more)
### Community 116 - "convLayer"
Cohesion: 0.36
Nodes (9): boxPredictionLayer(), convLayer(), fullyConnectedLayer(), ONet(), PNet(), prelu(), qh(), RNet() (+1 more)
### Community 117 - "startCamera"
Cohesion: 0.29
Nodes (8): applyMirror(), effMirror(), getCamStream(), handleCamVisible(), onCamTrackEnded(), renderCamStep(), startCamera(), waitVideoStable()
Cohesion: 0.15
Nodes (17): applyMirror(), beginDetect(), detectFrame(), detTick(), effMirror(), enableFallback(), getCamStream(), handleCamVisible() (+9 more)
### Community 120 - ".forwardInput"
Cohesion: 0.48
@@ -505,16 +496,16 @@ Nodes (3): drawFaceExpressions(), FaceExpressions(), isWithFaceExpressions()
## Knowledge Gaps
- **318 isolated node(s):** `source`, `document_size`, `pages`, `assets`, `layers` (+313 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **32 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **33 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 `height()` connect `extractFaces` to `app.js`, `customer-feedback.js`, `scan-placeholder.mjs`, `TinyYolov2Base`, `profile-interaction.mjs`, `.forwardInput`, `FaceLandmark68NetBase`?**
- **Why does `height()` connect `extractFaces` to `app.js`, `customer-feedback.js`, `scan-placeholder.mjs`, `TinyYolov2Base`, `profile-interaction.mjs`, `showScreen`, `.forwardInput`, `FaceLandmark68NetBase`?**
_High betweenness centrality (0.062) - this node is a cross-community bridge._
- **Why does `v()` connect `n` to `vizCompose`, `face-api.js`, `report-ui.js`, `C`?**
- **Why does `v()` connect `n` to `report-ui.js`, `face-api.js`, `app.js`, `C`?**
_High betweenness centrality (0.045) - this node is a cross-community bridge._
- **Why does `k()` connect `k` to `face-api.js`, `t`, `n`, `lib/accounts.js`, `vizCompose`, `C`?**
- **Why does `k()` connect `n` to `face-api.js`, `app.js`, `t`, `lib/accounts.js`, `i`, `C`?**
_High betweenness centrality (0.039) - this node is a cross-community bridge._
- **Are the 24 inferred relationships involving `n()` (e.g. with `newRecordId()` and `ae()`) actually correct?**
_`n()` has 24 INFERRED edges - model-reasoned connections that need verification._