You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reposition review forms from top to bottom of all 6 analysis tabs.
Users now see analysis results first, then provide feedback at the end.
Improves UX by showing content before asking for feedback.
Copy file name to clipboardExpand all lines: Graph Analysis/unified_analysis.py
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -453,7 +453,6 @@ def write_html_report(
453
453
<!-- Co-attendance Degree Tab -->
454
454
<div id="coattendance" class="tab-pane">
455
455
<h2>Degree (Co-attendance) Analysis</h2>
456
-
"""+_review_form("coattendance") +"""
457
456
<p class="explanation">People are connected if they attend the same meeting; a person's degree is how many unique people they co-attended with.</p>
458
457
459
458
<h3>Interactive Network Visualization</h3>
@@ -490,12 +489,12 @@ def write_html_report(
490
489
f.write(f" <tr><td>{d}</td><td>{c}</td></tr>\n")
491
490
f.write(""" </tbody>
492
491
</table>
492
+
"""+_review_form("coattendance") +"""
493
493
</div>
494
494
495
495
<!-- Field Degree Tab -->
496
496
<div id="field-degree" class="tab-pane">
497
497
<h2>JSON Field Degree Analysis</h2>
498
-
"""+_review_form("field-degree") +"""
499
498
<p class="explanation">Fields are connected when they appear together inside the same JSON object; a field's degree is the number of distinct fields it co-occurs with.</p>
500
499
501
500
<h3>Top Fields by Degree</h3>
@@ -524,12 +523,12 @@ def write_html_report(
524
523
f.write(f" <tr><td>{d}</td><td>{c}</td></tr>\n")
525
524
f.write(""" </tbody>
526
525
</table>
526
+
"""+_review_form("field-degree") +"""
527
527
</div>
528
528
529
529
<!-- Path Structure Tab -->
530
530
<div id="path-structure" class="tab-pane">
531
531
<h2>JSON Path Structure Analysis</h2>
532
-
"""+_review_form("path-structure") +"""
533
532
<p class="explanation">Each JSON path represents a unique nested route (keys/array indices); depth shows how deeply information is nested.</p>
<p class="explanation">Centrality scores highlight fields that are well-connected (degree), act as bridges (betweenness), are close to others (closeness), or connect to other influential fields (eigenvector).</p>
568
567
569
568
<table>
@@ -584,12 +583,12 @@ def write_html_report(
584
583
)
585
584
f.write(""" </tbody>
586
585
</table>
586
+
"""+_review_form("centrality") +"""
587
587
</div>
588
588
589
589
<!-- Clustering Tab -->
590
590
<div id="clustering" class="tab-pane">
591
591
<h2>Clustering (Field Co-occurrence Graph)</h2>
592
-
"""+_review_form("clustering") +"""
593
592
<p class="explanation">Clustering measures how tightly a field's neighbors are connected to each other (higher means more triads).</p>
0 commit comments