sam25kat Claude Opus 4.7 (1M context) commited on
Commit
e47ffb7
Β·
1 Parent(s): 1ccf723

Add Results + Resources sections to landing page

Browse files

- Top nav now links to Tasks Β· Results Β· Resources Β· API Β· Blog Β· GitHub
- Hero CTA primary button is now "View Training Results"
- 04 / RESULTS section: headline cards (+0.302 / +0.295 / +0.126) + 3 inline plots
- 05 / RESOURCES section: blog Β· RESULTS.md Β· SCENARIOS.md Β· plots dir Β· 3 trainers Β· GitHub
- Footer expanded with Results + Blog links
- All links open the public HF / GitHub URLs

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. app/landing.py +130 -3
app/landing.py CHANGED
@@ -563,6 +563,61 @@ LANDING_PAGE_HTML = """<!DOCTYPE html>
563
  .code .k { color: var(--accent); }
564
  .code .f { color: var(--text); }
565
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
566
  /* FOOTER */
567
  footer {
568
  margin-top: 40px;
@@ -652,8 +707,10 @@ LANDING_PAGE_HTML = """<!DOCTYPE html>
652
  </div>
653
  <div class="nav-links">
654
  <a href="#tasks">Tasks</a>
 
 
655
  <a href="#api">API</a>
656
- <a href="/docs">Docs</a>
657
  <a href="https://github.com/sam25kat/Secure_Reveiw">GitHub β†—</a>
658
  </div>
659
  </nav>
@@ -663,8 +720,9 @@ LANDING_PAGE_HTML = """<!DOCTYPE html>
663
  <h1>Security review,<br><em>for the age of AI.</em></h1>
664
  <p>The first evaluation harness that holds AI agents to the bar of a senior engineer at code review. Three domains, 76 hand-crafted scenarios, 430 production-grade vulnerabilities β€” deterministic and reproducible.</p>
665
  <div class="hero-cta">
666
- <a class="btn primary" href="/docs">Explore the API <span class="btn-arrow">β†’</span></a>
667
  <a class="btn" href="#tasks">View Benchmark</a>
 
668
  </div>
669
  </section>
670
 
@@ -804,14 +862,83 @@ LANDING_PAGE_HTML = """<!DOCTYPE html>
804
  </div>
805
  </section>
806
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
807
  <footer>
808
  <div class="footer-left">
809
  <div class="footer-brand">SECUREREVIEW Γ— TEAM COOKHOUSE</div>
810
- <div class="footer-tagline">Meta Γ— PyTorch OpenEnv Hackathon Β· MMXXVI</div>
811
  </div>
812
  <div class="footer-links">
813
  <a href="https://github.com/sam25kat/Secure_Reveiw">GitHub β†—</a>
814
  <a href="https://huggingface.co/spaces/sam25kat/securereview/tree/main">Source β†—</a>
 
 
815
  <a href="/docs">API β†—</a>
816
  </div>
817
  </footer>
 
563
  .code .k { color: var(--accent); }
564
  .code .f { color: var(--text); }
565
 
566
+ /* RESULTS */
567
+ .results-headline {
568
+ display: grid;
569
+ grid-template-columns: repeat(3, 1fr);
570
+ gap: 16px;
571
+ margin-bottom: 40px;
572
+ }
573
+ .result-cell {
574
+ border: 1px solid var(--border);
575
+ border-radius: 8px;
576
+ padding: 24px;
577
+ background: var(--bg-card, rgba(255, 255, 255, 0.02));
578
+ }
579
+ .result-num {
580
+ font-size: 36px;
581
+ font-weight: 700;
582
+ color: var(--accent);
583
+ letter-spacing: -0.02em;
584
+ line-height: 1.1;
585
+ }
586
+ .result-label {
587
+ margin-top: 8px;
588
+ color: var(--text-dim);
589
+ font-size: 13px;
590
+ letter-spacing: 0.02em;
591
+ }
592
+ .result-plots {
593
+ display: grid;
594
+ grid-template-columns: 1fr;
595
+ gap: 32px;
596
+ margin-bottom: 40px;
597
+ }
598
+ .result-plots figure {
599
+ margin: 0;
600
+ border: 1px solid var(--border);
601
+ border-radius: 8px;
602
+ overflow: hidden;
603
+ background: #000;
604
+ }
605
+ .result-plots img {
606
+ display: block;
607
+ width: 100%;
608
+ height: auto;
609
+ }
610
+ .result-plots figcaption {
611
+ padding: 12px 18px;
612
+ color: var(--text-dim);
613
+ font-size: 13px;
614
+ border-top: 1px solid var(--border);
615
+ }
616
+
617
+ @media (max-width: 760px) {
618
+ .results-headline { grid-template-columns: 1fr; }
619
+ }
620
+
621
  /* FOOTER */
622
  footer {
623
  margin-top: 40px;
 
707
  </div>
708
  <div class="nav-links">
709
  <a href="#tasks">Tasks</a>
710
+ <a href="#results">Results</a>
711
+ <a href="#resources">Resources</a>
712
  <a href="#api">API</a>
713
+ <a href="https://huggingface.co/spaces/sam25kat/securereview/discussions/1">Blog β†—</a>
714
  <a href="https://github.com/sam25kat/Secure_Reveiw">GitHub β†—</a>
715
  </div>
716
  </nav>
 
720
  <h1>Security review,<br><em>for the age of AI.</em></h1>
721
  <p>The first evaluation harness that holds AI agents to the bar of a senior engineer at code review. Three domains, 76 hand-crafted scenarios, 430 production-grade vulnerabilities β€” deterministic and reproducible.</p>
722
  <div class="hero-cta">
723
+ <a class="btn primary" href="#results">View Training Results <span class="btn-arrow">β†’</span></a>
724
  <a class="btn" href="#tasks">View Benchmark</a>
725
+ <a class="btn" href="/docs">API Docs</a>
726
  </div>
727
  </section>
728
 
 
862
  </div>
863
  </section>
864
 
865
+ <section id="results">
866
+ <div class="section-head">
867
+ <div class="section-index">04 / RESULTS</div>
868
+ <h2 class="section-title">SFT β†’ GRPO hybrid training. <em>Real lift on every domain.</em></h2>
869
+ </div>
870
+ <div class="results-headline">
871
+ <div class="result-cell"><div class="result-num">+0.302</div><div class="result-label">Dependency Β· 20/24 wins</div></div>
872
+ <div class="result-cell"><div class="result-num">+0.295</div><div class="result-label">Migration Β· 10/12 wins</div></div>
873
+ <div class="result-cell"><div class="result-num">+0.126</div><div class="result-label">IaC Β· 6/13 wins</div></div>
874
+ </div>
875
+ <div class="result-plots">
876
+ <figure>
877
+ <img src="https://huggingface.co/spaces/sam25kat/securereview/resolve/main/training_results/plots/dep/before_after.png" alt="Dependency review β€” before vs after SFT" />
878
+ <figcaption>Dependency Β· 0.083 β†’ 0.385 across 24 scenarios. Standout: dep_015 0.02 β†’ 0.93.</figcaption>
879
+ </figure>
880
+ <figure>
881
+ <img src="https://huggingface.co/spaces/sam25kat/securereview/resolve/main/training_results/plots/migration/before_after.png" alt="Migration review β€” before vs after SFT" />
882
+ <figcaption>Migration Β· 0.170 β†’ 0.465 across 12 curriculum-filtered scenarios.</figcaption>
883
+ </figure>
884
+ <figure>
885
+ <img src="https://huggingface.co/spaces/sam25kat/securereview/resolve/main/training_results/plots/iac/before_after.png" alt="IaC review β€” before vs after SFT" />
886
+ <figcaption>IaC Β· 0.177 β†’ 0.303 across 13 scenarios. Standout: iac_010 0.01 β†’ 0.76.</figcaption>
887
+ </figure>
888
+ </div>
889
+ </section>
890
+
891
+ <section id="resources">
892
+ <div class="section-head">
893
+ <div class="section-index">05 / RESOURCES</div>
894
+ <h2 class="section-title">Everything in one place. <em>For judges &amp; replicators.</em></h2>
895
+ </div>
896
+ <div class="endpoints">
897
+ <a class="endpoint" href="https://huggingface.co/spaces/sam25kat/securereview/discussions/1" target="_blank">
898
+ <div class="endpoint-left"><span class="method get">BLOG</span><span class="path">Submission writeup</span></div>
899
+ <span class="endpoint-desc">on HF community β†—</span>
900
+ </a>
901
+ <a class="endpoint" href="https://huggingface.co/spaces/sam25kat/securereview/blob/main/training_results/RESULTS.md" target="_blank">
902
+ <div class="endpoint-left"><span class="method get">DOC</span><span class="path">RESULTS.md</span></div>
903
+ <span class="endpoint-desc">full training story β†—</span>
904
+ </a>
905
+ <a class="endpoint" href="https://huggingface.co/spaces/sam25kat/securereview/blob/main/training_results/SCENARIOS.md" target="_blank">
906
+ <div class="endpoint-left"><span class="method get">DOC</span><span class="path">SCENARIOS.md</span></div>
907
+ <span class="endpoint-desc">all 76 scenarios indexed β†—</span>
908
+ </a>
909
+ <a class="endpoint" href="https://huggingface.co/spaces/sam25kat/securereview/tree/main/training_results/plots" target="_blank">
910
+ <div class="endpoint-left"><span class="method get">PLOTS</span><span class="path">/training_results/plots</span></div>
911
+ <span class="endpoint-desc">PNGs + results.json β†—</span>
912
+ </a>
913
+ <a class="endpoint" href="https://huggingface.co/spaces/sam25kat/securereview-trainer" target="_blank">
914
+ <div class="endpoint-left"><span class="method post">RUN</span><span class="path">securereview-trainer</span></div>
915
+ <span class="endpoint-desc">dependency Β· one-click β†—</span>
916
+ </a>
917
+ <a class="endpoint" href="https://huggingface.co/spaces/sam25kat/securereview-trainer-migration" target="_blank">
918
+ <div class="endpoint-left"><span class="method post">RUN</span><span class="path">securereview-trainer-migration</span></div>
919
+ <span class="endpoint-desc">migration Β· one-click β†—</span>
920
+ </a>
921
+ <a class="endpoint" href="https://huggingface.co/spaces/sam25kat/securereview-trainer-iac" target="_blank">
922
+ <div class="endpoint-left"><span class="method post">RUN</span><span class="path">securereview-trainer-iac</span></div>
923
+ <span class="endpoint-desc">iac Β· one-click β†—</span>
924
+ </a>
925
+ <a class="endpoint" href="https://github.com/sam25kat/Secure_Reveiw" target="_blank">
926
+ <div class="endpoint-left"><span class="method get">CODE</span><span class="path">github.com/sam25kat/Secure_Reveiw</span></div>
927
+ <span class="endpoint-desc">full source β†—</span>
928
+ </a>
929
+ </div>
930
+ </section>
931
+
932
  <footer>
933
  <div class="footer-left">
934
  <div class="footer-brand">SECUREREVIEW Γ— TEAM COOKHOUSE</div>
935
+ <div class="footer-tagline">Meta Γ— Hugging Face OpenEnv Hackathon Β· India 2026</div>
936
  </div>
937
  <div class="footer-links">
938
  <a href="https://github.com/sam25kat/Secure_Reveiw">GitHub β†—</a>
939
  <a href="https://huggingface.co/spaces/sam25kat/securereview/tree/main">Source β†—</a>
940
+ <a href="https://huggingface.co/spaces/sam25kat/securereview/blob/main/training_results/RESULTS.md">Results β†—</a>
941
+ <a href="https://huggingface.co/spaces/sam25kat/securereview/discussions/1">Blog β†—</a>
942
  <a href="/docs">API β†—</a>
943
  </div>
944
  </footer>