stable / dataset_upload /configs /eval_conditions.yaml
LucasLoading's picture
Upload 30 files
6f2ed01 verified
Raw
History Blame Contribute Delete
5.44 kB
# Evaluation condition registry (spec sections 2.3, 8, 9, 10).
#
# The per-query booleans use_for_main_forward / use_for_reverse_analysis /
# use_for_recognition_analysis are DERIVED from this file, so a downstream
# aggregation never has to hard-code which conditions belong in which average.
#
# Spec 2.3 / 16: recognition and reverse_illposed must never enter the main
# forward aggregation, and reverse is reported separately because it changes
# the target slot from object to subject.
conditions:
anchor:
role: main
target_slot: object
is_assisted: false
is_well_posed: true
use_for_main_forward: true
use_for_reverse_analysis: false
use_for_recognition_analysis: false
expected_queries: 2592
expected_facts: 2592
description: >
The canonical qualification question itself. Shares the prompt string with
the anchor qualification run, so per-condition retention is measured
against a real measured baseline rather than an assumed 1.0.
paraphrase:
role: main
target_slot: object
is_assisted: false
is_well_posed: true
use_for_main_forward: true
use_for_reverse_analysis: false
use_for_recognition_analysis: false
expected_queries: 10053
expected_facts: 2592
migrated_from: queryA_canonical
description: >
Lexical and syntactic rewording, same fact and same target slot.
format:
role: main
target_slot: object
is_assisted: false
is_well_posed: true
use_for_main_forward: true
use_for_reverse_analysis: false
use_for_recognition_analysis: false
expected_queries: 7776
expected_facts: 2592
migrated_from: queryB_paraphrase
excludes: [mcq]
description: >
Question or response format changes with no candidates exposed. MCQ rows
from the same source file are routed to `recognition` instead (spec 9.3).
context:
role: main
target_slot: object
is_assisted: false
is_well_posed: true
use_for_main_forward: true
use_for_reverse_analysis: false
use_for_recognition_analysis: false
expected_queries: 6831
expected_facts: 2591
migrated_from: queryD_context
description: >
Irrelevant or misleading context prepended; the intended query stays
unambiguous and the correct answer is unchanged.
multilingual:
role: main
target_slot: object
is_assisted: false
is_well_posed: true
use_for_main_forward: true
use_for_reverse_analysis: false
use_for_recognition_analysis: false
expected_queries: 12010
expected_facts: 2402
migrated_from: queryE_multilingual
languages: [zh, fr, es, de, ru]
description: >
Same factual question in another language. Query language is stored in
the `language` field.
reverse:
role: structural # reported separately, NOT in the main average
target_slot: subject
is_assisted: false
is_well_posed: true
use_for_main_forward: false
use_for_reverse_analysis: true
use_for_recognition_analysis: false
expected_queries: 634
expected_facts: 253
migrated_from: queryC_reverse
requires: is_inverse_well_posed
description: >
(o, r^-1) -> s. Only built where the inverse mapping is unique. Spec 2.3:
reported separately because the target slot changes.
recognition:
role: diagnostic
target_slot: object
is_assisted: true
is_well_posed: true
use_for_main_forward: false
use_for_reverse_analysis: false
use_for_recognition_analysis: true
expected_queries: 3412
expected_facts: 2585
migrated_from: queryB_paraphrase(fmt=mcq)
description: >
Multiple choice. Measures recognition, not unaided retrieval.
reverse_illposed:
role: diagnostic
target_slot: subject
is_assisted: false
is_well_posed: false
use_for_main_forward: false
use_for_reverse_analysis: false
use_for_recognition_analysis: false
expected_queries: 1110
expected_facts: 1110
migrated_from: queryC_reverse(not well_posed)
description: >
Reverse queries whose inverse mapping is one-to-many ("What was developed
by Apple?"). Diagnostic only; never scored in any headline number.
# These are the SPEC's counts, not the shipped file's. Two context queries were
# dropped by a rule-based guard (see accepted_deviations below and protocol
# reference D1), so evaluation_queries_44416.jsonl really holds 44,416 rows.
totals:
expected_total_queries: 44418
# anchor 2592 + paraphrase 10053 + format 7776 + context 6831 + multilingual 12010
expected_main_forward_queries: 39262
expected_benchmark_facts: 2592
expected_relations: 21
# Spec 11: a query is a duplicate when fact_id + normalized text + target slot +
# condition family all coincide.
deduplication:
key: [fact_id, normalized_query, target_slot, condition_family]
expected_removed_during_migration: 10323
# Deviations from the spec counts that have been investigated and written up in
# outputs/reconstruction_differences.md. Listing one here stops the build from
# failing on it; an UNLISTED deviation still fails, so a new regression cannot
# hide behind a documented one.
accepted_deviations:
- check: context.queries
actual: 6829
expected: 6831
ref: D1
- check: total_queries
actual: 44416
expected: 44418
ref: D1
- check: main_forward_queries
actual: 39260
expected: 39262
ref: D1