Open code and derived-evidence package for:
Selection-Aware Evaluation of TimesFM for Thermogravimetric Curve Forecasting
Author: Mehmet Solak
ORCID: https://orcid.org/0000-0002-0800-0334
This repository evaluates zero-shot TimesFM forecasts of temperature-indexed thermogravimetric (TG) and derivative thermogravimetric (DTG) curves. It compares TimesFM with persistence, linear-last-window, and window-feature nearest-neighbor baselines under held-out source, material, and heating-rate protocols.
The reported study contains 44 curves and 88 TG/DTG targets from four governed evidence sets. Thirty-eight candidate observation windows end at or below 650 C. The fixed evaluation segment is 651-690 C.
The result is bounded. TimesFM does not show universal superiority. It has a stable calibrated advantage for local TG and a stable DTG advantage in the balanced sunflower-husk protocol-shift experiment. Simple calibrated baselines lead other target/evidence pairs. Physical-plausibility and DTG-operator audits remain separate from forecast-score comparisons.
data/: derived open-data curves used in the sunflower analyses.analysis/: sample-, fold-, model-, and operator-level result files.figures/: publication and supporting figures.tables/: publication and supporting tables.scripts/project/: archived project-level acquisition and forecast scripts.scripts/manuscript/: archived analysis, test, and packaging scripts.- Root-level
*.py: path-compatible copies of the project acquisition, conversion, forecast, and test scripts. evidence/,provenance/, andqa/: claim, source, and audit records.manuscript/manuscript_source_jaida.md: current JAIDA manuscript source.DATA_DICTIONARY.md: definitions for the principal result files.RUNTIME_ENVIRONMENT.json: locked model and runtime identity.verify_release.py: lightweight release and headline-result verification.
The open source records are not silently relicensed:
- Figshare biochar TGA data: https://doi.org/10.6084/m9.figshare.25513396.v1
- Mendeley biomass/co-pyrolysis TGA data: https://doi.org/10.17632/h3pjg2f926.1
- Mendeley sunflower-husk TG/DSC data: https://doi.org/10.17632/8vfhbjp27p.1
- TimesFM: https://github.com/google-research/timesfm
Raw source files from these repositories are not duplicated unless already permitted and necessary for the compact operator-sensitivity audit. The source DOIs and licenses remain authoritative.
Local raw XLSX files and local normalized curve arrays are not included. They originate from doctoral research, and the author does not hold unilateral authorization to release them publicly. Aggregate and sample-level analytical outputs are included with an explicit provenance boundary.
Python 3.10 or newer is required. The recorded run used Python 3.11.15,
TimesFM 2.0.2, and the google/timesfm-2.5-200m-pytorch checkpoint.
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txtTimesFM model weights are downloaded from their provider on first use and are not stored in this repository.
The lightweight verifier uses only the Python standard library:
python verify_release.py
It checks required metadata, the absence of local spreadsheet files, the 44-curve/88-target scope, the six original nested comparisons, the eight sunflower/operator rows, and the SHA-256 manifest when present.
- Inspect reported evidence: use the included
analysis/,tables/,figures/, and audit records. - Reacquire open inputs: run the root acquisition and conversion scripts against the cited source repositories.
- Regenerate forecasts: install TimesFM and run the context/window scripts.
This requires model download, substantial compute, and the original path
contract documented in
REPRODUCIBILITY.md. - Local evidence set: cannot be independently reconstructed from this repository because the author does not hold unilateral authorization to release the doctoral-research XLSX files.
This public package supports inspection and partial regeneration. It does not claim a kinetic mechanism, a universally best thermal window, whole-curve prediction, or direct authorization for physical process control.
- Project-authored code: MIT License.
- Project-authored documentation, figures, and derived result tables: CC BY 4.0.
- Third-party data, TimesFM source, and model artifacts retain their source licenses or provider terms.
See LICENSE, DATA_LICENSE.md, and LICENSE_MATRIX.csv.
Use CITATION.cff.
- Archived release v1.0.1: https://doi.org/10.5281/zenodo.21644212
- Concept DOI for all versions: https://doi.org/10.5281/zenodo.21644211
The verified archive metadata is recorded in ARCHIVE_METADATA.json.