# Build on the DOXA research foundation DOXA connects document review to explicit research tasks, source evidence and versioned model artifacts. The browser audit is the document workflow. The dataset and model repositories are the reproducible research foundation. Model outputs concern supplied language and evidence. They do not establish an author's ideology, personal beliefs or political neutrality. ## Choose data by its actual role | Resource | What it supplies | What it does not supply | |---|---|---| | [Research Atlas](https://huggingface.co/datasets/Giuliocc/doxa-research-atlas) | Discovery records, main-article rights checks, source paragraphs, sections and citations | A judgment that each paper is relevant or politically biased | | [Context Bias](https://huggingface.co/datasets/Giuliocc/doxa-context-bias) | 11,072 original paragraph/context packets, attribution nominations and 34 operational measurement cards | New independently reviewed political-bias labels | | [Matched Coverage](https://huggingface.co/datasets/Giuliocc/doxa-matched-coverage) | 100 BASIL matched events plus 200 original WCEP reference groups, with metadata for 750 articles | Judged comparability, redistributable publisher text or established omission findings | | [Study Evidence](https://huggingface.co/datasets/Giuliocc/doxa-study-evidence) | 320 licensed papers, 8,749 exact claim/context packets and a reproducible retrieval study | Verified political claim truth or academic-bias gold | | [Wording Benchmark](https://huggingface.co/datasets/Giuliocc/doxa-wording-benchmark) | Upstream BABE expert-majority sentence judgments and individual votes, with fixed roles | A general prejudice or academic-paper evaluation | | [Methods](https://huggingface.co/datasets/Giuliocc/doxa-methods) | Measurement definitions, model registry, local SDK, review contracts and release evidence | Independent professional validation or enterprise certification | Read each card's item-level source rights before reuse. A license on original DOXA code does not relicense an underlying article or annotation. Metadata-only restoration packages preserve source identities when text redistribution terms remain unresolved. Full archives and context views may overlap: their row counts must not be added as if every view were a new observation. ## Reproduce one local prediction Download the Methods repository's `expansion_v2` bundle. Install its supplied wheel using the documented optional ONNX dependencies, then use the full revision in `model-registry.json`: ```sh python -m doxa portfolio list --registry model-registry.json python -m doxa portfolio fetch Giuliocc/doxa-wording-encoder \ --revision b6e07f2cc0ea82c0c46b89aac65fee8b74660db5 \ --registry model-registry.json --output local-wording python -m doxa portfolio run --registry model-registry.json \ --snapshot local-wording --requests examples/wording-request.jsonl ``` The fetch operation downloads only explicitly hashed public model assets. Inference runs locally. Requests use a task-specific payload inside a common provenance envelope; results preserve each task's native labels and uncertainty. Changed weights, incompatible tasks, unavailable dependencies and unsupported inputs have explicit outcomes. The API does not combine unrelated model scores into an overall political-bias percentage. ## Turn a document review into eligible research work 1. Open [DOXA Lab](https://doxa.tacitus.me/), upload a permitted source, and inspect extraction coverage, page locations and surrounding text. 2. Record exact supporting and countervailing evidence. Preserve the original passage, attribution, document identity, rubric and review disposition. 3. Export the audit JSON and use `doxa portfolio import-audit` to create review drafts. Browser UTF-16 positions are converted into checked Unicode code-point spans. A saved workflow disposition stays separate from a reference label. 4. Assign real qualified reviewers under the declared framework. Store their independent judgments and disagreements. The production verification registry starts empty; self-asserted human origin never creates human gold. 5. Reserve source/event groups before fitting. Training-review nominations and blind audit samples have separate roles. Test feedback must not become a training label for the same frozen evaluation. Positive judgments require source evidence. Adjudication requires a separate qualified reviewer outside the original panel's independence group and links to all panel records. Forceful criticism of identified policies, governments or institutions remains assessable on its substance. Identity terms alone are not positive labels. IHRA, Jerusalem Declaration and Nexus mappings remain separate named frameworks with their own sources and disputed interpretations. ## Evaluate a proposed model change State the task, admissible source rights, reference provenance and source/event split before fitting. Select settings using training/development data, then compare against task-matched controls on the frozen test. Report class support, per-class precision/recall/F1, unresolved cases, probability coverage, calibration and paired source/event uncertainty. Evaluate the actual quantized browser artifact independently of the native training checkpoint. Retrieval hit rate measures whether reference evidence was retrieved. It does not prove entailment or factual truth. Literal evidence spans establish what text was used; they do not establish that the inference is sufficient. Document throughput measures processing on stated files; it does not measure reviewer time saved. Published failed comparisons are part of the research record. The next externally dependent milestones are qualified independent annotations, political full-paper reference judgments, additional independent matched events and genuinely prospective survey observations. These cannot be replaced by machine-generated labels or historical replay. ## Keep future source reservations consistent Use the combined source policy in the Methods release when joining scientific views. Its source-family assignments reconcile Atlas, context and study reservations before generating reviewer tasks. Prior training or recorded benchmark/development exposure prevents admission to a new blind test; validation sources are not promoted into test. Metadata reservations can differ between older views without proving actual model leakage. The joint policy makes a future combined collection explicit and changes no historical model holdout. New reviewer tasks still have null labels and remain ineligible until real annotation and its admission checks are complete.