{
  "name": "EvalSpec",
  "version": "1.0",
  "status": "Field set as published in Table 2 of the paper. No record collected from public sources for the paper satisfies the Required tier.",
  "defined_in": "LLM Evaluation Discrepancies And How To Prevent Them (Findings of EACL 2027), Table 2 and Appendix J",
  "extends": {
    "name": "Every Eval Ever (EEE)",
    "version": "0.2.1",
    "note": "EvalSpec is an extended version of EEE. Every EvalSpec record is an EEE record (v0.2.1 plus the eight additive fields used in the paper). EvalSpec says which EEE fields are mandatory and adds the ones EEE has no slot for."
  },
  "tiers": [
    {
      "id": "required",
      "label": "Required",
      "purpose": "comparability",
      "description": "Lets a reader decide whether two scores were produced under the same regime."
    },
    {
      "id": "recommended",
      "label": "Recommended",
      "purpose": "reproducibility",
      "description": "Adds what is needed to re-run the evaluation."
    },
    {
      "id": "full",
      "label": "Full",
      "purpose": "audit",
      "description": "Adds what is needed to audit the evaluation."
    }
  ],
  "scoring_modes": [
    {
      "id": "log-likelihood",
      "aliases": [
        "log_likelihood",
        "loglikelihood",
        "log likelihood"
      ],
      "definition": "The model assigns a probability to each pre-specified answer option and the highest (length-normalized) token log-probability is selected. No free text is generated."
    },
    {
      "id": "generation",
      "aliases": [
        "generate_until"
      ],
      "definition": "The model produces free text and the answer is extracted from it by a parser or regular expression before scoring."
    },
    {
      "id": "preference",
      "aliases": [],
      "definition": "A human or model judge rates or ranks outputs and the score is derived from those judgments, for example a win rate, an Elo score or a 1 to 10 rubric rating."
    },
    {
      "id": "execution",
      "aliases": [],
      "definition": "The output is run against test cases or a formal verifier and scored by the result, for example a unit-test pass rate or a proof check."
    }
  ],
  "provenance_tags": [
    {
      "id": "source-reported",
      "class": "first-hand",
      "definition": "Stated by whoever produced the result."
    },
    {
      "id": "API-exposed",
      "class": "first-hand",
      "definition": "Returned by the source's own interface."
    },
    {
      "id": "LLM-extracted",
      "class": "llm",
      "definition": "Read from a publication by a language model."
    },
    {
      "id": "documentation-inferred",
      "class": "inferred",
      "definition": "Established from platform documentation, not from the record."
    },
    {
      "id": "pipeline-default",
      "class": "inferred",
      "definition": "Filled in by a pipeline where the source is silent."
    }
  ],
  "tracks": [
    {
      "id": "author-reported",
      "label": "Author-reported",
      "definition": "The record was written or emitted by whoever ran the evaluation. Its default provenance tag is source-reported."
    },
    {
      "id": "predicted",
      "label": "Predicted",
      "definition": "The record was filled in by someone other than the evaluator: read from a paper by a language model, or inferred from documentation and defaults. A person still uploads it."
    }
  ],
  "missing_values": [
    "unknown",
    ""
  ],
  "fields": [
    {
      "name": "model_id",
      "tier": "required",
      "applies": "always",
      "type": "string",
      "description": "Model identifier",
      "guidance": "Use the Hugging Face id (organisation/name) when the model is on the Hub, otherwise the provider's API identifier.",
      "eee_path": "model_info.id",
      "eee_also": [],
      "example": "google/gemma-2-9b"
    },
    {
      "name": "benchmark_id",
      "tier": "required",
      "applies": "always",
      "type": "string",
      "description": "Benchmark name and release version",
      "guidance": "The benchmark's usual name, with its release or task version where one exists.",
      "eee_path": "evaluation_results[].evaluation_name",
      "eee_also": [],
      "aliases": [
        "benchmark"
      ],
      "example": "bbh"
    },
    {
      "name": "scoring_mode",
      "tier": "required",
      "applies": "always",
      "type": "enum",
      "enum": [
        "log-likelihood",
        "generation",
        "preference",
        "execution"
      ],
      "description": "E.g., log-likelihood, generation, preference, or execution",
      "guidance": "One of the four values of the controlled vocabulary. A pipeline with several stages is labelled by the stage that produces the reported number; the other stage goes in benchmark_variant.",
      "eee_path": "evaluation_results[].generation_config.additional_details.scoring_mode",
      "eee_also": [
        "evaluation_results[].generation_config.additional_details.scoring_method"
      ],
      "new_in_evalspec": true,
      "because": "Separates the 34.10 from the 68.20 for Gemma-2-9B on BBH.",
      "example": "log-likelihood"
    },
    {
      "name": "harness_name",
      "tier": "required",
      "applies": "always",
      "type": "string",
      "description": "Software or eval. framework used to run the benchmark",
      "guidance": "The name the framework is released under. For an in-house pipeline, a name that identifies it.",
      "eee_path": "eval_library.name",
      "eee_also": [
        "evaluation_results[].generation_config.additional_details.harness",
        "evaluation_results[].generation_config.additional_details.eval_harness"
      ],
      "aliases": [
        "eval_library.name"
      ],
      "because": "Unknown for 98% of the cross-source disagreements.",
      "example": "lm-evaluation-harness"
    },
    {
      "name": "harness_version",
      "tier": "required",
      "applies": "always",
      "type": "string",
      "not_values": [
        "latest",
        "main",
        "master",
        "dev",
        "nightly",
        "head",
        "n/a",
        "none"
      ],
      "description": "Exact immutable harness version",
      "guidance": "A release number or a commit hash. A moving reference such as latest or main does not identify a version.",
      "eee_path": "eval_library.version",
      "eee_also": [],
      "aliases": [
        "eval_library.version"
      ],
      "because": "Two releases differed by at most 1.97 pp on GSM8K; with the version recorded, a later divergence can be attributed.",
      "example": "0.4.11"
    },
    {
      "name": "n_shot",
      "tier": "required",
      "applies": "always",
      "type": "integer",
      "min": 0,
      "description": "Number of in-context examples",
      "guidance": "0 for zero-shot.",
      "eee_path": "evaluation_results[].generation_config.generation_args.shots",
      "eee_also": [],
      "because": "Differs between the two Belebele reports, and explains much of their 46.6 pp.",
      "example": 3
    },
    {
      "name": "benchmark_variant",
      "tier": "required",
      "applies": "always",
      "type": "string",
      "description": "Sub-task or configuration key",
      "guidance": "The task or configuration key the harness ran, a language or subset scope, and the secondary stage of a hybrid pipeline. Repeat the benchmark name when there is a single configuration.",
      "eee_path": "evaluation_results[].generation_config.additional_details.benchmark_variant",
      "eee_also": [
        "evaluation_results[].source_data.additional_details.benchmark_variant"
      ],
      "because": "Language scope on Belebele has nowhere else to go.",
      "example": "leaderboard_bbh"
    },
    {
      "name": "judge_model",
      "tier": "required",
      "applies": "always",
      "type": "string_or_null",
      "description": "Scorer model (null if not applicable)",
      "guidance": "null states that no judge was involved. In an EEE file, leave llm_scoring out and record a scoring_mode other than preference: the tools read that as null.",
      "eee_path": "evaluation_results[].metric_config.llm_scoring.judges[].model_info.id",
      "eee_also": [
        "evaluation_results[].generation_config.additional_details.judge_model"
      ],
      "because": "The field the TruthfulQA records lack.",
      "example": null,
      "form_hint": "Leave empty or write none when no judge was involved. For human raters, describe them, for example: human, three raters per item."
    },
    {
      "name": "evaluation_timestamp",
      "tier": "required",
      "applies": "always",
      "type": "timestamp",
      "description": "Date and time at which the evaluation was run (ISO 8601)",
      "guidance": "A date (2026-07-03) or a date and time with a zone (2026-07-03T10:00:00Z). The time the run happened, not the time the result was published or collected.",
      "eee_path": "evaluation_results[].evaluation_timestamp",
      "eee_also": [
        "evaluation_timestamp"
      ],
      "aliases": [
        "eval_timestamp",
        "date"
      ],
      "because": "Would separate scores from before and after the MATH Level 5 parser change, and a re-run from a copy.",
      "example": "2026-07-03T10:00:00Z"
    },
    {
      "name": "prompt_template_hash",
      "tier": "required",
      "applies": "always",
      "type": "sha256",
      "description": "SHA-256 of the fully rendered prompt (task template, system instruction, chat template)",
      "guidance": "Written as sha256: followed by all 64 hexadecimal digits. The hash covers the task template, the system instruction and the chat template together.",
      "eee_path": "evaluation_results[].generation_config.additional_details.prompt_template_hash",
      "eee_also": [],
      "because": "The prompt is the only thing that differs between 58.5% and 2.5% on GSM8K.",
      "example": "sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
    },
    {
      "name": "answer_parser_version",
      "tier": "required",
      "applies": "generation",
      "type": "string",
      "description": "Answer-extractor or parser id and version",
      "guidance": "Required when scoring_mode is generation. Name the extractor and the version or commit it comes from.",
      "eee_path": "evaluation_results[].generation_config.additional_details.answer_parser_version",
      "eee_also": [],
      "example": "lm-eval gsm8k strict-match, task version 3"
    },
    {
      "name": "judge_prompt_hash",
      "tier": "required",
      "applies": "judge",
      "type": "sha256",
      "description": "SHA-256 of the canonicalized judge prompt + rubric",
      "guidance": "Required when a judge produces the score. Same format as prompt_template_hash.",
      "eee_path": "evaluation_results[].generation_config.additional_details.judge_prompt_hash",
      "eee_also": [
        "evaluation_results[].metric_config.llm_scoring.additional_details.judge_prompt_hash"
      ],
      "example": "sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae"
    },
    {
      "name": "judge_score_rule",
      "tier": "required",
      "applies": "judge",
      "type": "string",
      "description": "Procedure for converting judge response into score",
      "guidance": "Required when a judge produces the score. How the judge's reply becomes a number, and how replies are aggregated.",
      "eee_path": "evaluation_results[].generation_config.additional_details.judge_score_rule",
      "eee_also": [
        "evaluation_results[].metric_config.llm_scoring.additional_details.judge_score_rule"
      ],
      "example": "rating parsed from the [[n]] marker, mean over questions"
    },
    {
      "name": "temperature",
      "tier": "recommended",
      "applies": "always",
      "type": "number",
      "min": 0,
      "description": "Sampling temperature",
      "guidance": "0 for greedy decoding.",
      "eee_path": "evaluation_results[].generation_config.generation_args.temperature",
      "eee_also": [],
      "example": 0.0
    },
    {
      "name": "top_p",
      "tier": "recommended",
      "applies": "always",
      "type": "number",
      "exclusive_min": 0,
      "max": 1,
      "description": "Cumulative-probability threshold for nucleus sampling",
      "guidance": "1 when nucleus sampling is off.",
      "eee_path": "evaluation_results[].generation_config.generation_args.top_p",
      "eee_also": [],
      "example": 1.0
    },
    {
      "name": "quantization",
      "tier": "recommended",
      "applies": "always",
      "type": "string",
      "description": "Weight-quantization method used for inference",
      "guidance": "The numeric format the weights were run in, for example bfloat16 or 4-bit GPTQ. Write none for unquantized weights.",
      "eee_path": "model_info.quantization",
      "eee_also": [],
      "example": "bfloat16"
    },
    {
      "name": "hardware",
      "tier": "recommended",
      "applies": "always",
      "type": "string",
      "description": "GPU type and count",
      "guidance": "For an API-served model, the provider and endpoint.",
      "eee_path": "evaluation_results[].generation_config.additional_details.hardware",
      "eee_also": [],
      "example": "1 x NVIDIA A100 80GB"
    },
    {
      "name": "random_seed",
      "tier": "recommended",
      "applies": "always",
      "type": "integer_or_list",
      "description": "Random number generator seed",
      "guidance": "One integer, or a list when the score aggregates several seeds.",
      "eee_path": "evaluation_results[].generation_config.additional_details.random_seed",
      "eee_also": [
        "evaluation_results[].generation_config.additional_details.seed"
      ],
      "example": 42
    },
    {
      "name": "provenance_url",
      "tier": "full",
      "applies": "always",
      "type": "url",
      "description": "Link to raw outputs, log or eval. artifacts",
      "guidance": "A public http or https address.",
      "eee_path": "evaluation_results[].generation_config.additional_details.provenance_url",
      "eee_also": [
        "source_metadata.additional_details.provenance_url"
      ],
      "aliases": [
        "provenance_link"
      ],
      "example": "https://huggingface.co/datasets/example-org/eval-logs"
    },
    {
      "name": "contamination_check",
      "tier": "full",
      "applies": "always",
      "type": "string",
      "description": "Decontamination method and execution date",
      "guidance": "Name the method and the date it was run. Write none performed if there was no check.",
      "eee_path": "evaluation_results[].generation_config.additional_details.contamination_check",
      "eee_also": [],
      "example": "n-gram overlap against the training corpus, 2026-06-30"
    },
    {
      "name": "compute_hours",
      "tier": "full",
      "applies": "always",
      "type": "number",
      "min": 0,
      "description": "Total GPU time, measured in device-hours",
      "guidance": "Device-hours for this result, as a number.",
      "eee_path": "evaluation_results[].generation_config.additional_details.compute_hours",
      "eee_also": [],
      "example": 1.5
    }
  ],
  "source_kinds": [
    "Paper",
    "Leaderboard",
    "Model card",
    "Evaluation run"
  ],
  "record_keys": [
    {
      "name": "score",
      "value": "number",
      "description": "The reported number. Required.",
      "eee_path": "evaluation_results[].score_details.score"
    },
    {
      "name": "metric_name",
      "value": "text",
      "description": "Name of the metric, for example acc or exact_match.",
      "eee_path": "evaluation_results[].metric_config.metric_name"
    },
    {
      "name": "min_score",
      "value": "number",
      "description": "Lowest value the metric can take. With max_score, tells 0.585 from 58.5.",
      "eee_path": "evaluation_results[].metric_config.min_score"
    },
    {
      "name": "max_score",
      "value": "number",
      "description": "Highest value the metric can take.",
      "eee_path": "evaluation_results[].metric_config.max_score"
    },
    {
      "name": "lower_is_better",
      "value": "true or false",
      "description": "Whether a lower score is the better one. Read as false when left out.",
      "eee_path": "evaluation_results[].metric_config.lower_is_better"
    },
    {
      "name": "model_name",
      "value": "text",
      "description": "Display name of the model, when it is not the last part of model_id.",
      "eee_path": "model_info.name"
    },
    {
      "name": "developer",
      "value": "text",
      "description": "Organisation that released the model, when it is not the first part of model_id.",
      "eee_path": "model_info.developer"
    },
    {
      "name": "source_name",
      "value": "text",
      "description": "Where the score was published: the title of the paper, the name of the leaderboard or model card, or a name for the run.",
      "eee_path": "source_metadata.source_name"
    },
    {
      "name": "source_kind",
      "value": "one of four values",
      "description": "Paper, Leaderboard, Model card or Evaluation run. Decides how the registry labels the source.",
      "eee_path": "source_metadata.additional_details.source_kind"
    },
    {
      "name": "source_url",
      "value": "http(s) address",
      "description": "Address of the publication that states the score.",
      "eee_path": "evaluation_results[].source_data.url"
    },
    {
      "name": "source_organization_name",
      "value": "text",
      "description": "Organisation that published the score.",
      "eee_path": "source_metadata.source_organization_name"
    },
    {
      "name": "source_organization_url",
      "value": "http(s) address",
      "description": "Address of that organisation or of its leaderboard.",
      "eee_path": "source_metadata.source_organization_url"
    },
    {
      "name": "evaluator_relationship",
      "value": "one of four values",
      "description": "first_party, third_party, collaborative or other: how the evaluator relates to the developer of the model.",
      "eee_path": "source_metadata.evaluator_relationship"
    },
    {
      "name": "extractor_model",
      "value": "text",
      "description": "For LLM-extracted records, the model that read the publication.",
      "eee_path": "source_metadata.additional_details.extractor_model"
    },
    {
      "name": "extraction_date",
      "value": "date",
      "description": "For LLM-extracted records, the day the publication was read.",
      "eee_path": "source_metadata.additional_details.extraction_date"
    },
    {
      "name": "evaluation_id",
      "value": "text",
      "description": "Identifier of the datastore file. Generated when left out.",
      "eee_path": "evaluation_id"
    },
    {
      "name": "chain_of_thought",
      "value": "true or false",
      "description": "Whether the prompt asked for step-by-step reasoning.",
      "eee_path": "evaluation_results[].generation_config.generation_args.chain_of_thought"
    },
    {
      "name": "prompt_template",
      "value": "text",
      "description": "The prompt itself, when it can be published next to its hash.",
      "eee_path": "evaluation_results[].generation_config.generation_args.prompt_template"
    },
    {
      "name": "evidence_source",
      "value": "tag or object",
      "description": "One provenance tag for the whole record, or an object that maps default and field names to tags.",
      "eee_path": "source_metadata.additional_details.evidence_source"
    }
  ]
}
