mabuseif commited on
Commit
0972927
·
verified ·
1 Parent(s): f46ae97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -9
app.py CHANGED
@@ -279,7 +279,7 @@ def get_excel_download_link(df, filename="citation_data.xlsx"):
279
  return href
280
 
281
  # --- Streamlit App ---
282
- st.set_page_config(layout="wide", page_title="Smart Context Citation Tool")
283
 
284
  # Load custom CSS
285
  load_css()
@@ -287,20 +287,30 @@ load_css()
287
  # Main header
288
  st.markdown("""
289
  <div class="main-header">
290
- <h1>Smart Context Citation (SCC) Tool</h1>
 
 
291
  </div>
292
  """, unsafe_allow_html=True)
293
 
294
- # Expandable section for About SCC and Example Citation
295
- with st.expander("About SCC and Example Citation"):
296
  st.markdown("""
297
  <div class="info-card">
298
- <p>The Smart Context Citation (SCC) style is a modern referencing system designed to enhance transparency and integrity in academic citations, particularly in the era of generative AI. It integrates context directly into citations, uses cryptographic hashes for verification, and replaces the traditional reference list with an SCC Index that includes an Authenticated Citation Identifier (ACI).</p>
299
- <h4>Key Features</h4>
 
300
  <ul>
301
- <li><strong>Inline Citations:</strong> Uses author-year format, either &quot;Author (Year)&quot; or &quot;(Author, Year)&quot;, hyperlinked to the source with a text fragment.</li>
302
- <li><strong>SCC Index:</strong> A unique SHA-256 hash ensures citation authenticity, linked to metadata including username, task, date, and time.</li>
303
- <li><strong>Benefits:</strong> Promotes digital fluency, ensures source traceability, prevents fabrication, and simplifies referencing.</li>
 
 
 
 
 
 
 
304
  </ul>
305
  <h4>Technical Legitimacy</h4>
306
  The SCC style uses the W3C Text Fragments specification by <a href="https://wicg.github.io/scroll-to-text-fragment/#:~:text=Editors%3A" target="_blank">Burris and Bokan (2023)</a> to enable precise linking to specific sections of digital content. This ensures that citations are contextually accurate, verifiable, and aligned with modern digital standards.
 
279
  return href
280
 
281
  # --- Streamlit App ---
282
+ st.set_page_config(layout="wide", page_title="ISNAD")
283
 
284
  # Load custom CSS
285
  load_css()
 
287
  # Main header
288
  st.markdown("""
289
  <div class="main-header">
290
+ <h1>ISNAD</h1>
291
+ <h3 style="font-style: italic; font-weight: normal; font-size: 1.2rem;">Integrated System for Networked Attribution & Documentation</h3>
292
+ <h4>Piloting Stages 1–3: Smart Context Citation (SCC)</h4>
293
  </div>
294
  """, unsafe_allow_html=True)
295
 
296
+ # Expandable section for About ISNAD and Example Citation
297
+ with st.expander("About ISNAD and Example Citation"):
298
  st.markdown("""
299
  <div class="info-card">
300
+ <p>The Integrated System for Networked Attribution & Documentation (ISNAD) is a five-layer framework designed to secure, contextualise, and verify knowledge in the era of Generative AI. It draws inspiration from the classical isnad (chains of transmission), modern referencing systems, and the Swiss Cheese Model of layered protection.</p>
301
+ <p>The current app pilots Stages 1–3 of ISNAD, implemented as the Smart Context Citation (SCC) system. SCC is the first operational layer of ISNAD, focused on creating verifiable, transparent, and context-rich citations. It ensures that knowledge attribution remains trustworthy and resistant to AI tampering.</p>
302
+ <h4>Key Features of SCC (Stage 1–3 of ISNAD):</h4>
303
  <ul>
304
+ <li><strong>Inline Citations:</strong> Author-year citations hyperlinked to the exact text fragment in the source.</li>
305
+ <li><strong>Authenticated Citation Identifier (ACI):</strong> A cryptographic hash that secures citation integrity.</li>
306
+ <li><strong>SCC Index:</strong> A replacement for traditional reference lists, with verifiable links and metadata (user, task, date, time).</li>
307
+ </ul>
308
+ <h4>Future Layers of ISNAD (Under Development):</h4>
309
+ <ul>
310
+ <li>Automated citation authentication workflows.</li>
311
+ <li>Integration with writing platforms (e.g., MS Office, Overleaf).</li>
312
+ <li>Linkage with digital libraries and source databases.</li>
313
+ <li>AI-resilient verification pipelines to protect academic outputs at scale.</li>
314
  </ul>
315
  <h4>Technical Legitimacy</h4>
316
  The SCC style uses the W3C Text Fragments specification by <a href="https://wicg.github.io/scroll-to-text-fragment/#:~:text=Editors%3A" target="_blank">Burris and Bokan (2023)</a> to enable precise linking to specific sections of digital content. This ensures that citations are contextually accurate, verifiable, and aligned with modern digital standards.