---
type: "Source File"
title: "<script type=\"application/ld+json\">"
description: "{% extends \"base.html\" %} {% block title %}{{ fig.name }} {% if fig.total_quotes > 0 %}Cope Score: {{ \"%.0f\"|format(fig.cope_score) }}/100{% else %}— Unscored{% endif %} — CopeCheck AI Cope Index{% endblock %} {% block."
resource: "https://www.copecheck.com"
tags: ["copecheck", "main", "source-file", "html"]
timestamp: "2026-08-24T12:39:23Z"
site: "main"
source_path: "copecheck/templates/figure.html"
---

# <script type="application/ld+json">

Source path: `copecheck/templates/figure.html`  
Index snapshot generated: `2026-11-24T13:42:54Z`  
File modified: `2026-08-24T12:39:23Z`

```html
{% extends "base.html" %}
{% block title %}{{ fig.name }} {% if fig.total_quotes > 0 %}Cope Score: {{ "%.0f"|format(fig.cope_score) }}/100{% else %}— Unscored{% endif %} — CopeCheck AI Cope Index{% endblock %}
{% block meta_description %}{{ fig.share_paragraph }}{% endblock %}
{% block og_title %}{{ fig.name }} Cope Score: {{ "%.0f"|format(fig.cope_score) }}/100{% endblock %}
{% block og_description %}{{ fig.share_paragraph }}{% endblock %}
{% block og_url %}https://www.copecheck.com/figure/{{ fig.id }}{% endblock %}
{% block canonical %}https://www.copecheck.com/figure/{{ fig.id }}{% endblock %}
{% block hreflang %}https://www.copecheck.com/figure/{{ fig.id }}{% endblock %}
{% block tw_title %}{{ fig.name }} Cope Score: {{ "%.0f"|format(fig.cope_score) }}/100{% endblock %}
{% block tw_description %}{{ fig.share_paragraph }}{% endblock %}
{% block content %}

<p class="ai-content-label"><strong>AI-generated scores and analysis</strong> &middot; May contain errors &middot; <a href="/ai-disclosure">Disclosure and methodology</a></p>

<!-- JSON-LD: Person -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Person",
  "name": {{ fig.name | tojson }},
  "jobTitle": {{ (fig.title or "") | tojson }},
  "url": "https://www.copecheck.com/figure/{{ fig.id }}"
}
</script>
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {"@type": "ListItem", "position": 1, "name": "CopeCheck", "item": "https://www.copecheck.com/"},
    {"@type": "ListItem", "position": 2, "name": "Cope Index", "item": "https://www.copecheck.com/#leaderboard"},
    {"@type": "ListItem", "position": 3, "name": {{ fig.name | tojson }}, "item": "https://www.copecheck.com/figure/{{ fig.id }}"}
  ]
}
</script>

<article class="figure-page">
  <nav class="crumbs" aria-label="Breadcrumb"><a href="/">CopeCheck</a> &rsaquo; <a href="/#leaderboard">Cope Index</a> &rsaquo; <span>{{ fig.name }}</span></nav>

  <header class="figure-header">
    <div class="figure-mugshot">
      {% if fig.photo_url %}
        <img src="{{ fig.photo_url }}" alt="Portrait of {{ fig.name }}, {{ fig.title }}" />
      {% else %}
        <div class="figure-placeholder">{{ fig.name[0] }}</div>
      {% endif %}
    </div>
    <div class="figure-info">
      <h1>{{ fig.name }}</h1>
      <div class="figure-title">{{ fig.title }}</div>
      <div class="figure-category">{{ fig.category }}</div>
      {% if fig.cope_bias %}
        <div class="figure-bias">&ldquo;{{ fig.cope_bias }}&rdquo;</div>
      {% endif %}
    </div>
    <div class="figure-score-card {% if fig.total_quotes > 0 %}{{ fig.cope_score | copecolor }}{% else %}cope-unscored{% endif %}">
      {% if fig.total_quotes > 0 %}
      <div class="big-score">{{ "%.0f"|format(fig.cope_score) }}</div>
      <div class="score-label">{{ fig.cope_score | copelabel }}</div>
      {{ fig.cope_score | trendarrow(fig.prev_score) | safe }}
      {% else %}
      <div class="big-score">—</div>
      <div class="score-label">Unscored</div>
      {% endif %}
      <div class="total-quotes">{{ fig.total_quotes }} scored statement{{ 's' if fig.total_quotes != 1 }}</div>
    </div>
  </header>

  <section class="share-copy-card">
    <h2>Why this is cope</h2>
    <p>{{ fig.share_paragraph }}</p>
    <div class="share-bar">
      <a class="share-btn share-x" href="https://twitter.com/intent/tweet?text={{ fig.name | urlencode }}%20-%20Cope%20Score%3A%20{{ '%.0f'|format(fig.cope_score) }}%2F100%20({{ fig.cope_score | copelabel | urlencode }})%20on%20CopeCheck&url=https://www.copecheck.com/figure/{{ fig.id }}" target="_blank" rel="noopener">Share on X</a>
      <a class="share-btn share-whatsapp" href="https://wa.me/?text={{ fig.share_text | urlencode }}" target="_blank" rel="noopener">WhatsApp</a>
      <button class="share-btn share-copy" data-share-text="{{ fig.share_text | e }}" onclick="navigator.clipboard.writeText(this.dataset.shareText).then(()=>{this.textContent='Copied!'})">Copy paragraph</button>
      <button class="share-btn share-copy" onclick="navigator.clipboard.writeText('https://www.copecheck.com/figure/{{ fig.id }}').then(()=>{this.textContent='Copied!'})">Copy link</button>
    </div>
  </section>

  <!-- Cope Score History Chart -->
  {% if score_history and score_history|length > 1 %}
  <section class="score-chart-section">
    <h2 class="section-label">Aggregate Cope Score Over Time</h2>
    <p class="chart-note">The line is the recency-weighted aggregate after each unique underlying event, not the raw score of each source article.</p>
    <div class="chart-container">
      <canvas id="copeChart" height="200"></canvas>
    </div>
  </section>
  {% endif %}

  
  <!-- Submit URL -->
  <section class="submit-url-section" style="margin:2em 0 1em;">
    <h2 class="section-label">Submit a Quote</h2>
    <p style="color:#8e8a80;font-size:0.9em;margin-bottom:0.75em;">Paste a link to an article, YouTube video, or tweet where {{ fig.name }} discusses AI and jobs. The Oracle will extract and score it.</p>
    <form id="submit-url-form" action="/figure/{{ fig.id }}/submit-url" method="POST" style="display:flex;gap:0.5em;flex-wrap:wrap;">
      <input type="url" name="url" placeholder="https://..." required
             style="flex:1;min-width:200px;padding:0.6em 0.8em;background:#16171a;border:1px solid #2a2b30;border-radius:6px;color:#e6e3db;font-family:'JetBrains Mono',monospace;font-size:0.85em;" />
      <button type="submit"
              style="padding:0.6em 1.2em;background:rgba(255,60,60,0.15);border:1px solid rgba(255,60,60,0.3);border-radius:6px;color:#e83030;font-weight:600;cursor:pointer;font-family:'JetBrains Mono',monospace;font-size:0.85em;transition:all 0.2s;"
              onmouseover="this.style.background='rgba(255,60,60,0.25)'"
              onmouseout="this.style.background='rgba(255,60,60,0.15)'"
              >Submit to Oracle</button>
    </form>
    <div id="submit-url-msg" style="margin-top:0.5em;font-size:0.85em;"></div>
  </section>
  <script>
  document.getElementById('submit-url-form').addEventListener('submit', function(e) {
    e.preventDefault();
    var form = this;
    var btn = form.querySelector('button');
    var msg = document.getElementById('submit-url-msg');
    var url = form.querySelector('input[name=url]').value;
    btn.disabled = true;
    btn.textContent = 'Submitting...';
    msg.textContent = '';
    fetch(form.action, {
      method: 'POST',
      headers: {'Content-Type': 'application/json'},
      body: JSON.stringify({url: url})
    }).then(function(r){ return r.json(); }).then(function(data){
      if(data.ok){
        msg.style.color = '#2dd4a8';
        msg.textContent = 'Queued for scoring. The Oracle will process it in the next batch.';
        form.querySelector('input[name=url]').value = '';
      } else {
        msg.style.color = '#e83030';
        msg.textContent = data.error || 'Submission failed.';
      }
      btn.disabled = false;
      btn.textContent = 'Submit to Oracle';
    }).catch(function(err){
      msg.style.color = '#e83030';
      msg.textContent = 'Network error. Try again.';
      btn.disabled = false;
      btn.textContent = 'Submit to Oracle';
    });
  });
  </script>

  <section class="figure-history">
    <h2 class="section-label">Cope Timeline</h2>
    {% if not entries %}
      <p class="empty">No scored statements yet. The Oracle is watching.</p>
    {% endif %}
    {% for e in entries %}
    <div class="cope-entry {{ e.cope_score | copecolor }}">
      <div class="cope-entry-header">
        <span class="cope-entry-score">{{ "%.0f"|format(e.cope_score) }}</span>
        <span class="cope-entry-type">{{ e.cope_type }}</span>
        <span class="cope-entry-date">{{ (e.event_observed_at or e.created_at) | fmtdate }}</span>
      </div>
      {% if e.quote %}
      <blockquote class="cope-entry-quote">&ldquo;{{ e.quote }}&rdquo;</blockquote>
      {% endif %}
      {% if e.alternate_sources %}
      <div class="cope-entry-source cope-entry-provenance">
        Also observed in:
        {% for p in e.alternate_sources %}
          {% if p.source_url %}<a href="{{ p.source_url }}" rel="noopener noreferrer" target="_blank">{{ p.source_title or p.channel or 'source' }}</a>{% else %}{{ p.source_title or p.channel or 'source' }}{% endif %}{% if not loop.last %}, {% endif %}
        {% endfor %}
      </div>
      {% endif %}
      {% if e.analysis_md %}
      <div class="cope-entry-analysis">{{ e.analysis_md | renderverdict | safe }}</div>
      {% endif %}
      {% if e.source_title %}
      <div class="cope-entry-source">
        {% if e.source_url %}
          <a href="{{ e.source_url }}" rel="noopener noreferrer" target="_blank">{{ e.source_title }}</a>
        {% else %}
          {{ e.source_title }}
        {% endif %}
        {% if e.article_slug %}
          &middot; <a href="/v/{{ e.article_slug }}">Oracle verdict</a>
        {% endif %}
      </div>
      {% endif %}
    </div>
    {% endfor %}
  </section>
</article>

{% if score_history and score_history|length > 1 %}
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.4/dist/chart.umd.min.js"></script>
<script>
(function(){
  var data = {{ score_history | tojson }};
  var labels = data.map(function(d){
    var dt = d.date || '';
    if(dt.length >= 10) return dt.substring(5,10);
    return dt;
  });
  var scores = data.map(function(d){ return d.score; });

  var ctx = document.getElementById('copeChart').getContext('2d');
  new Chart(ctx, {
    type: 'line',
    data: {
      labels: labels,
      datasets: [{
        label: 'Cope Score',
        data: scores,
        borderColor: '#d8c9a3',
        backgroundColor: 'rgba(216,201,163,0.1)',
        borderWidth: 2,
        pointBackgroundColor: function(context) {
          var val = context.raw;
          if(val <= 15) return '#2dd4a8';
          if(val <= 35) return '#6bcc5e';
          if(val <= 55) return '#e6b422';
          if(val <= 75) return '#e87722';
          return '#e83030';
        },
        pointRadius: 5,
        tension: 0.3,
        fill: true
      }]
    },
    options: {
      responsive: true,
      maintainAspectRatio: false,
      plugins: {
        legend: { display: false },
        tooltip: {
          backgroundColor: '#0f1013',
          titleColor: '#d8c9a3',
          bodyColor: '#e6e3db',
          borderColor: '#1d1e22',
          borderWidth: 1
        }
      },
      scales: {
        y: {
          min: 0, max: 100,
          grid: { color: '#1d1e22' },
          ticks: { color: '#8e8a80', font: { family: 'JetBrains Mono', size: 10 } }
        },
        x: {
          grid: { color: '#1d1e22' },
          ticks: { color: '#8e8a80', font: { family: 'JetBrains Mono', size: 10 } }
        }
      }
    }
  });
})();
</script>
{% endif %}
{% endblock %}
```
