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
Add GitHub Issues-based review system for validating graph analysis results:
- Review buttons in dashboard linking to issue template
- Python audit script to collect reviews via GitHub API
- GitHub Action for nightly review aggregation
- Audit tab displaying trust scores and review comments
- Documentation for contributors and reviewers
Enables community validation of analysis results with automated metrics display.
<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>
415
423
416
424
<h3>Interactive Network Visualization</h3>
@@ -452,6 +460,7 @@ def write_html_report(
452
460
<!-- Field Degree Tab -->
453
461
<div id="field-degree" class="tab-pane">
454
462
<h2>JSON Field Degree Analysis</h2>
463
+
"""+_review_button("field-degree") +"""
455
464
<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>
456
465
457
466
<h3>Top Fields by Degree</h3>
@@ -485,6 +494,7 @@ def write_html_report(
485
494
<!-- Path Structure Tab -->
486
495
<div id="path-structure" class="tab-pane">
487
496
<h2>JSON Path Structure Analysis</h2>
497
+
"""+_review_button("path-structure") +"""
488
498
<p class="explanation">Each JSON path represents a unique nested route (keys/array indices); depth shows how deeply information is nested.</p>
489
499
490
500
<ul class="summary-list">
@@ -518,6 +528,7 @@ def write_html_report(
518
528
<!-- Centrality Tab -->
519
529
<div id="centrality" class="tab-pane">
520
530
<h2>Field Centrality (Co-occurrence)</h2>
531
+
"""+_review_button("centrality") +"""
521
532
<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>
522
533
523
534
<table>
@@ -543,6 +554,7 @@ def write_html_report(
543
554
<!-- Clustering Tab -->
544
555
<div id="clustering" class="tab-pane">
545
556
<h2>Clustering (Field Co-occurrence Graph)</h2>
557
+
"""+_review_button("clustering") +"""
546
558
<p class="explanation">Clustering measures how tightly a field's neighbors are connected to each other (higher means more triads).</p>
- HTML dashboard at `docs/index.html` (GitHub Pages)
61
62
62
63
Notes: Scripts run headlessly and save files to disk; images can be opened via your OS default viewer.
64
+
65
+
## Community Review System
66
+
67
+
This repository includes a community review system to validate graph analysis results. You can review analysis results and provide feedback through GitHub Issues.
68
+
69
+
### How to Review
70
+
71
+
1. Visit the [HTML dashboard](https://singularitynet-archive.github.io/Graph-Python-scripts/) (or open `docs/index.html` locally)
72
+
2. Navigate to any analysis tab (Co-attendance Degree, Field Degree, Path Structure, etc.)
73
+
3. Click the **"Review This Analysis"** button at the top of the section
74
+
4. Fill out the review form with:
75
+
- Your rating (Correct / Needs Review / Incorrect)
76
+
- Comments and feedback
77
+
- Optional suggestions for improvements
78
+
5. Submit the issue - it will be automatically tagged with the `review` label
79
+
80
+
### View Review Results
81
+
82
+
- Click on the **"Audit"** tab in the dashboard to see:
83
+
- Trust scores for each analysis method
84
+
- Rating distribution charts
85
+
- All review comments from the community
86
+
87
+
Reviews are collected nightly via GitHub Actions and displayed in the audit dashboard. See [CONTRIBUTING.md](CONTRIBUTING.md) and [REVIEWING.md](REVIEWING.md) for more details.
0 commit comments