File size: 5,444 Bytes
6f2ed01 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 | # 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
|