SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.31108 · 2026

Stress-Testing Efficient Responsible-AI Evaluation: When Compute Savings Change Benchmark Conclusions

Yani Ioannou, Shaina Raza, Aravind Narayanan, Rehana Riaz, Ahmed El Kady, Ahmed Kady

arXiv · PDF · Open in the Atlas

Code that ran

15 of 19 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 13 failures of our instrument; 4 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2608.31108.json · badge: /api/ran/2608.31108.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
VectorInstitute/sustainable-rai-evaluation canonical (classifier label)
classifier basis: census
15 ran · 4 no recorded run
FunctionStatusWhere it lives
bias_present Ran
ran, violated the contract we drafted
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/prompts.py
code served (permissive licence) · get_code("4bcdfcee5a21382a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

ARGS = {
    "score": 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
breakdown Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/metrics.py
code served (permissive licence) · get_code("0faada8059bc5ec4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from collections import defaultdict

# First, let's understand what the breakdown function needs:
# 1. predictions: Iterable[dict[str, Any]] - each dict needs 'sample_id' and 'correct' (bool)
# 2. metadata: dict[str, dict[str, Any]] - maps sample_id to dict with fields specified in 'fields'
# 3. fields: tuple[str, ...] - field names to group by

# Create sample metadata
metadata = {
    'sample_001': {'difficulty': 'easy', 'category': 'arithmetic'},
    'sample_002': {'difficulty': 'hard', 'category': 'algebra'},
    'sample_003': {'difficulty': 'easy', 'category': 'algebra'},
    'sample_004': {'difficulty': 'hard', 'category': 'arithmetic'},
}

# Create predictions
predictions = [
    {'sample_id': 'sample_001', 'correct': True, 'status': None},
    {'sample_id': 'sample_002', 'correct': False, 'status': None},
    {'sample_id': 'sample_003', 'correct': True, 'status': 'parse_failure'},
    {'sample_id': 'sample_004', 'correct': False, 'status': 'inference_failure'},
]

# Define fields to group by
fields = ('difficulty', 'category')

ARGS = {
    'predictions': predictions,
    'metadata': metadata,
    'fields': fields,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_messages Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/inference.py
code served (permissive licence) · get_code("f1880abc92187acb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from typing import Any

# Test case 1: BBQ dataset (text-only)
item_bbq = {
    'context': 'John and Mary went to the store. John is a teacher.',
    'question': 'What is John\'s profession?',
    'ans0': 'Doctor',
    'ans1': 'Teacher',
    'ans2': 'Engineer'
}

# Test case 2: BBQ-V dataset (image and text)
item_bbq_v = {
    'context': 'The image shows a busy market scene.',
    'question': 'What type of location is shown?',
    'ans0': 'Library',
    'ans1': 'Market',
    'ans2': 'Hospital',
    'image_path': '/path/to/image.jpg'
}

# For testing, we'll use the BBQ dataset
ARGS = {
    'item': item_bbq,
    'dataset': 'bbq'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
carbon_kg Ran
ran, honoured the contract we drafted
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/telemetry.py
code served (permissive licence) · get_code("c5b203c994116675")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function takes two optional float parameters and returns a float or None
# It multiplies energy_kwh by intensity_g_per_kwh and divides by 1000.0
# We need to provide valid test cases

ARGS = {
    "energy_kwh": 50.0,
    "intensity_g_per_kwh": 400.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
dataset_fingerprint Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/datasets.py
code served (permissive licence) · get_code("849e1e708aeb084e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import hashlib

# Define test data for BBQ dataset
bbq_rows = [
    {
        'category': 'Age',
        'case_id': 'case_1',
        'example_id': '1',
        'question_index': '0',
        'context_condition': 'ambig',
        'question_polarity': 'neg',
        'context': 'A young person and an old person',
        'question': 'Who is wise?',
        'ans0': 'young',
        'ans1': 'old',
        'ans2': 'unknown',
        'label': 'ans1',
        'answer_info': 'stereotypical',
        'subcategory': 'age_bias',
        'stereotyped_groups': 'old',
        'target_loc': 'subj',
        'label_type': 'gold',
        'known_stereotyped_groups': 'old',
        'known_stereotyped_race': 'N/A',
        'known_stereotyped_var2': 'N/A'
    },
    {
        'category': 'Gender',
        'case_id': 'case_2',
        'example_id': '2',
        'question_index': '1',
        'context_condition': 'ambig',
        'question_polarity': 'pos',
        'context': 'A man and a woman',
        'question': 'Who is caring?',
        'ans0': 'man',
        'ans1': 'woman',
        'ans2': 'unknown',
        'label': 'ans2',
        'answer_info': 'stereotypical',
        'subcategory': 'gender_bias',
        'stereotyped_groups': 'woman',
        'target_loc': 'obj',
        'label_type': 'gold',
        'known_stereotyped_groups': 'woman',
        'known_stereotyped_race': 'N/A',
        'known_stereotyped_var2': 'N/A'
    }
]

bbq_category_order = ['Age', 'Gender', 'Religion', 'Race']

# Define test data for BBQ_V dataset
bbq_v_rows = [
    {
        'id': '1',
        'cross_id': 'cross_1',
        'unique_question_id': 'uq_1',
        'category': 'Age',
        'subcategory': 'age_bias',
        'stereotyped_groups': 'old',
        'question_polarity': 'neg',
        'context': 'A young and old person',
        'question': 'Who is wise?',
        'ans0': 'young',
        'ans1': 'old',
        'ans2': 'unknown',
        'label': 'ans1',
        'gold_answer': 'ans1',
        'image_sha256': 'abc123def456',
        'image_file': 'image1.jpg'
    },
    {
        'id': '2',
        'cross_id': 'cross_2',
        'unique_question_id': 'uq_2',
        'category': 'Gender',
        'subcategory': 'gender_bias',
        'stereotyped_groups': 'woman',
        'question_polarity': 'pos',
        'context': 'A man and a woman',
        'question': 'Who is caring?',
        'ans0': 'man',
        'ans1': 'woman',
        'ans2': 'unknown',
        'label': 'ans2',
        'gold_answer': 'ans2',
        'image_sha256': 'xyz789uvw012',
        'image_file': 'image2.jpg'
    }
]

ARGS = {
    'dataset': 'bbq',
    'rows': bbq_rows,
    'category_order': bbq_category_order
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
membership_fingerprint Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/datasets.py
code served (permissive licence) · get_code("e18605c4e7b353e3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import hashlib
from typing import Any, Iterable

def membership_fingerprint(unit_ids: Iterable[str]) -> str:
    """Return the canonical SHA-256 of sorted membership IDs."""
    return hashlib.sha256(''.join((f'{item}\n' for item in sorted(unit_ids))).encode()).hexdigest()


# Setup code
unit_ids_example = ["alice", "bob", "charlie", "david"]

ARGS = {
    "unit_ids": unit_ids_example
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
nvml_energy Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/telemetry.py
code served (permissive licence) · get_code("5e5c34b5d00535fc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Define ARGS dict with valid arguments for nvml_energy function
ARGS = {
    'start_mj': 1000.0,
    'end_mj': 2500.0,
    'duration_seconds': 10.5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_answer Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/parsing.py
code served (permissive licence) · get_code("85a97cdb29eadeb1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

# Setup code for parse_answer function

# The function parse_answer takes one parameter: raw (str | None)
# It calls parse_primary(raw) which processes the string through various parsing strategies

# Let's create test cases that exercise different code paths

# Test case 1: Valid strict JSON with answer and reasoning
test_json_valid = '{"answer": "A", "reasoning": "This is correct"}'

# Test case 2: Non-JSON text with leading letter and dot
test_dot_format = 'B. This is the answer'

# Test case 3: Text with Answer: line format
test_answer_line = 'Some reasoning here\nAnswer: C'

# Test case 4: Plain letter on first line
test_first_line = 'A'

# Test case 5: Malformed/invalid input
test_invalid = 'This has no valid answer format'

# Test case 6: None input
test_none = None

# Test case 7: Empty string
test_empty = ''

# Test case 8: Fenced JSON
test_fenced = '```json\n{"answer": "B", "reasoning": "Fenced answer"}\n```'

# Test case 9: Malformed JSON with leading answer field
test_malformed_json = '{"answer": "A", "reasoning": "test", "extra": "field"}'

# For parse_answer, we need to provide the raw parameter
# Let's use a simple valid case that will parse successfully

ARGS = {
    'raw': '{"answer": "A", "reasoning": "This is the correct answer because it matches the criteria"}'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_primary Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/parsing.py
code served (permissive licence) · get_code("513c4100cef1458f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ParsedAnswer. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json

# Analyzing the function parse_primary(raw: str | None):
# - It takes a single parameter 'raw' which should be str | None
# - The function processes strings through JSON parsing and regex matching
# - It handles both valid JSON and non-JSON text formats

ARGS = {
    "raw": '{"answer": "A", "reasoning": "This is a test answer"}'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ParsedAnswer — a ParsedAnswer output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ParsedAnswer output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
prompt_sha256 Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/prompts.py
code served (permissive licence) · get_code("34590ce57cb5ffcb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import hashlib

def prompt_sha256(prompt: str) -> str:
    """Return the UTF-8 SHA-256 used for prompt provenance."""
    return hashlib.sha256(prompt.encode('utf-8')).hexdigest()

ARGS = {
    "prompt": "This is a test prompt for SHA-256 hashing"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
recover_maintenance Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/parsing.py
code served (permissive licence) · get_code("fc31bf02f32733ef")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ParsedAnswer. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import re

# The function signature is:
# def recover_maintenance(raw: str | None, options: tuple[str, str, str]) -> ParsedAnswer:

# Looking at the function body, it:
# 1. Takes raw (str | None)
# 2. Takes options (tuple of 3 strings)
# 3. Uses regex patterns to parse and recover answers
# 4. Returns a ParsedAnswer

# We need to provide valid test inputs

ARGS = {
    'raw': '{"answer": "A", "reasoning": "This is the correct answer"}',
    'options': ('Option A text', 'Option B text', 'Option C text')
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ParsedAnswer — a ParsedAnswer output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ParsedAnswer output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
resolve_condition Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/conditions.py
code served (permissive licence) · get_code("e9274b5b09341e73")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Condition. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

ARGS = {
    'name': 'M1',
    'model_key': 'qwen25_vl_7b',
    'dataset': 'bbq',
    'batch_size': None,
    'subset_rows': None,
    'replicate': 1,
    'max_pixels_override': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Condition — a Condition output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Condition output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
summary Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/metrics.py
code served (permissive licence) · get_code("ce7f14457497f77f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from typing import Any, Iterable

# Construct valid predictions iterable for the summary function
predictions_data = [
    {'correct': True, 'status': 'success'},
    {'correct': False, 'status': 'success'},
    {'correct': True, 'status': 'success'},
    {'correct': False, 'status': 'parse_failure'},
    {'status': 'inference_failure'},  # No 'correct' key
    {'correct': True, 'status': 'success'},
]

ARGS = {
    'predictions': predictions_data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
unit_id Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/datasets.py
code served (permissive licence) · get_code("c0aa28da3b8ebdef")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

# Test case 1: bbq dataset
row_bbq = {
    'category': 'race',
    'case_id': '42'
}

ARGS = {
    'dataset': 'bbq',
    'row': row_bbq
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
water_estimate Ran
ran; our contract draft was wrong, not the code
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/telemetry.py
code served (permissive licence) · get_code("e2708c53c57d1f0d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

# Setup code for water_estimate function

ARGS = {
    'energy_kwh': 10.5,
    'evaluated_items': 100,
    'scope': 'manufacturing',
    'energy_basis': 'grid_average'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_manifest Not yet run
unverified (harvested, no recorded run)
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/subsets.py
code served (permissive licence) · get_code("6e2c6a1f63549198")
How it ran

no invocation recorded.

inspect_quantization Not yet run
unverified (harvested, no recorded run)
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/inference.py
code served (permissive licence) · get_code("13e901a00ee031f7")
How it ran

no invocation recorded.

load_model Not yet run
unverified (harvested, no recorded run)
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/inference.py
code served (permissive licence) · get_code("ac797b8a96bcf2ca")
How it ran

no invocation recorded.

select_manifest_records Not yet run
unverified (harvested, no recorded run)
VectorInstitute/sustainable-rai-evaluation/src/evaluation_has_a_footprint/subsets.py
code served (permissive licence) · get_code("d38645dd2388c7dc")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 19 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Efficient evaluation changes the protocol used to support claims about model behavior, yet it is rarely tested whether those claims remain stable after the evaluation itself is made cheaper. We stress-test conclusion robustness in responsible-AI benchmarking by evaluating three dense and mixture-of-experts models on BBQ and BBQ-V under seven conditions spanning batching, quantization, benchmark reduction, and their combinations. Rather than treating preserved aggregate accuracy as sufficient, we compare accuracy, bias severity and prevalence, reasoning quality, subgroup behavior, subset-membership stability, runtime, and measured GPU energy against a full-benchmark BF16 baseline. Larger batching keeps accuracy within 0.35 percentage points of baseline and produces comparatively small subgroup changes, while reducing energy in five of six model--dataset settings. INT8 largely preserves quality but uses 1.79--4.26$\times$ baseline energy. INT4 causes larger, model- and context-dependent changes. Reduced benchmarks provide the most consistent savings, but very small subsets are substantially more sensitive to which items are retained. Efficient evaluation should therefore be treated as a measurement intervention whose validity must be checked across the conclusions the benchmark is intended to support. Our project website is https://vectorinstitute.github.io/sustainable-rai-evaluation/ and the code is available at https://github.com/VectorInstitute/sustainable-rai-evaluation.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2608.31108")
get_code_for_paper("2608.31108")
have("2608.31108")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2608.31108.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2608.31108.svg)](https://syntology.ai/paper/2608.31108)

Connect an agent — have() is free.