SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2304.03271 · 2023

Making AI Less "Thirsty": Uncovering and Addressing the Secret Water Footprint of AI Models

arXiv · PDF · Open in the Atlas

Code that ran

6 of 10 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; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 4 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2304.03271.json · badge: /api/ran/2304.03271.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
ren-research/making-ai-less-thirsty canonical (classifier label)
classifier basis not recorded on the link
6 ran · 4 no recorded run
FunctionStatusWhere it lives
convert_days_to_str Ran
ran on a synthesized input
ren-research/making-ai-less-thirsty/utils/date.py
code served (permissive licence) · get_code("5db453bc04bce2ea")
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
import numpy as np
from datetime import datetime, timedelta, timezone

# Read the function body to understand what parameters are needed
# convert_days_to_str takes one parameter: days
# The function uses days as an argument to timedelta(days=days)
# So days should be a numeric type (int or float)

ARGS = {
    'days': 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 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
convert_to_str_days Ran
ran on a synthesized input
ren-research/making-ai-less-thirsty/utils/date.py
code served (permissive licence) · get_code("3dcfd697c7be156b")
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 int, ndim 0, dtype family int, 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
from datetime import datetime, timedelta, timezone

torch.manual_seed(0)

# The function takes a data_str parameter which should be a string in format '%Y-%m-%dT%H'
# It parses this string and calculates the number of days between it and '2022-01-01T01'

data_str = '2022-01-05T12'

ARGS = {
    'data_str': data_str
}
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 int, ndim 0, dtype family int, 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
detect_missing_values Ran
ran on a synthesized input
ren-research/making-ai-less-thirsty/utils/data_preprocess.py
code served (permissive licence) · get_code("4b2964569228e3f4")
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 datetime import datetime, timezone

# Construct a list of time strings with some missing hours
# Starting from 2024-01-01T00, with gaps to test the detection
time_str_list = [
    "2024-01-01T00",
    "2024-01-01T01",
    "2024-01-01T02",
    # Missing 2024-01-01T03
    "2024-01-01T04",
    "2024-01-01T05",
    # Missing 2024-01-01T06
    # Missing 2024-01-01T07
    "2024-01-01T08",
]

ARGS = {
    "time_str_list": time_str_list
}
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
fix_nan_value Ran
ran on a synthesized input
ren-research/making-ai-less-thirsty/utils/data_preprocess.py
code served (permissive licence) · get_code("c19d3c7232705b35")
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 ndarray, ndim 1, dtype family float, shape (7,) 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 numpy as np

# Create a test array with some NaN values
arr = np.array([1.0, 2.0, np.nan, 4.0, np.nan, 6.0, 7.0])

ARGS = {
    "arr": arr
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (7,) — shape (7,) 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
load_carbon Ran
ran on a synthesized input
ren-research/making-ai-less-thirsty/utils/dataloader.py
code served (permissive licence) · get_code("307253ebd3a9c24e")
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 ndarray, ndim 1, dtype family float, shape (2,) 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 pandas as pd
import tempfile
import os

# Create a temporary CSV file with fuel mix data
temp_dir = tempfile.mkdtemp()
fuel_mix_path = os.path.join(temp_dir, "fuel_mix.csv")

# Create sample fuel mix data with the expected columns
fuel_data = {
    'fueltype': ['COL', 'NG', 'NUC', 'OTH', 'SUN', 'WAT', 'WND', 'COL', 'NG', 'NUC'],
    'value': [100.0, 200.0, 50.0, 30.0, 20.0, 15.0, 25.0, 110.0, 210.0, 55.0]
}

df = pd.DataFrame(fuel_data)
df.to_csv(fuel_mix_path, index=False)

ARGS = {
    'fuel_mix_path': fuel_mix_path,
    'dc_loc': 'Texas'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (2,) — shape (2,) 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
load_direct_WUE Ran
ran on a synthesized input
ren-research/making-ai-less-thirsty/utils/dataloader.py
code served (permissive licence) · get_code("d7735e7cbb5d4a44")
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 ndarray, ndim 1, dtype family float, shape (5,) 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 pandas as pd
import numpy as np
import tempfile
import os

# Create a temporary CSV file with the required columns
temp_dir = tempfile.mkdtemp()
weather_file = os.path.join(temp_dir, "weather.csv")

# Create sample weather data with required columns
weather_data = {
    'valid': [1, 2, 3, 4, 5],
    'tmpf': [72.5, 75.3, 68.9, 80.1, 65.4],
    'dwpf': [55.2, 58.1, 52.3, 62.5, 48.9],
    'wbtmp': [60.1, 63.2, 58.5, 68.3, 55.2]
}

df = pd.DataFrame(weather_data)
df.to_csv(weather_file, index=False)

ARGS = {
    'weather_path': weather_file,
    'wCycle': 6
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) 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
convert_str_double Not yet run
unverified (harvested, no recorded run)
ren-research/making-ai-less-thirsty/utils/data_preprocess.py
code served (permissive licence) · get_code("bfe7993614bf6174")
How it ran

no invocation recorded.

download_online_data Not yet run
unverified (harvested, no recorded run)
ren-research/making-ai-less-thirsty/utils/download_eia.py
code served (permissive licence) · get_code("81d2b668eac1f820")
How it ran

no invocation recorded.

download_whole_year Not yet run
unverified (harvested, no recorded run)
ren-research/making-ai-less-thirsty/utils/download_eia.py
code served (permissive licence) · get_code("2edef2beda378047")
How it ran

no invocation recorded.

load_indirect_WUE Not yet run
unverified (harvested, no recorded run)
ren-research/making-ai-less-thirsty/utils/dataloader.py
code served (permissive licence) · get_code("3af8e364e5df91d5")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 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 10 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-22.

Repositories linked to this paper

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

Abstract

The growing carbon footprint of artificial intelligence (AI) has been undergoing public scrutiny. Nonetheless, the equally important water (withdrawal and consumption) footprint of AI has largely remained under the radar. For example, training the GPT-3 language model in Microsoft's state-of-the-art U.S. data centers can directly evaporate 700,000 liters of clean freshwater, but such information has been kept a secret. More critically, the global AI demand is projected to account for 4.2-6.6 billion cubic meters of water withdrawal in 2027, which is more than the total annual water withdrawal of 4-6 Denmark or half of the United Kingdom. This is concerning, as freshwater scarcity has become one of the most pressing challenges. To respond to the global water challenges, AI can, and also must, take social responsibility and lead by example by addressing its own water footprint. In this paper, we provide a principled methodology to estimate the water footprint of AI, and also discuss the unique spatial-temporal diversities of AI's runtime water efficiency. Finally, we highlight the necessity of holistically addressing water footprint along with carbon footprint to enable truly sustainable AI.

For agents

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

get_harvested_code_for_paper("2304.03271")
get_code_for_paper("2304.03271")
have("2304.03271")

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

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

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

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

Connect an agent — have() is free.