Skip to content
wiki.fftac.org

Template Research - Source Excerpt 09

Back to Template Research

Summary

This source excerpt preserves a bounded section of Anti-Christ.org/wp-content/themes/antichrist-engine/template-research.php so readers can inspect the evidence without opening the full source file.

**Source path:** Anti-Christ.org/wp-content/themes/antichrist-engine/template-research.php

<p><?php esc_html_e('Flattened chronology checkpoints showing how forecasts mutate, harden, or collapse over time.', 'antichrist-engine'); ?></p>
                    </article>
                    <article class="publication-stat-card statement-card">
                        <span><?php esc_html_e('Source records', 'antichrist-engine'); ?></span>
                        <strong><?php echo esc_html(number_format_i18n($fact_check['source_total'])); ?></strong>
                        <p><?php esc_html_e('Memo-backed source records currently exposed through the public library and API.', 'antichrist-engine'); ?></p>
                    </article>
                </div>
                <div class="statement-grid fact-check-grid">
                    <?php foreach ($fact_check['verdicts'] as $verdict) : ?>
                        <?php if (empty($verdict['count'])) : ?>
                            <?php continue; ?>
                        <?php endif; ?>
                        <article class="statement-card fact-check-card">
                            <p class="eyebrow"><?php echo esc_html($verdict['label']); ?></p>
                            <strong><?php echo esc_html(number_format_i18n($verdict['count'])); ?></strong>
                            <p><?php echo esc_html($verdict['description']); ?></p>
                        </article>
                    <?php endforeach; ?>
                </div>
                <div class="tag-list fact-check-evidence-list">
                    <?php foreach ($fact_check['evidence_levels'] as $level) : ?>
                        <?php if (empty($level['count'])) : ?>
                            <?php continue; ?>
                        <?php endif; ?>
                        <span class="tag-pill"><?php echo esc_html($level['label'] . ': ' . number_format_i18n($level['count'])); ?></span>
                    <?php endforeach; ?>
                </div>
            </section>

            <section id="research-network" class="card foundation-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php esc_html_e('Research Network', 'antichrist-engine'); ?></p>
                    <h2><?php esc_html_e('Stable record IDs, source hubs, and dossier relationships', 'antichrist-engine'); ?></h2>
                    <p><?php esc_html_e('This layer turns the atlas into a more operational research desk: claims now carry stable record IDs, sources show where they are cited, and the public API exposes the same relationship map for future visualizations.', 'antichrist-engine'); ?></p>
                </header>
                <div class="publication-stat-grid research-network-summary">
                    <article class="publication-stat-card statement-card">
                        <span><?php esc_html_e('Claim nodes', 'antichrist-engine'); ?></span>
                        <strong><?php echo esc_html(number_format_i18n($network_map['summary']['claim_nodes'] ?? 0)); ?></strong>
                        <p><?php esc_html_e('Distinct dossiers with stable anchors and research record IDs.', 'antichrist-engine'); ?></p>
                    </article>
                    <article class="publication-stat-card statement-card">
                        <span><?php esc_html_e('Source hubs', 'antichrist-engine'); ?></span>
                        <strong><?php echo esc_html(number_format_i18n($network_map['summary']['source_nodes'] ?? 0)); ?></strong>
                        <p><?php esc_html_e('Source records currently cited by at least one live dossier.', 'antichrist-engine'); ?></p>
                    </article>
                    <article class="publication-stat-card statement-card">
                        <span><?php esc_html_e('Citation edges', 'antichrist-engine'); ?></span>
                        <strong><?php echo esc_html(number_format_i18n($network_map['summary']['citation_edges'] ?? 0)); ?></strong>
                        <p><?php esc_html_e('Claim-to-source links now preserved in the atlas and public map payload.', 'antichrist-engine'); ?></p>
                    </article>
                    <article class="publication-stat-card statement-card">
                        <span><?php esc_html_e('Related dossiers', 'antichrist-engine'); ?></span>
                        <strong><?php echo esc_html(number_format_i18n($network_map['summary']['relationship_edges'] ?? 0)); ?></strong>
                        <p><?php esc_html_e('Cross-dossier links based on shared sources, lane overlap, and recurring terms.', 'antichrist-engine'); ?></p>
                    </article>
                </div>
                <div class="research-toolbar research-toolbar--stacked research-network-toolbar">
                    <label class="research-search">
                        <span class="screen-reader-text"><?php esc_html_e('Search the research network', 'antichrist-engine'); ?></span>
                        <input
                            type="search"
                            class="research-search__input"
                            value="<?php echo esc_attr($research_filters['map_q']); ?>"
                            placeholder="<?php esc_attr_e('Search record IDs, source hubs, lane names, or dossier bridges', 'antichrist-engine'); ?>"
                            data-network-search
                        >
                    </label>
                    <div class="filter-chip-group" aria-label="<?php esc_attr_e('Research network item types', 'antichrist-engine'); ?>">
                        <?php foreach ($network_kind_filters as $kind_key => $kind_label) : ?>
                            <button type="button" class="filter-chip <?php echo $research_filters['map_kind'] === $kind_key ? 'is-active' : ''; ?>" data-filter-target="network-kind" data-filter="<?php echo esc_attr($kind_key); ?>">
                                <?php echo esc_html($kind_label); ?>
                            </button>
                        <?php endforeach; ?>
                    </div>
                    <div class="filter-chip-group" aria-label="<?php esc_attr_e('Research network lane filters', 'antichrist-engine'); ?>">
                        <button type="button" class="filter-chip <?php echo 'all' === $research_filters['map_category'] ? 'is-active' : ''; ?>" data-filter-target="network-category" data-filter="all"><?php esc_html_e('All lanes', 'antichrist-engine'); ?></button>
                        <?php foreach ($claim_filters as $filter) : ?>
                            <button type="button" class="filter-chip <?php echo $research_filters['map_category'] === $filter ? 'is-active' : ''; ?>" data-filter-target="network-category" data-filter="<?php echo esc_attr($filter); ?>">
                                <?php echo esc_html($claim_labels[$filter] ?? ucwords(str_replace('-', ' ', $filter))); ?>
                            </button>
                        <?php endforeach; ?>
                    </div>
                    <div class="research-results-meta">
                        <p class="research-results-summary" data-network-summary><?php echo esc_html($network_summary); ?></p>
                        <a class="text-link research-results-clear" href="<?php echo esc_url(antichrist_engine_foundation_build_target_url('research', array(), 'research-network')); ?>" data-network-clear <?php echo $research_filters['has_network_filters'] ? '' : 'hidden'; ?>>
                            <?php esc_html_e('Clear network filters', 'antichrist-engine'); ?>
                        </a>
                    </div>
                </div>
                <div class="research-network-explorer-grid">
                    <?php foreach (($network_map['source_hubs'] ?? array()) as $source_index => $source) : ?>
                        <?php $source_lane_slugs = array_values(array_filter(array_map('strval', (array) ($source['lane_slugs'] ?? array())))); ?>
                        <article
                            class="statement-card research-network-explorer-card research-network-explorer-card--source"
                            data-network-item="source"
                            data-kind="source"
                            data-category="<?php echo esc_attr(implode(' ', $source_lane_slugs)); ?>"
                            data-search="<?php echo esc_attr($network_source_search_indices[$source_index] ?? ''); ?>"
                            <?php echo !empty($network_source_visibility[$source_index]) ? '' : 'hidden'; ?>
                        >
                            <p class="eyebrow"><?php esc_html_e('Source Hub', 'antichrist-engine'); ?></p>
                            <p class="research-record-pill"><?php echo esc_html($source['record_id']); ?></p>
                            <h3><?php echo esc_html($source['title']); ?></h3>