zettelkasten.claim_producer¶
zettelkasten.claim_producer ¶
Claim producer: the agent-driven write loop that creates claims into the graph.
Where :mod:zettelkasten.claims is the pure, read-only claim ENGINE (it never
writes, infers an edge, or calls an LLM), this module is its WRITE counterpart —
the grounded producer that materializes agent-ratified claims, landscape themes,
and their verbatim evidence back into the _cross graph. It mirrors the writer
half of :mod:zettelkasten.review: every function is parametrized by a
get_graph callable and routes ALL write-back through the M3a durable
substrate — atomic crash-safe write (:func:graph.atomic_write_text), a
per-path lock (:func:commit.review_write_lock), and a path-scoped debounced git
commit (:func:commit._schedule_zettel_commit). Authored claims therefore
survive crashes and are version-controlled exactly like _reviews/ manifests.
GROUNDING DISCIPLINE — this module never fabricates claim text, quotes, or stances. The caller supplies the grounded sentence (title + body), the member / evidence ids, the verbatim quote text, and the stance confidence; the producer only WIRES them into the graph's existing data model, reusing the exact conventions the read layer already reads:
- a claim is a
claimnote living in_cross(multi-source synthesis); - evidence is a
quotenote linking--supports--> claim(the support edge is OUTGOING FROM THE QUOTE), so :func:materialize_claimwrites quote notes that point at the claim; - a stance from a member note is a
supports/contradictsedge stored ON the member note and pointing at the claim (so it is an INCOMING edge the read layer counts), carrying an agent-authoredconfidence; - a landscape theme is a
conceptnote taggedlandscapein_crosswith outgoingsurveysedges to the works it bundles (the same hubs :func:papers._derive_landscape_hubsandanalyze_gapssurface).
The functions are UNDECORATED: they are dispatched by the claim(action=...)
MCP tool in :mod:zettelkasten.server and will be called directly by the
dashboard routes in a later wave. Federation is honored — a write whose target
graph resolves to a read-only (federated) repo is refused before any file is
touched.
ClaimCandidate
dataclass
¶
One ranked candidate claim cluster (a pure, serializable record).
The GATHER half fills everything except sentence / stances (the agent
half writes those). members are the clustered note refs, quotes the
RETRIEVED verbatim evidence notes incident to them (never generated),
provenance the distinct paper sources spanned, and scores the
component ranking signals (support_span × contestedness × novelty, plus the
coherence the cluster cleared the floor with). is_counterclaim /
counter_of mark a contradicting sub-cluster the agent split out.
Source code in zettelkasten/claim_producer.py
ProposalMaterial
dataclass
¶
The deterministic GATHER result for a theme's mining pass.
candidates are the top-K surviving clusters in rank order; gaps record
why a theme yielded nothing (unresolvable theme, too few embedded notes) so a
miss is explicit, never silent. JSON-serializable via :meth:to_dict.
Source code in zettelkasten/claim_producer.py
create_claim ¶
create_claim(get_graph: GetGraph, *, claim_id: str = '', title: str = '', body: 'str | None' = None, supports: 'list[Any] | None' = None, contradicts: 'list[Any] | None' = None, tags: 'list[str] | None' = None, source: 'dict[str, Any] | None' = None, status: str = '', confidence: 'float | None' = None, graphs_dir: 'Path | str | None' = None) -> dict[str, Any]
Create or overwrite a grounded _cross claim note by id.
The GENERAL creator that :func:materialize_claim (and, later, the
test_claim promotion) build on. The caller supplies the grounded sentence
(title + body) and the member ids for the supports /
contradicts stance edges; this never fabricates claim text or members. An
omitted claim_id mints a fresh unique id from the title (a brand-new
claim); an explicit id makes the write idempotent (create-or-overwrite). All
write-back goes through the per-claim lock + atomic write + scheduled commit.
body is a None sentinel: None means "unset" (an overwrite
preserves the existing body; a brand-new claim gets ''), while an explicit
'' is an intentional blank body. An empty status likewise means
"unset" — a brand-new claim defaults to complete and an overwrite
preserves the existing claim's status (see the read-merge in
:func:_create_claim_locked).
Refuses (PermissionError) when the _cross (or any member) graph is a
federated, read-only target. confidence, when given, must be a number in
[0, 1] (else ValueError).
Source code in zettelkasten/claim_producer.py
delete_claim ¶
delete_claim(get_graph: GetGraph, *, claim_id: str, graphs_dir: 'Path | str | None' = None) -> dict[str, Any]
Soft-delete a _cross claim: status=discarded + tombstoned edges.
Unlike the hard delete_note, the claim note is RETAINED on disk (so the
delete is reversible and git-committed) but marked discarded — which drops
it from every active read-layer view (its status is no longer in
ACTIVE_STATUSES). Every incident supports / contradicts edge across
the scoped graphs is tombstoned (Link.tombstoned=True) so the stance data
is preserved and restorable rather than hard-removed. Returns
{"error", "type": "NotFound"} when no such claim exists.
Refuses (PermissionError) when _cross is a federated, read-only target.
Source code in zettelkasten/claim_producer.py
delete_theme ¶
delete_theme(get_graph: GetGraph, *, theme_id: str, graphs_dir: 'Path | str | None' = None) -> dict[str, Any]
Soft-delete a _cross landscape concept hub: status=discarded.
The reverse of :func:materialize_theme — used to undo a review's
promote-theme. Like :func:delete_claim, the concept note is RETAINED on disk
(reversible, git-committed) but marked discarded so it drops out of every
active read-layer view, including :func:papers._derive_landscape_hubs (which
skips non-active hubs). The hub's surveys edges are left intact — they ride
along on the retained note and matter only if the hub is later restored.
Returns {"error", "type": "NotFound"} when no such concept hub exists.
Refuses (PermissionError) when _cross is a federated, read-only target,
and (ValueError) when the target note is not a concept hub.
Source code in zettelkasten/claim_producer.py
materialize_claim ¶
materialize_claim(get_graph: GetGraph, *, claim_id: str, title: str = '', body: 'str | None' = None, supports: 'list[Any] | None' = None, contradicts: 'list[Any] | None' = None, quotes: 'list[Any] | None' = None, tags: 'list[str] | None' = None, source: 'dict[str, Any] | None' = None, confidence: 'float | None' = None, graphs_dir: 'Path | str | None' = None) -> dict[str, Any]
Idempotently accept a claim proposal: claim note + stance edges + quotes.
A WRAPPER over :func:create_claim that additionally writes the verbatim
evidence quote notes (each linking supports → the claim). The
claim_id is REQUIRED and stable so re-accepting the same proposal
overwrites the claim, its stance edges, and its quote notes in place — never
duplicating a note or an edge. Stance edges carry the agent-authored
confidence; quote bodies are the caller's retrieved verbatim text (never
generated). All writes share a single per-claim lock.
body is a None sentinel (None = preserve existing on overwrite;
'' = intentional blank). Each quotes entry is a verbatim string or a
dict {body|text, id?, title?, page?, source?, grounding?, confidence?}; a
quote id defaults to a deterministic <claim_id>-q<N> so re-accepts are
stable. confidence, when given, must be a number in [0, 1].
Source code in zettelkasten/claim_producer.py
materialize_theme ¶
materialize_theme(get_graph: GetGraph, *, theme_id: str = '', title: str = '', members: 'list[Any] | None' = None, body: 'str | None' = None, tags: 'list[str] | None' = None, graphs_dir: 'Path | str | None' = None) -> dict[str, Any]
Idempotently materialize a landscape concept hub in _cross.
Writes a concept note tagged landscape whose outgoing surveys
edges bundle the member works it maps (source folder names and/or citation
ids) — the same theme-hub shape :func:papers._derive_landscape_hubs reads.
The hub note is create-or-overwritten by id and ONLY its surveys edges are
rebuilt (deduped) from members on every accept; everything else is
READ-MERGED on overwrite — the existing hub body (unless a new body is
given), its non-landscape tags, and its non-surveys links are all
preserved — so re-accepting the same proposal yields an identical note with no
duplicate edges and never blanks the hub's prose or drops a hand-added edge.
body is a None sentinel (None = preserve existing on overwrite;
'' = intentional blank). Each members entry is a work-id string or
{id, graph?} (graph is the target's home graph — a source folder or
_citations — or empty for a plain work id). Refuses on a federated,
read-only _cross, and refuses (type guard) to clobber a non-concept
note sharing the id.
Source code in zettelkasten/claim_producer.py
1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 | |
gather_claim_candidates ¶
gather_claim_candidates(get_graph: GetGraph, *, project: str = '', graph: str = '', theme: str = '', top_k: int = DEFAULT_TOP_K, min_sources: int = MIN_DISTINCT_SOURCES, coherence_floor: float = COHERENCE_FLOOR, max_quotes: int = MAX_CANDIDATE_QUOTES, embed_fn: 'Callable[[str, str], Any] | None' = None, graphs_dir: 'Path | str | None' = None, namespace: 'Callable[[str], str] | None' = None, localize: 'Callable[[str], str] | None' = None) -> ProposalMaterial
Deterministic GATHER: the grounded candidate claim clusters for a theme.
Pure (no LLM, no network, no writes). Builds the read-engine claim index over
the scope (:func:claims.build_claim_index), resolves the theme's note pool
(the assertion-bearing notes in the works the landscape hub surveys), clusters
that pool by embedding (:func:_connected_clusters over the locked cosine
primitive), and keeps only clusters that clear the COHERENCE FLOOR
(:func:_cluster_coherence ≥ coherence_floor) AND span ≥ min_sources
distinct paper sources. Survivors are RANKED by cross-source support span ×
contestedness × novelty-vs-existing-claims and DEDUPED against already-accepted
_cross claims (a cluster whose members are a subset of an accepted claim's,
or whose centroid is near-identical to one, is dropped). Returns the top
top_k as a serializable :class:ProposalMaterial; each candidate carries
its member ids, retrieved verbatim quotes, provenance, and component scores.
Source code in zettelkasten/claim_producer.py
1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 | |
phrase_proposals ¶
phrase_proposals(material: ProposalMaterial, *, propose_fn: 'Callable[[str, str], str] | None' = None) -> ProposalMaterial
PHRASE each gathered candidate via an INJECTABLE agent (the agent half).
For each non-counterclaim candidate it calls propose_fn(system, prompt) ->
str (defaulting to :func:_default_propose_fn, the lazy in-process
dashboard agent) to (a) phrase ONE grounded sentence paraphrasing the cluster,
(b) classify each member's stance (supports/contradicts/qualifies) +
confidence, validated against the cluster's actual members and the allowed
stances, and (c) when a coherent contradicting sub-cluster surfaces, SPLIT it
into a separate counterclaim :class:ClaimCandidate (is_counterclaim /
counter_of). It never invents facts/quotes — phrasing only. Mutates and
returns material for convenience; propose_fn is injected by tests so
no LLM runs.
Source code in zettelkasten/claim_producer.py
1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 | |
compute_proposal_signature ¶
compute_proposal_signature(*, theme: str, project: str = '', graph: str = '', top_k: int = DEFAULT_TOP_K, min_sources: int = MIN_DISTINCT_SOURCES, coherence_floor: float = COHERENCE_FLOOR, max_quotes: int = MAX_CANDIDATE_QUOTES, agent_identity: 'str | None' = None, graphs_dir: 'Path | str | None' = None, localize: 'Callable[[str], str] | None' = None) -> str
hash(scope + theme-pool fingerprint + _cross fingerprint + contract + agent).
Mirrors :func:outline.compute_generation_signature / _scope_fingerprint:
a cheap (folder, file, mtime_ns) fingerprint over the theme's member
source folders PLUS _cross (the accepted-claim baseline the dedup reads),
skipping _-prefixed files, folded with the scope descriptor and the
embedded contract version. Any note add/edit/remove in the pool or any
accepted-claim change shifts the signature and busts the cache; an unchanged
graph hashes identically so the proposals are served from cache.
The scope ALSO folds in max_quotes (it changes the candidates' retrieved
evidence) and the phrasing agent/model identity (agent_identity,
defaulting to :func:_propose_agent_signature) — so changing how many quotes
are carried, or swapping the agent/model, busts the cache rather than serving
proposals phrased under the old parameters.
Source code in zettelkasten/claim_producer.py
propose_claims ¶
propose_claims(get_graph: GetGraph, *, project: str = '', graph: str = '', theme: str = '', top_k: int = DEFAULT_TOP_K, min_sources: int = MIN_DISTINCT_SOURCES, coherence_floor: float = COHERENCE_FLOOR, max_quotes: int = MAX_CANDIDATE_QUOTES, force: bool = False, propose_fn: 'Callable[[str, str], str] | None' = None, embed_fn: 'Callable[[str, str], Any] | None' = None, graphs_dir: 'Path | str | None' = None, namespace: 'Callable[[str], str] | None' = None, localize: 'Callable[[str], str] | None' = None) -> dict[str, Any]
Orchestrate the per-theme mining loop: cache → GATHER → phrase.
The single entry point the claim('propose') dispatch calls. Computes the
:func:compute_proposal_signature; on a cache hit (unchanged graph, not
force) returns the stored proposals with NO agent call (cached=True).
Otherwise it runs the DETERMINISTIC :func:gather_claim_candidates engine,
PHRASES the candidates via the INJECTABLE :func:phrase_proposals
(propose_fn defaults to the lazy in-process dashboard agent), caches the
result, and returns it. READ/COMPUTE ONLY — it never writes a claim to the
graph (acceptance is the separate :func:materialize_claim step).
Returns {theme, scope, candidates, gaps, signature, cached} (each
candidate a plain serializable dict).
Source code in zettelkasten/claim_producer.py
1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 | |
test_claim ¶
test_claim(get_graph: GetGraph, *, text: str = '', project: str = '', graph: str = '', top_k: int = TEST_MAX_CANDIDATES, relevance_floor: float = TEST_RELEVANCE_FLOOR, classify_fn: 'Callable[[str, str], str] | None' = None, summarize_fn: 'Callable[[str, str], str] | None' = None, embed_fn: 'Callable[[str, str], Any] | None' = None, embed_text_fn: 'Callable[[str], Any] | None' = None, graphs_dir: 'Path | str | None' = None, namespace: 'Callable[[str], str] | None' = None, localize: 'Callable[[str], str] | None' = None) -> dict[str, Any]
Test a hypothesis against the corpus — READ-ONLY, falsification-disciplined.
The hypothesis text is embedded as an EPHEMERAL scratch claim (NEVER
written to the graph). The engine then GATHERS candidate evidence
deterministically — a semantic search over the corpus notes/quotes/claims
(cosine similarity ≥ relevance_floor via the GUARDED
:func:_guarded_cosine_sim) plus a one-hop citation/relation-graph walk from
the top hits — and an INJECTABLE, WRITE-FREE classify_fn judges each
member's STANCE (supports / contradicts / qualifies / irrelevant). The verdict
is scored through the read engine's :func:claims.claim_strength, with
disconfirming evidence weighted SYMMETRICALLY (so refuted and
untested-in-corpus are first-class). Quotes are RETRIEVED from the graph's
quote notes — NEVER generated.
Returns the verdict + tally, the classified evidence (with retrieved
verbatim quotes + provenance), the top :func:claims.analyze_gaps findings
(what's missing), and a promote descriptor that wires the hypothesis into
the gated :func:materialize_claim write path (the ONLY write path — this
tool itself writes nothing).
classify_fn / embed_fn / embed_text_fn are injected by tests so no
LLM/embedder runs; the defaults are the lazy in-process (write-free) agent and
the Model2VecAdapter. summarize_fn produces the optional natural-language
assessment of how the hypothesis sizes up; unlike classify_fn it has
NO agent default — a caller opts in by passing :func:_default_summarize_fn
(the dashboard route does), so it stays None (assessment omitted) under
tests and the deterministic /actions path without an explicit LLM call.
Source code in zettelkasten/claim_producer.py
2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 | |
suggest_claims_for_topic ¶
suggest_claims_for_topic(get_graph: GetGraph, *, text: str = '', project: str = '', graph: str = '', top_k: int = SUGGEST_MAX_CLAIMS, relevance_floor: float = SUGGEST_RELEVANCE_FLOOR, embed_fn: 'Callable[[str, str], Any] | None' = None, embed_text_fn: 'Callable[[str], Any] | None' = None, graphs_dir: 'Path | str | None' = None, namespace: 'Callable[[str], str] | None' = None, localize: 'Callable[[str], str] | None' = None) -> dict[str, Any]
Rank EXISTING corpus claims by relevance to a pitched topic — read-only.
Embeds text as an EPHEMERAL scratch vector (NEVER written to the graph),
then scores every claim note in scope by the GUARDED cosine similarity
(:func:_guarded_cosine_sim) of its cached vector to the topic, keeping those
at or above relevance_floor and returning the top top_k in descending
similarity. Deterministic and write-free: it proposes NO new claims and
mutates nothing — it only surfaces claims that already exist so the caller can
place them under a freshly-pitched section.
embed_fn / embed_text_fn are injectable so tests run without an
embedder; the defaults are the in-process Model2Vec adapter.
Returns {scope, topic, claims, embedded} where each claim is
{uid, id, graph, title, type, similarity}.
Source code in zettelkasten/claim_producer.py
2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 | |
cluster_threshold_for_granularity ¶
Map the wizard granularity slider (10..90) to a leftover-cluster cosine cut.
Mirrors the Concepts-graph slider's metaphor: a LOW granularity yields fewer,
broader topics (a looser similarity cut) and a HIGH granularity yields more,
narrower topics (a tighter cut). The input is clamped to [10, 90] and
mapped LINEARLY onto [CLUSTER_THRESHOLD_GRANULARITY_MIN,
CLUSTER_THRESHOLD_GRANULARITY_MAX], so the midpoint (50) lands exactly on
:data:CLUSTER_SIM_THRESHOLD and the default reproduces the prior behavior.
Source code in zettelkasten/claim_producer.py
propose_placements ¶
propose_placements(get_graph: GetGraph, *, themes: 'list[dict[str, Any]]', unplaced: 'list[dict[str, Any]]', question: str = '', embed_fn: 'Callable[[str, str], Any] | None' = None, embed_text_fn: 'Callable[[str], Any] | None' = None, placement_floor: float = PLACEMENT_RELEVANCE_FLOOR, cluster_threshold: float = CLUSTER_SIM_THRESHOLD, coherence_floor: float = COHERENCE_FLOOR, min_cluster_size: int = NEW_THEME_MIN_CLAIMS, scope: 'dict[str, Any] | None' = None) -> dict[str, Any]
Propose a home for each unplaced claim — deterministic, read-only.
For every existing theme (real OR proposed) with at least one vectorized
claim, a CENTROID is taken over its placed claims' cached vectors
(:func:syllabus._centroid). Each unplaced claim with a usable vector is
scored by GUARDED cosine similarity (:func:_guarded_cosine_sim) against
every centroid; its best theme at or above placement_floor becomes a
PLACEMENT proposal. Claims that match no theme are LEFTOVERS — clustered
among themselves (:func:_connected_clusters at cluster_threshold) and,
for each component of at least min_cluster_size claims that clears the
coherence_floor (:func:_cluster_coherence), pitched as a NEW-theme
proposal titled after its most-central claim.
Question-aware ranking. When the outline's research question is given
(and embeddable), it is embedded into an EPHEMERAL scratch vector and every
proposed NEW theme is scored by the guarded cosine similarity of its cluster
centroid to that question (question_relevance). New themes are then
ordered by question relevance first (then coherence), so the structures most
aligned with what the outline is trying to ask surface at the top — the
question STEERS the proposal without suppressing any coherent cluster. With no
question the order is coherence-driven, exactly as before, and
question_relevance is None.
Write-free: proposes no claims, creates no theme, mutates nothing. The caller
applies approved placements via set_placement and approved new themes via
add_proposed_theme. embed_fn / embed_text_fn are injectable so
tests run without an embedder; the defaults pull each note's cached vector and
embed the question via the in-process Model2Vec adapter.
Returns {scope, question, placements, new_themes, embedded} where each
placement is {uid, id, graph, title, theme_id, theme_label, similarity}
and each new theme is {suggested_title, coherence, question_relevance,
claims:[{uid, id, graph, title, similarity_to_centroid}]}.
Source code in zettelkasten/claim_producer.py
2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 | |
partition_structural_themes ¶
partition_structural_themes(get_graph: GetGraph, *, kind: str, themes: 'list[dict[str, Any]]', unplaced: 'list[dict[str, Any]]', spine: str = '', spine_mode: str = '', include_unplaced: bool = False, project: str = '', graph: str = '', scope: 'dict[str, Any] | None' = None, graphs_dir: 'Path | str | None' = None, localize: 'Callable[[str], str] | None' = None) -> dict[str, Any]
Partition a review's claim pool into structural themes — read-only.
Reuses :func:propose_placements' whole-pool construction (the deduped union
of every themed claim + the unplaced worklist) so the structural partition
sees the SAME in-scope claim pool the semantic proposer clusters, then groups
that pool by kind:
source— by the claim'sgraph(the supporting note's source graph); each group's title is that source's_metatitle (falling back to the graph name), matching :func:tables_gather.list_row_values'sourceaxis.note_type/tag— by the claim note's frontmattertype/tags(read from disk and passed through the matrix's own :func:tables_common._value_keys, so non-value tags likehubare dropped identically). A claim may land in MULTIPLEtaggroups.spine— by the dimension of the namedspineorganization the claim's supporting note is a member of, using the SAME spine-side membership index the matrix cells and the outline spine sections read (:func:outline.gather._resolve_spine_partition).spine(an org id) is REQUIRED for this axis; every dimension becomes a theme (in the matrix's column order) even when it has no member claims, so the returned skeleton mirrors the spine structure. A claim may be a member of multiple dimensions.
Deterministic and write-free: no embedder, no clustering, no LLM. Each theme is
{key, title, claims:[{uid, id, graph, title}], count}; themes are sorted by
count descending (ties by title then key) — EXCEPT the spine axis, which
keeps the matrix's column order (empty dimensions included) so its skeleton
mirrors the matrix/outline 1:1. When include_unplaced is set, claims that
matched no group are appended as a trailing "Unplaced" theme (kept LAST
regardless of count, mirroring the outline's unplaced bucket).
The result ALSO carries an always-present unplaced (the leftover claim
members) and unplaced_count — the claims that matched NO group (no tag,
missing note_type, an unreadable note, an empty graph, or a spine non-member).
This is additive and independent of include_unplaced (which only controls
the trailing theme), so those claims are never silently dropped.
Raises ValueError for an unknown kind, or (for the spine axis) a
missing spine id or one that does not resolve to a materialized spine in
the review's scope — the route maps these to 400.
Source code in zettelkasten/claim_producer.py
3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 | |
propose_inbound_claims ¶
propose_inbound_claims(get_graph: GetGraph, *, target_theme_id: str, themes: 'list[dict[str, Any]]', unplaced: 'list[dict[str, Any]]', include_placed: bool = True, require_better_fit: bool = True, embed_fn: 'Callable[[str, str], Any] | None' = None, embed_text_fn: 'Callable[[str], Any] | None' = None, placement_floor: float = PLACEMENT_RELEVANCE_FLOOR, poach_margin: float = INBOUND_POACH_MARGIN, scope: 'dict[str, Any] | None' = None) -> dict[str, Any]
Propose claims to pull INTO one target theme — deterministic, read-only.
Builds the TARGET theme's claim CENTROID (over its placed, vectorized claims) and scores candidate claims against it by guarded cosine similarity:
- UNPLACED claims at or above
placement_floorbecome inbound candidates (source"unplaced"). - When
include_placedis set, claims currently placed in OTHER themes are considered too. Withrequire_better_fit(the default) such a claim is proposed ONLY when it clears the floor AND beats its CURRENT theme's centroid by at leastpoach_margin— a comparative gate so a claim that already fits where it lives is never suggested for a move. Withrequire_better_fit=False(the "all claims" scope) EVERY placed claim that clears the floor is surfaced regardless of how well it fits its current theme — itscurrent_similarityis still reported so the author can see, and decide, that it may already be better off where it sits.
Write-free: proposes nothing the author cannot reject and mutates nothing; the
caller commits an approved move via set_placement. embed_fn is
injectable so tests run without an embedder. The target theme's own claims are
never proposed back into it. A target with no usable claim centroid (e.g. an
empty or draft section holding only un-vectorized claims) falls back to
embedding the theme's OWN text (label + body) via embed_text_fn and
scores candidates against THAT query vector, so a new theme can still pull in
fitting claims. has_centroid stays False in that fallback (no real claim
centroid) but groups may be non-empty; query_source records which query
vector was used ("centroid", "theme_text", or "none"). Only when
neither a centroid nor a usable theme-text vector exists is the early
has_centroid=False / empty-groups result returned.
Returns {scope, target_theme_id, target_theme_label, has_centroid,
query_source, groups, embedded} where each group is
{source, source_id, source_label, claims}
and each claim is {uid, id, graph, title, similarity, current_similarity,
current_theme_id, current_theme_label} (the current_* fields are null for
an unplaced candidate).
Source code in zettelkasten/claim_producer.py
3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 | |
mine_claims_for_topic ¶
mine_claims_for_topic(get_graph: GetGraph, *, text: str = '', project: str = '', graph: str = '', top_k: int = MINE_MAX_MEMBERS, relevance_floor: float = MINE_RELEVANCE_FLOOR, body_chars: int = MINE_BODY_CHARS, fulltext_chars: int = MINE_FULLTEXT_CHARS, include_fulltext: bool = True, propose_fn: 'Callable[[str, str], str] | None' = None, embed_fn: 'Callable[[str, str], Any] | None' = None, embed_text_fn: 'Callable[[str], Any] | None' = None, fulltext_fn: 'Callable[[str], str | None] | None' = None, graphs_dir: 'Path | str | None' = None, namespace: 'Callable[[str], str] | None' = None, localize: 'Callable[[str], str] | None' = None) -> dict[str, Any]
Mine NEW grounded claim candidates for a pitched topic — full-text, read-only.
GATHERS the corpus notes most similar to text (ephemeral topic embed +
guarded cosine, relevance_floor gate, top top_k), enriches them with
their FULL note bodies AND each source's extracted PDF fulltext (when a local
PDF is available — controlled by include_fulltext / fulltext_fn), then
asks the WRITE-FREE phrasing agent (propose_fn) to paraphrase ONE grounded
claim sentence (plus an optional counterclaim) from that material. It NEVER
invents facts and writes NOTHING — it returns candidate SENTENCES the caller
can land as overlay draft claims. Already-synthesized _cross claims and
concept hubs are excluded from the pool (mining produces fresh synthesis).
All model/IO seams are injectable so tests run with no embedder, no LLM, and
no PDF stack. Returns {scope, topic, candidates, members, sources_read,
fulltext_used, embedded}.
Source code in zettelkasten/claim_producer.py
3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 | |
propose_mine_sources ¶
propose_mine_sources(get_graph: GetGraph, *, target_theme_id: str, themes: 'list[dict[str, Any]]', project: str = '', graph: str = '', relevance_floor: float = MINE_RELEVANCE_FLOOR, top_n: int = MINE_SOURCES_TOP_N, embed_fn: 'Callable[[str, str], Any] | None' = None, embed_text_fn: 'Callable[[str], Any] | None' = None, graphs_dir: 'Path | str | None' = None, namespace: 'Callable[[str], str] | None' = None, localize: 'Callable[[str], str] | None' = None, scope: 'dict[str, Any] | None' = None) -> dict[str, Any]
Propose candidate SOURCE papers to mine for one theme — read-only.
The first half of the interactive "Mine from sources" flow. Returns two flavours of source, ranked for the user to pick from:
in_theme— the source graphs ALREADY backing the target theme's existing claims/papers (its claim provenance + holding pen).proposed— OTHER source papers WITHIN THE CURRENT PROJECT/GRAPH SCOPE whose notes are similar to the theme (the theme'slabel+bodyare embedded, the scope's notes scored by guarded cosine, aggregated to the source-graph level, gated atrelevance_floor, and capped totop_n). Sources alreadyin_themeare excluded from this list.
Each returned source is {graph, title, similarity, tag} where tag is
"in_theme" or "proposed". similarity is the source's best note
similarity to the theme (None for an in_theme source when no vector is
available). Write-free; embed_fn / embed_text_fn are injectable so
tests run with no embedder. Returns {scope, theme_id, theme_label, sources,
embedded}.
Source code in zettelkasten/claim_producer.py
3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 | |
mine_atomic_claims ¶
mine_atomic_claims(get_graph: GetGraph, *, target_theme_id: str, themes: 'list[dict[str, Any]]', graphs: 'list[str]', project: str = '', graph: str = '', max_per_source: int = MINE_ATOMIC_MAX_PER_SOURCE, max_members: int = MINE_MAX_MEMBERS, body_chars: int = MINE_BODY_CHARS, fulltext_chars: int = MINE_ATOMIC_FULLTEXT_CHARS, extract_fn: 'Callable[[str, str], str] | None' = None, embed_fn: 'Callable[[str, str], Any] | None' = None, embed_text_fn: 'Callable[[str], Any] | None' = None, fulltext_fn: 'Callable[[str], str | None] | None' = None, fuzzy_floor: 'float | None' = None, graphs_dir: 'Path | str | None' = None, namespace: 'Callable[[str], str] | None' = None, localize: 'Callable[[str], str] | None' = None, scope: 'dict[str, Any] | None' = None) -> dict[str, Any]
Extract MULTIPLE atomic, grounded claims per selected source — read-only.
The second half of the interactive "Mine from sources" flow. For each SELECTED
source graph (from :func:propose_mine_sources), it gathers that source's
notes (the most theme-similar first when an embedder is available), RE-READS
the source's extracted PDF fulltext (fulltext_fn), and asks the WRITE-FREE
extraction agent (extract_fn) for a LIST of ATOMIC, theme-focused claim
sentences, each with a VERBATIM supporting quote. Every quote is mechanically
VERIFIED against that source's fulltext via :func:grounding.verify_quote —
any claim whose quote does not verify is DROPPED, so the agent can surface but
never fabricate. Up to max_per_source verified claims per source survive.
Writes NOTHING — it returns candidate claims the caller lands as overlay draft
claims (each carrying its verified quote + the source's member note ids for a
later promote). All model/IO seams are injectable so tests run with no
embedder, no LLM, and no PDF stack. Returns {scope, theme_id, theme_label,
claims, sources_read, sources_skipped, rejected, embedded} where each claim is
{sentence, quote, confidence, source_graph, source_title, supports, method,
score, page}.
Source code in zettelkasten/claim_producer.py
4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 | |
ground_claim ¶
ground_claim(get_graph: GetGraph, *, claim_id: str, project: str = '', graph: str = '', extract_fn: 'Callable[[str, str], str] | None' = None, corpus_fn: 'Callable[[str], tuple[str | None, list[dict[str, Any]]]] | None' = None, max_per_source: int = GROUND_MAX_QUOTES_PER_SOURCE, max_sources: int = GROUND_MAX_SOURCES, fulltext_chars: int = GROUND_FULLTEXT_CHARS, fuzzy_floor: 'float | None' = None, confidence: 'float | None' = None, graphs_dir: 'Path | str | None' = None, namespace: 'Callable[[str], str] | None' = None, localize: 'Callable[[str], str] | None' = None) -> dict[str, Any]
Close an evidential gap by SCRAPING a claim's own sources for quotes — WRITES.
The actionable counterpart to :func:analyze_gaps' evidential finding
("thin claim — sparse evidence"). Resolves claim_id in the scoped claim
index, walks its DISTINCT supporting source documents, RE-READS each source's
extracted PDF fulltext, and asks the WRITE-FREE extraction agent (extract_fn)
for VERBATIM sentences that support the claim. Each candidate is mechanically
VERIFIED against the same source text via :func:grounding.verify_quote —
anything that is not a real (exact/fuzzy/annotation) substring is REJECTED, so
the agent can surface but never fabricate evidence. Accepted, deduped quotes
are appended as grounded quote notes (supports → the claim) under a
distinct -g* id namespace.
All model/IO seams are injectable (extract_fn / corpus_fn) so tests run
with no LLM and no PDF stack. Writes to _cross → refused on a federated /
read-only review. Returns {scope, claim_id, title, sources_scanned,
sources_skipped, quotes_added, rejected, already_present, message}.
Source code in zettelkasten/claim_producer.py
4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 | |
ground_paper ¶
ground_paper(get_graph: GetGraph, *, paper_id: str, project: str = '', graph: str = '', extract_fn: 'Callable[[str, str], str] | None' = None, corpus_fn: 'Callable[[str], tuple[str | None, list[dict[str, Any]]]] | None' = None, max_per_slot: int = GROUND_PAPER_MAX_PER_SLOT, fulltext_chars: int = GROUND_FULLTEXT_CHARS, fuzzy_floor: 'float | None' = None, confidence: 'float | None' = None, graphs_dir: 'Path | str | None' = None, namespace: 'Callable[[str], str] | None' = None, localize: 'Callable[[str], str] | None' = None) -> dict[str, Any]
Fill a paper's missing CCC notes by SCRAPING its own source — WRITES.
The actionable side of the outline's per-paper [GAP:<paper-id>] marker.
Resolves paper_id to its OWNED source graph, RE-READS that source's
extracted PDF fulltext, and asks the WRITE-FREE extraction agent (extract_fn)
for VERBATIM passages bucketed by the CCC slots the paper is MISSING
(definition / mechanism / numbers / quotes). Each candidate is mechanically
VERIFIED against the same source text via :func:grounding.verify_quote —
anything that is not a real (exact/fuzzy/annotation) substring is REJECTED, so
the agent surfaces but never fabricates. Accepted, deduped passages are written
as TYPED notes into the paper's own source graph (definition→definition,
mechanism→method, numbers→example, quotes→quote) and linked to the
claims the paper supports (related for the depth notes, supports for
quotes) so the slot the gap flagged is populated and a regenerate drops the
marker.
All model/IO seams are injectable (extract_fn / corpus_fn) so tests run
with no LLM and no PDF stack. Writes to the source graph → refused on a
federated / read-only target. Returns {scope, paper_id, source_graph, title,
notes_added, rejected, slots_already_filled, message}.
Source code in zettelkasten/claim_producer.py
4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 | |