File size: 4,070 Bytes
32e0071
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>CodeReview — Aria AI</title>
  <style>
    :root { --indigo:#4338ca; --blue:#1d4ed8; --ink:#0f172a; --muted:#475569; --bg:#f8fafc; }
    * { box-sizing: border-box; }
    body { margin:0; font-family:"Segoe UI","Vazirmatn",Tahoma,sans-serif; color:var(--ink); background:radial-gradient(circle at top left,#dbeafe,var(--bg) 42%); }
    header, main, footer { width:min(1120px, calc(100% - 32px)); margin: 0 auto; }
    header { padding:36px 0 12px; }
    .eyebrow { color:var(--indigo); font-weight:700; letter-spacing:.04em; text-transform:uppercase; font-size:.78rem; }
    h1 { font-size:clamp(1.8rem,3vw,2.4rem); margin:8px 0; }
    .lead { font-size:1.1rem; color:var(--muted); max-width:46rem; }
    .actions { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0 8px; }
    a.btn { display:inline-block; text-decoration:none; padding:10px 16px; border-radius:999px; font-weight:600; }
    a.primary { background:var(--indigo); color:#fff; }
    a.ghost { background:#fff; color:var(--indigo); border:1px solid #c7d2fe; }
    .grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; margin:24px 0; }
    .card { background:#fff; border:1px solid #e2e8f0; border-radius:18px; padding:16px 18px; }
    .card strong { display:block; font-size:1.4rem; color:var(--indigo); }
    .note { background:#eef2ff; border:1px solid #c7d2fe; border-radius:16px; padding:14px 16px; color:#3730a3; }
    iframe { width:100%; height:86vh; min-height:720px; border:1px solid #c7d2fe; border-radius:20px; background:#fff; margin:16px 0 28px; }
    footer { padding:12px 0 40px; color:var(--muted); font-size:.92rem; }
    .fa { direction:rtl; text-align:right; }
  </style>
</head>
<body>
  <header>
    <p class="eyebrow">Aria AI · Project 10 / 25</p>
    <h1>CodeReview — Change-Scoped Secure Review</h1>
    <p class="lead">
      Review a Python diff with versioned AST rules, evidence locators, and
      downloadable patches. Uploaded code is not executed. There is no merge
      button and no "safe" verdict.
    </p>
    <div class="actions">
      <a class="btn primary" href="https://huggingface.co/spaces/alirezaaminzadeh/code-review" target="_blank" rel="noreferrer">Open live demo</a>
      <a class="btn ghost" href="https://huggingface.co/datasets/AriaAICompany/code-review-lab" target="_blank" rel="noreferrer">Dataset</a>
      <a class="btn ghost" href="https://huggingface.co/AriaAICompany" target="_blank" rel="noreferrer">Organization</a>
      <a class="btn ghost" href="https://huggingface.co/collections/AriaAICompany/aria-ai-cybersecurity-6ab01faa3995a3bb737b58a7" target="_blank" rel="noreferrer">Collection</a>
    </div>
  </header>
  <main>
    <section class="grid">
      <article class="card"><strong>10 scenarios</strong>Seven families, two-repo split</article>
      <article class="card"><strong>AST rules</strong>Locator + missing context</article>
      <article class="card"><strong>Patches</strong>Syntax-checked, not merged</article>
      <article class="card"><strong>CPU</strong>No code exec · no exploit</article>
    </section>
    <p class="note">
      Organization Gradio hosting needs Team/Enterprise. This page is the AriaAICompany project card.
      The iframe is the personal PRO workbench when that Space is running.
    </p>
    <section class="fa card">
      <h2>کدرِویو</h2>
      <p>یک تغییر پایتون را با قواعد AST نسخه‌دار بررسی می‌کند. یافته باید مسیر و خط واقعی داشته باشد. کد اجرا نمی‌شود، وصله ادغام نمی‌شود و نتیجه «امن است» وجود ندارد.</p>
    </section>
    <iframe title="CodeReview live demo" src="https://alirezaaminzadeh-code-review.hf.space" loading="lazy"></iframe>
  </main>
  <footer>Aria AI · Cybersecurity · Roadmap project 10 · Apache-2.0 / CC-BY-4.0</footer>
</body>
</html>