--- pretty_name: DOXA Methods license: other tags: - political-discourse - research-methods - text-analysis configs: - config_name: measures default: true data_files: - split: registry path: methods.parquet - config_name: model_portfolio data_files: - split: registry path: expansion_v2/data/models.parquet - config_name: measurement_cards data_files: - split: registry path: expansion_v2/data/measurement_cards.parquet - config_name: release_status data_files: - split: registry path: expansion_v2/data/release_status.parquet - config_name: review_tasks data_files: - split: nominations path: expansion_v2/data/review_tasks.parquet - config_name: blind_audit_tasks data_files: - split: reserved_test path: expansion_v2/data/blind_audit_tasks.parquet license_name: original-code-and-source-specific-rights license_link: https://huggingface.co/datasets/Giuliocc/doxa-methods/blob/main/expansion_v2/SOURCE_RIGHTS.md --- # DOXA Methods by TACITUS A source-aware foundation for political discourse research: operational measurement cards, authentic source-reading datasets, task-specific local models and explicit review/evaluation contracts. [Open DOXA Lab](https://doxa.tacitus.me/) · [TACITUS](https://tacitus.me/doxa/) · [GitHub](https://github.com/sargonxg/DOXA-by-TACITUS). ## Expansion v0.2.0 - **34 operational measurement cards** define evidence, context, confounds, exclusions and unresolved outcomes. They are specified research questions, not 34 trained detectors. - **A checked local model SDK** provides immutable artifact fetching, source/evidence schemas, task-specific result envelopes, Unicode span imports, actual reviewer admission, calibration and source/event uncertainty. All seven existing model roles were run locally from the installed wheel in a checked common CPU dependency profile; development previews remain identified. - **Source-diverse review work** and a separate blind audit sample carry exact quotations, source identities, licenses, frozen roles and null labels. Machine nominations never become human judgments automatically. [Source credit and license notices](expansion_v2/review/source_rights.json) accompany these frozen tasks. Two source records have no creator names in the upstream catalogue; those fields remain explicitly unknown and link to the original article. - **A forty-deliverable evidence matrix** distinguishes completed engineering from numerical shortfalls, human dependencies, withheld promotions and prospective evidence requirements. Start with [the research foundation guide](expansion_v2/RESEARCH_FOUNDATION.md), [the SDK guide](expansion_v2/sdk/README.md), [model registry](expansion_v2/model-registry.json), [measurement cards](expansion_v2/measurement_cards.json) and [the actual readiness report](expansion_v2/READINESS.md). Read [source rights](expansion_v2/SOURCE_RIGHTS.md) before reuse. The native Viewer keeps the original three executable `measures` and adds model, card, status and reviewer-task configurations. ## What the evidence establishes The new [Context Bias](https://huggingface.co/datasets/Giuliocc/doxa-context-bias), [Matched Coverage](https://huggingface.co/datasets/Giuliocc/doxa-matched-coverage), [Study Evidence](https://huggingface.co/datasets/Giuliocc/doxa-study-evidence) and expanded [Research Atlas](https://huggingface.co/datasets/Giuliocc/doxa-research-atlas) preserve actual source and annotation provenance. Their views overlap; counts must not be summed as independent new examples. Political source-reading packets remain unannotated. The fixed biomedical slot reranker improved human-span hit@5 from 68.53% to 77.66%, with a source-clustered improvement interval of 2.62 to 16.19 percentage points. It depends on human-specified clinical query fields and does not qualify political entailment. The 52-instrument Wind Tunnel known-item model made a small historical half-Brier improvement of 0.00020236. Failed encoder and unqualified temporal replacements remain withheld. The new contextual news model and source-span probe also failed their registered held-out gates; their original methods and aggregate failures are published without replacement parameters or new DOXA Lab highlights. Existing wording native/browser results and remaining model failures stay public. Read [the contextual-model experiment](expansion_v2/experiments/contextual-discourse/README.md) and [the source-span study](expansion_v2/experiments/source-span/README.md) before choosing a future model. The contextual candidate scored 0.266 mean positive-class F1 against 0.217 TF-IDF, but its improvement interval included zero and it was worse than the 0.322 target-only control. The span probe gained 0.027 token F1 with an interval including zero and regressed on exact phrase boundaries. These distinct tasks/metrics cannot be ranked against the older BABE sentence-wording macro-F1. Both replacements remain withheld. No new independent human reviews, political-neutrality certification, enterprise validation, prospective survey forecasting or measured professional time savings are claimed. Full revision/checksum receipts, source audits and actual comparison results are under `expansion_v2/`. All work used local CPU/browser execution and Static hosting at **USD 0 new spend**. ## Original executable measures Three executable measures for political discourse research. Compare evidence standards across matched claims, record loaded wording and report frame prevalence. The registry defines each unit, denominator, exclusions and academic references. The scorer reports both resolved observations and explicit bounds for unresolved judgments. **Development foundation.** This release provides a fictional example, a locally runnable review service and a gate that requires recorded independent sign-off. It includes no real-world bias estimate. ## Run the example ```python import json import sys sys.path.insert(0, "tools") from methods import compare pairs = json.load(open("example/audit_pairs.json")) report = compare(pairs) assert report["eligible_pairs"] == 20 assert report["complete_pairs"] == 16 print(report["gap_bounds"]) ``` The 20 eligible pairs have 16 fully resolved pairs. The possible gap of 40–60 percentage points was deliberately constructed from fictional inputs. Five other pairs demonstrate rejected controls. A normative position is outside this factual-claim comparison. Read [the review protocol](docs/review.md), [annotation rubric](docs/annotation.md), [service contract](docs/service.md), [build plan](BUILD_PLAN.md) and [benchmark registration notes](docs/eval-registration.md). Start the service with the uploaded model bundle and Python. No extra libraries are needed for serving. Fitting and Parquet preparation use the listed dependencies. The [reproduction guide](docs/reproduce.md) walks through the tested build from a fresh checkout. The measure designs draw on framing, informational bias, contextual detection and construct validity research. See the references on each method card. [TACITUS.me](https://tacitus.me) - [Methods and source](https://huggingface.co/datasets/Giuliocc/doxa-methods) - [Development benchmark](https://huggingface.co/datasets/Giuliocc/doxa-bias-bench) - [CPU evidence model](https://huggingface.co/Giuliocc/doxa-evidence-model) - [Interactive scorecard](https://huggingface.co/spaces/Giuliocc/doxa-scorecard)