DOXA Evidence Model β CPU development preview
Two logistic regression classifiers with token unigram and bigram features compare passage-only and context-aware inputs. A separate linear learned selector ranks extractive evidence candidates. Weights are portable JSON without executable pickle files. No independent human-reviewed training or performance claims are included.
Training used 120 fictional rows from 12 authored event dossiers. The development test had 40 rows across four other events and reuses the authoring templates. The challenge uses unfamiliar wording withheld from fitting. It has eight paired context switches.
| Model | Development macro-F1 | Development pairs both correct | Challenge pairs both correct | Challenge coverage |
|---|---|---|---|---|
| passage only | 0.659 | 0/4 | 0/8 | 12.5% |
| with context | 1.000 | 4/4 | 1/8 | 68.8% |
The context-aware model succeeds on the familiar templates and still misses most independently worded cases. Scores are uncalibrated. The extractive quote is a candidate cue concerning how the claim was presented. It cannot verify the claim or serve as a political bias score.
import sys
sys.path.insert(0, "tools")
from evidence_model import PortableModel
model = PortableModel("model.json")
print(model.predict("The assistance grant paid the invoices.", "Quotation from the director's statement."))
Raw predictions, decision scores, coverage and exact-span checks are in
evaluation.json and challenge_results.json. See the methods source
for the loopback HTTP contract and the checklist for domain deployment.
Local SDK and provenance contract
The DOXA Methods foundation supplies a common local request/result envelope, exact-commit asset loader and checked source/reviewer schemas. This model retains its native task and output labels: claim_presentation. Its recorded portfolio status is development_preview.
The task manifest pins the existing inference artifact and expected hashes. Run it with the Methods SDK using doxa portfolio fetch and doxa portfolio run. Document text stays local; fetching public weights does not provide hosted inference. This update changes documentation and contracts; learned parameters are unchanged.
Scope boundaries:
- Fictional development templates.
- Challenge pairs both correct only1/8.
- Extracted quote is a candidate cue, not factual verification.
Source judgments, model predictions and actual human review remain separate. The production new-reviewer registry starts empty. This model does not certify political neutrality, infer a person's beliefs or supply an overall political-bias percentage. See the research foundation guide for data roles and independent evaluation requirements.