TAAA from Digital → Text with mapping power(MP=kappa) vs True_Label

Run(Lable item testlet names, Assign themes to person, and then compute MP between themes and latent traits

Dummy patient values (comma-separated; same order as item columns). Leave empty → use top-1 row.

Detected item column order (from uploaded CSV/TSV/TXT header):
Status: Ready.

  

Report preview

After you run, the report will appear here.

ReadMe

1) Quick Start (Local)

  1. Install dependencies:
    pip install -r requirements.txt
  2. Start server:
    python main.py
  3. Open browser:
    http://127.0.0.1:8000/
  4. Click Run (Upload) or Run Demo. The report will appear in the preview iframe.

2) Dummy Patient (Prediction Input)

3) Output Locations


Tip: If backend returns HTML error pages (HTTP 500), this page will show that HTML directly in Debug instead of crashing on JSON parsing.

Output summary (single report.html)

The analysis generates 6 figures + 2 tables, all bundled into a single report.html.

ℹ️ Person relations(WCD / one-link edges)計算規則說明(點擊展開)
  1. Euclidean distance → 關聯強度(WCD)
    對任兩個 person(vertices)計算 Euclidean distance d,並轉為 0–1 的關聯強度:
    WCD = (max(d) - d) / (max(d) - min(d))
    數值愈大表示兩者關聯愈強。
  2. pair 標準化、排序與去重
    每一對關係表示為 (term1, term2),其中:
    alphabetic 較小者為 term1,較大者為 term2,以避免重複 pair。

    若仍可能出現同分,加入微擾的 tie-break:
    WCD' = WCD + nrow(relations) - row_index
    確保排序時不會完全同分。
  3. one-link 規則
    term2 為分組鍵,只保留該 term2 對應 WCD(或 WCD')最大 的一筆關係。
    保留下來的邊即構成 one-link edges。
  4. Top 20 vertices 限制
    最終 one-link edges 的兩端點(term1, term2)必須皆屬於 Top 20 vertices; 否則不納入最終 relations。