Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ authors:
given-names: Tuong Tri
email: ntuongtri@hueuni.edu.vn
license: Apache-2.0
version: 1.6.0
version: 1.7.0
repository-code: "https://github.com/mxuanvan02/ECM-TQAG"
38 changes: 34 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**Evidence-first construction and structural audit of traceable multimodal textbook question-answering (TQA) items.**

This repository is the reproducible **research-software artifact** for ECM-TQAG. It contains executable contracts, validators, deterministic receipt logic, a command-line runner, JSON Schemas, tests, documentation, and synthetic fixtures. It does **not** contain source textbooks, restricted page images, private experiment records, credentials, or manuscript files.
This repository is the reproducible **research-software artifact** for ECM-TQAG. It contains executable contracts, validators, deterministic receipt logic, a command-line runner, JSON Schemas, tests, documentation, synthetic fixtures, and one directory of **derived** evaluation records ([`experiments/census_5arm_framef/records/`](experiments/census_5arm_framef/records/); see §10 for the boundary). It does **not** contain source textbooks, restricted page images, raw model outputs, credentials, or manuscript files.

> **Scope.** The software verifies structural and provenance-recording invariants. A successful verification is not, by itself, evidence of legal or semantic correctness, pedagogical quality, distractor quality, or visual necessity.

Expand Down Expand Up @@ -329,6 +329,10 @@ artifacts/stage_a_model_evaluation/
De-identified Stage A ratings and reproducible model-family agreement summary
artifacts/stage_b_model_evaluation/
De-identified Stage B trace ratings and reproducible agreement summary
experiments/census_5arm_framef/
Derived item-level records for the five-arm census,
plus the verifier that recomputes every published
quantity from them (see §10)
```

### Stage A and Stage B model-based evaluation artifacts
Expand All @@ -344,9 +348,35 @@ These are model-based protocol checks, not human/expert ratings, semantic valida

## 10. Reproducibility and data boundary

The public release contains source code, schemas, documentation, and synthetic fixtures. It does not redistribute textbook PDFs, source-derived chunks, source images, historical model outputs, private experiment records, credentials, or deployment-specific endpoints. Users are responsible for obtaining permission before adding external material and for keeping restricted inputs and outputs outside public repositories.

The software checks structure and provenance completeness. Independent human or domain review is required for semantic/legal correctness, answer quality, educational usefulness, and visual-grounding claims.
The public release contains source code, schemas, documentation, synthetic
fixtures, and **derived evaluation records**. It does not redistribute textbook
PDFs, source-derived chunks, source images, raw model outputs, credentials, or
deployment-specific endpoints. Users are responsible for obtaining permission
before adding external material and for keeping restricted inputs and outputs
outside public repositories.

**The line is raw versus derived.** Published under
[`experiments/census_5arm_framef/records/`](experiments/census_5arm_framef/records/)
are item-level *decisions* — per `(chunk, arm)` gate verdicts, per-item graded
correct/incorrect booleans for both ablation branches, and per-item ordinal rater
scores. They are published deliberately, because the reported endpoints cannot be
recomputed without them, and `verify_reported_quantities.py --check` recomputes
all 119 of them from these files alone. What is *not* published is any string
that carries source text: the verbatim quotation, the generated question, answer
and visual-evidence text, the answerer's own response, rater rationales, page
images, figure crops, and raw provider envelopes. Every removed field is listed in
`records/protocol.json` under `fields_redacted` and in `MANIFEST.json` under
`not_redistributed`. Consistent with that boundary, none of the eight record
files contains a single Vietnamese-diacritic character; the builder that emitted
them is documented as failing closed on that check, but the builder itself is not
part of this release, so the guarantee is the released files as audited, not a
build rule you can run here. See
[`experiments/census_5arm_framef/RIGHTS_AND_LIMITATIONS.md`](experiments/census_5arm_framef/RIGHTS_AND_LIMITATIONS.md)
for the full statement.

The software checks structure and provenance completeness. Independent human or
domain review is required for semantic/legal correctness, answer quality,
educational usefulness, and visual-grounding claims.

## 11. Citation and license

Expand Down
2 changes: 1 addition & 1 deletion RIGHTS_AND_LIMITATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The executable fixtures are synthetic, original materials provided under Apache-2.0. No source-derived document images, restricted datasets, credentials, private endpoints, or private dependencies are included.

The public repository contains no historical item-level outputs, source-derived documents, or annotation records. The included offline run summary is generated from synthetic fixtures and demonstrates transport and integrity handling only; it is not an evaluation of semantic grounding, model effectiveness, or generalization.
The public repository contains no raw historical model outputs and no source-derived documents or text. It does contain **derived** item-level evaluation records under `experiments/census_5arm_framef/records/`: gate verdicts, graded correct/incorrect booleans, and ordinal rater scores, published so that the reported endpoints are recomputable. That directory's own `RIGHTS_AND_LIMITATIONS.md` lists every withheld field. None of the eight released record files contains a Vietnamese-diacritic character; the builder that emitted them is documented as failing closed on that check, but the builder is not part of this release. The included offline run summary is generated from synthetic fixtures and demonstrates transport and integrity handling only; it is not an evaluation of semantic grounding, model effectiveness, or generalization.

Remote execution is opt-in. The tracked remote configuration is a non-routable template with placeholders only; users must create an ignored local configuration and supply their own endpoint, model identifier, and environment-variable credential.

Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_contract_eval_and_verify_cli(tmp_path, capsys):

@pytest.mark.skipif(
not REAL_INVENTORY.is_file(),
reason="conference_eval/inventory_v1.json is a restricted Gate-1 inventory kept outside this public repository (see README section 9); this check runs only where that private input is present",
reason="conference_eval/inventory_v1.json is a restricted Gate-1 inventory kept outside this public repository (see README section 10); this check runs only where that private input is present",
)
def test_real_inventory_cli(capsys):
inventory = REAL_INVENTORY
Expand Down
2 changes: 1 addition & 1 deletion tests/test_conference_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def test_verifier_rejects_invalid_resealed_report(tmp_path):

@pytest.mark.skipif(
not REAL_INVENTORY.is_file(),
reason="conference_eval/inventory_v1.json is a restricted Gate-1 inventory kept outside this public repository (see README section 9); this check runs only where that private input is present",
reason="conference_eval/inventory_v1.json is a restricted Gate-1 inventory kept outside this public repository (see README section 10); this check runs only where that private input is present",
)
def test_real_data_inventory_is_fail_closed():
inventory = REAL_INVENTORY
Expand Down
Loading