{% extends "base.html" %} {% block title %}Library — e2er{% endblock %} {% block content %}

Library

What the papers you have read actually claim. Every entry is a statement plus the verbatim sentence it came from, checked against the paper — a claim whose quote could not be found was discarded rather than stored.

{% if not exists %}

No library yet

Point e2er at a folder of PDFs and it will read them into a library you can search by claim. Your own papers work best: they are always readable, whereas roughly two in five papers found on the web are behind a paywall.

e2er corpus add ~/path/to/your/papers/

It will live at {{ path }} and accumulate across every project. A paper run reads it automatically.

{% else %} {% if error %}
The library could not be read.

{{ error }}

{% endif %} {% if stats %}
{{ stats.papers }}papers
{{ stats.claims }}checked claims
{{ stats.topics }}standing topics
{% if stats.first_pass_rejection_rate is not none %}
{{ '%.1f' | format(stats.first_pass_rejection_rate * 100) }}% quotes not found in the paper
{% endif %}
{% endif %} {% if query %} {% if hits %}

{{ hits | length }} claim(s) matching “{{ query }}”.

{% for h in hits %}
{{ h.title or h.key }} {% if h.year %}({{ h.year }}){% endif %} {{ h.field }}

{{ h.text }}

“{{ h.quote }}”{% if h.locator %} — {{ h.locator }}{% endif %}
{% if h.doi %}

{{ h.doi }}

{% endif %}
{% endfor %} {% else %}

Nothing matches “{{ query }}”

The library holds {{ stats.claims if stats else 0 }} claims from {{ stats.papers if stats else 0 }} papers. Searching matches the claim text and the quoted sentence, not the title — so try wording that might appear inside a paper.

{% endif %} {% else %}

Papers

{% for p in papers %} {% endfor %}
ClaimsYearTitleDOI
{{ p.n_claims }} {{ p.year or '—' }} {{ p.title }} {{ p.doi or '' }}
{% if stats and stats.papers > papers | length %}

Showing {{ papers | length }} of {{ stats.papers }}.

{% endif %} {% endif %}

Add more with e2er corpus add <folder|DOI|file.pdf>. A paper run also reads its own literature/ folder automatically.

{% endif %} {% endblock %}