Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 2 new columns ({'metric', 'value'}) and 15 missing columns ({'matched_rule', 'step', 'gold_strength', 'direction_correct', 'pred_strength', 'pred_source', 'pred_supports_forward', 'gold_source', 'strength_abs_error', 'pred_source_weight', 'gold_source_weight', 'notes', 'source_weight_abs_error', 'scenario_id', 'gold_supports_forward'}).

This happened while the csv dataset builder was generating data using

hf://datasets/CHML-real/tbg-cot-bench/results/converter_eval_summary.csv (at revision 80d6672c3d03a8a0c9be632f7a001befa39d8e8b), ['hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/converter_eval.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/converter_eval_summary.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/cumulative_v4_eval.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/cumulative_v4_eval_summary.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/ollama_eval.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/ollama_eval_summary.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/order_v3_eval.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/order_v3_eval_summary.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/stepwise_ollama_eval.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/stepwise_ollama_eval_summary.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              metric: string
              value: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 500
              to
              {'scenario_id': Value('string'), 'step': Value('int64'), 'gold_supports_forward': Value('bool'), 'pred_supports_forward': Value('bool'), 'direction_correct': Value('bool'), 'gold_strength': Value('float64'), 'pred_strength': Value('float64'), 'strength_abs_error': Value('float64'), 'gold_source': Value('string'), 'pred_source': Value('string'), 'gold_source_weight': Value('float64'), 'pred_source_weight': Value('float64'), 'source_weight_abs_error': Value('float64'), 'matched_rule': Value('string'), 'notes': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 2 new columns ({'metric', 'value'}) and 15 missing columns ({'matched_rule', 'step', 'gold_strength', 'direction_correct', 'pred_strength', 'pred_source', 'pred_supports_forward', 'gold_source', 'strength_abs_error', 'pred_source_weight', 'gold_source_weight', 'notes', 'source_weight_abs_error', 'scenario_id', 'gold_supports_forward'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/CHML-real/tbg-cot-bench/results/converter_eval_summary.csv (at revision 80d6672c3d03a8a0c9be632f7a001befa39d8e8b), ['hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/converter_eval.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/converter_eval_summary.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/cumulative_v4_eval.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/cumulative_v4_eval_summary.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/ollama_eval.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/ollama_eval_summary.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/order_v3_eval.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/order_v3_eval_summary.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/stepwise_ollama_eval.csv', 'hf://datasets/CHML-real/tbg-cot-bench@80d6672c3d03a8a0c9be632f7a001befa39d8e8b/results/stepwise_ollama_eval_summary.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

scenario_id
string
step
int64
gold_supports_forward
bool
pred_supports_forward
bool
direction_correct
bool
gold_strength
float64
pred_strength
float64
strength_abs_error
float64
gold_source
string
pred_source
string
gold_source_weight
float64
pred_source_weight
float64
source_weight_abs_error
float64
matched_rule
string
notes
string
SC01
1
true
null
false
0.85
0.5
0.35
factual
factual
1.3
1.3
0
ambiguous
ambiguous_direction_manual_review
SC01
2
true
null
false
0.9
0.5
0.4
scientific
scientific
1.4
1.45
0.05
ambiguous
ambiguous_direction_manual_review
SC01
3
true
true
true
0.75
0.55
0.2
testimony
testimony
1
1
0
lexical_forward_fallback
null
SC01
4
true
true
true
0.7
0.55
0.15
inference
inference
1.1
0.9
0.2
lexical_forward_fallback
null
SC01
5
true
true
true
0.9
0.66
0.24
inference
inference
1.2
0.9
0.3
lexical_forward_fallback
null
SC02
1
true
true
true
0.65
0.55
0.1
factual
factual
0.9
1.3
0.4
lexical_forward_fallback
null
SC02
2
true
null
false
0.75
0.55
0.2
factual
factual
1.1
1.3
0.2
ambiguous
ambiguous_direction_manual_review
SC02
3
false
false
true
0.8
0.62
0.18
factual
general
1.3
0.8
0.5
timestamp_near_event_b
null
SC02
4
false
false
true
0.85
0.8
0.05
factual
general
1.2
0.8
0.4
event_order_before
null
SC02
5
false
false
true
0.7
0.385
0.315
inference
speculative
1
0.6
0.4
lexical_backward_fallback
null
SC03
1
true
null
false
0.7
0.5
0.2
factual
factual
1.2
1.3
0.1
ambiguous
ambiguous_direction_manual_review
SC03
2
false
null
false
0.6
0.4
0.2
speculative
inference
0.7
0.9
0.2
ambiguous
ambiguous_direction_manual_review
SC03
3
true
null
false
0.8
0.5
0.3
factual
factual
1.3
1.3
0
ambiguous
ambiguous_direction_manual_review
SC03
4
true
false
false
0.55
0.55
0
academic
testimony
0.8
1
0.2
lexical_backward_fallback
null
SC03
5
true
true
true
0.75
0.55
0.2
academic
academic
1.1
1.3
0.2
lexical_forward_fallback
null
SC04
1
true
true
true
0.5
0.7
0.2
assumption
assumption
0.5
0.5
0
symbolic_a_before_b
null
SC04
2
false
false
true
0.8
0.8
0
testimony
testimony
1.3
1
0.3
event_order_before
null
SC04
3
false
null
false
0.85
0.5
0.35
scientific
factual
1.4
1.3
0.1
ambiguous
ambiguous_direction_manual_review
SC04
4
false
null
false
0.9
0.5
0.4
factual
factual
1.3
1.3
0
ambiguous
ambiguous_direction_manual_review
SC04
5
false
false
true
0.85
0.8
0.05
inference
inference
1.2
0.9
0.3
event_order_before
null
SC05
1
true
null
false
0.7
0.5
0.2
legal
factual
1.1
1.3
0.2
ambiguous
ambiguous_direction_manual_review
SC05
2
false
false
true
0.75
0.62
0.13
factual
general
1
0.8
0.2
timestamp_near_event_b
null
SC05
3
true
true
true
0.65
0.7
0.05
legal
general
1.2
0.8
0.4
ip_prior_art
null
SC05
4
true
null
false
0.4
0.325
0.075
inference
general
0.6
0.8
0.2
ambiguous
ambiguous_direction_manual_review
SC05
5
true
true
true
0.8
0.7
0.1
legal
factual
1.3
1.3
0
ip_prior_art
null
SC05
6
false
false
true
0.7
0.7
0
legal
legal
1
1.3
0.3
ip_public_disclosure
null
SC06
1
true
true
true
0.6
0.62
0.02
factual
general
1
0.8
0.2
timestamp_near_event_a
null
SC06
2
false
true
false
0.85
0.55
0.3
factual
factual
1.3
1.3
0
lexical_forward_fallback
null
SC06
3
false
false
true
0.9
0.95
0.05
inference
general
1.4
0.8
0.6
event_order_before
null
SC06
4
false
null
false
0.65
0.35
0.3
testimony
inference
0.9
0.9
0
ambiguous
ambiguous_direction_manual_review
SC06
5
true
null
false
0.35
0.5
0.15
inference
general
0.5
0.8
0.3
ambiguous
ambiguous_direction_manual_review
SC07
1
true
true
true
0.85
0.8
0.05
factual
factual
1.5
1.3
0.2
event_order_before
null
SC07
2
true
true
true
0.8
0.88
0.08
factual
inference
1.3
0.9
0.4
event_order_after
null
SC07
3
true
false
false
0.75
0.8
0.05
factual
factual
1.2
1.3
0.1
event_order_before
null
SC07
4
false
null
false
0.4
0.275
0.125
speculative
speculative
0.5
0.6
0.1
ambiguous
ambiguous_direction_manual_review
SC07
5
true
null
false
0.9
0.5
0.4
factual
factual
1.5
1.3
0.2
ambiguous
ambiguous_direction_manual_review
SC08
1
true
true
true
0.65
0.8
0.15
testimony
testimony
0.9
1
0.1
event_order_before
null
SC08
2
false
false
true
0.9
0.8
0.1
scientific
scientific
1.5
1.45
0.05
event_order_after
null
SC08
3
false
null
false
0.8
0.5
0.3
factual
factual
1.3
1.3
0
ambiguous
ambiguous_direction_manual_review
SC08
4
false
false
true
0.7
0.385
0.315
inference
testimony
1.1
1
0.1
lexical_backward_fallback
null
SC08
5
false
false
true
0.85
0.55
0.3
academic
academic
1.4
1.3
0.1
lexical_backward_fallback
null
SC09
1
true
true
true
0.65
0.62
0.03
factual
factual
1.1
1.3
0.2
timestamp_near_event_a
null
SC09
2
false
false
true
0.65
0.7
0.05
factual
factual
1.1
1.3
0.2
audit_preexisting
null
SC09
3
false
false
true
0.6
0.7
0.1
inference
inference
1
0.9
0.1
audit_preexisting
null
SC09
4
true
true
true
0.6
0.88
0.28
factual
general
1
0.8
0.2
event_order_after
null
SC09
5
true
null
false
0.3
0.5
0.2
inference
general
0.6
0.8
0.2
ambiguous
ambiguous_direction_manual_review
SC10
1
true
true
true
0.8
0.682
0.118
academic
academic
1.3
1.3
0
timestamp_near_event_a
null
SC10
2
false
null
false
0.7
0.5
0.2
legal
legal
1
1.3
0.3
ambiguous
ambiguous_direction_manual_review
SC10
3
true
true
true
0.75
0.62
0.13
legal
legal
1.2
1.3
0.1
timestamp_near_event_a
null
SC10
4
false
true
false
0.55
0.465
0.085
speculative
factual
0.7
1.3
0.6
timestamp_near_event_a
null
SC10
5
true
null
false
0.85
0.6
0.25
academic
academic
1.4
1.3
0.1
ambiguous
ambiguous_direction_manual_review
SC10
6
true
true
true
0.9
0.62
0.28
legal
general
1.3
0.8
0.5
timestamp_near_event_a
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
SC01
1
null
null
null
null
null
null
null
null
null
null
null
null
null
SC01
2
null
null
null
null
null
null
null
null
null
null
null
null
null
SC01
3
null
null
null
null
null
null
null
null
null
null
null
null
null
SC01
4
null
null
null
null
null
null
null
null
null
null
null
null
null
SC01
5
null
null
null
null
null
null
null
null
null
null
null
null
null
SC02
1
null
null
null
null
null
null
null
null
null
null
null
null
null
SC02
2
null
null
null
null
null
null
null
null
null
null
null
null
null
SC02
3
null
null
null
null
null
null
null
null
null
null
null
null
null
SC02
4
null
null
null
null
null
null
null
null
null
null
null
null
null
SC02
5
null
null
null
null
null
null
null
null
null
null
null
null
null
SC03
1
null
null
null
null
null
null
null
null
null
null
null
null
null
SC03
2
null
null
null
null
null
null
null
null
null
null
null
null
null
SC03
3
null
null
null
null
null
null
null
null
null
null
null
null
null
SC03
4
null
null
null
null
null
null
null
null
null
null
null
null
null
SC03
5
null
null
null
null
null
null
null
null
null
null
null
null
null
SC04
1
null
null
null
null
null
null
null
null
null
null
null
null
null
SC04
2
null
null
null
null
null
null
null
null
null
null
null
null
null
SC04
3
null
null
null
null
null
null
null
null
null
null
null
null
null
SC04
4
null
null
null
null
null
null
null
null
null
null
null
null
null
SC04
5
null
null
null
null
null
null
null
null
null
null
null
null
null
SC05
1
null
null
null
null
null
null
null
null
null
null
null
null
null
SC05
2
null
null
null
null
null
null
null
null
null
null
null
null
null
SC05
3
null
null
null
null
null
null
null
null
null
null
null
null
null
SC05
4
null
null
null
null
null
null
null
null
null
null
null
null
null
SC05
5
null
null
null
null
null
null
null
null
null
null
null
null
null
SC05
6
null
null
null
null
null
null
null
null
null
null
null
null
null
SC06
1
null
null
null
null
null
null
null
null
null
null
null
null
null
SC06
2
null
null
null
null
null
null
null
null
null
null
null
null
null
SC06
3
null
null
null
null
null
null
null
null
null
null
null
null
null
SC06
4
null
null
null
null
null
null
null
null
null
null
null
null
null
SC06
5
null
null
null
null
null
null
null
null
null
null
null
null
null
SC07
1
null
null
null
null
null
null
null
null
null
null
null
null
null
SC07
2
null
null
null
null
null
null
null
null
null
null
null
null
null
SC07
3
null
null
null
null
null
null
null
null
null
null
null
null
null
SC07
4
null
null
null
null
null
null
null
null
null
null
null
null
null
SC07
5
null
null
null
null
null
null
null
null
null
null
null
null
null
SC08
1
null
null
null
null
null
null
null
null
null
null
null
null
null
SC08
2
null
null
null
null
null
null
null
null
null
null
null
null
null
SC08
3
null
null
null
null
null
null
null
null
null
null
null
null
null
SC08
4
null
null
null
null
null
null
null
null
null
null
null
null
null
SC08
5
null
null
null
null
null
null
null
null
null
null
null
null
null
SC09
1
null
null
null
null
null
null
null
null
null
null
null
null
null
SC09
2
null
null
null
null
null
null
null
null
null
null
null
null
null
SC09
3
null
null
null
null
null
null
null
null
null
null
null
null
null
End of preview.

TBG-CoT-Bench

TBG-CoT-Bench is a local application benchmark for testing temporal belief tracking over Chain-of-Thought-style evidence sequences.

The benchmark evaluates whether a system can track belief about the temporal claim:

Event A occurred before Event B.

This repository contains synthetic temporal reasoning scenarios, rule-based baselines, local EXAONE/Ollama experiments, trajectory visualizations, generated reports, and pytest-based application benchmark checks.


Current Status

Application benchmark tests: 13 passed
Best current method: EXAONE step-wise evidence v2.1

The current best local method is EXAONE step-wise evidence extraction v2.1, which achieved stronger direction accuracy than the rule-based converter baseline while maintaining high structured-output parse stability.


Main Results

Method Parse success rate Direction accuracy Notes
Rule-based baseline converter N/A 0.5769 Deterministic converter using hand-written extraction rules.
EXAONE scenario-level CoT Low / unstable 0.4615 on parsed steps Full-scenario prompting produced frequent JSON parse failures.
EXAONE step-wise evidence v2.1 0.9615 0.6600 Best current local method; 50 / 52 steps parsed.
EXAONE order-classification v3 0.6154 Unstable High UNCLEAR collapse; directional accuracy is not directly comparable due to few directional parses.
EXAONE cumulative belief v4 0.4423 Weak trajectory agreement Conceptually close to belief tracking but less stable in the local setup.

Main interpretation: step-wise structured evidence extraction is currently the most reliable local architecture for converting CoT-style temporal evidence into belief trajectories.


Key Visualizations

Stepwise EXAONE/Ollama vs Baseline

Stepwise vs Baseline Accuracy

Stepwise Parse Success

Stepwise Parse Success

Gold Belief Trajectories

Gold Trajectories

Stepwise EXAONE/Ollama Trajectories

Stepwise Ollama Trajectories


Scenario-Level Visualizations

Scenario Stepwise trajectory comparison
Scenario 01
Scenario 02
Scenario 03
Scenario 04
Scenario 05
Scenario 06
Scenario 07
Scenario 08
Scenario 09
Scenario 10

What This Repository Tests

This repository is an application-level benchmark / usage test, not a full internal unit test suite for the upstream temporal-belief-graph package.

It tests the following workflow:

scenario JSON
β†’ evidence extraction
β†’ structured parsing
β†’ temporal belief trajectory update
β†’ evaluation
β†’ visualization
β†’ report generation
β†’ pytest validation

The goal is to check whether temporal evidence can be converted into a belief trajectory over the probability that Event A occurred before Event B.


Compared Methods

The benchmark currently compares:

  1. Rule-based baseline converter
    A deterministic evidence converter using simple extraction rules.

  2. EXAONE scenario-level CoT
    The model receives a full scenario and returns all step judgments at once.

  3. EXAONE step-wise evidence v2.1
    The model receives one evidence item at a time and returns a structured judgment.

  4. EXAONE order-classification v3
    The model chooses between A_BEFORE_B, B_BEFORE_A, and UNCLEAR.

  5. EXAONE cumulative belief v4
    The model receives cumulative evidence and directly estimates the current temporal conclusion.


Dataset Contents

Directory Description
scenarios/ Ten synthetic temporal belief tracking scenarios.
results/ Evaluation outputs, parsed evidence tables, trajectory CSVs, and summary metrics.
figures/ Static visualizations comparing gold trajectories, baseline conversion, and EXAONE/Ollama outputs.
notebooks/ Notebook for inspecting results and reproducing visualizations.
reports/ Markdown experiment report generated from local evaluation outputs.
scripts/ Evaluation, parsing, plotting, and local experiment scripts.
tests/ Application-level usage tests validating expected benchmark files and outputs.

Main Result Files

File Description
results/converter_eval_summary.csv Baseline converter summary metrics.
results/stepwise_ollama_eval_summary.csv Stepwise EXAONE/Ollama evaluation summary.
results/stepwise_ollama_scenario_summary.csv Scenario-level stepwise evaluation results.
results/order_v3_eval_summary.csv Order-sensitive extraction evaluation summary.
results/cumulative_v4_eval_summary.csv Cumulative belief prediction evaluation summary.
results/trajectories_gold.csv Gold belief trajectories.
results/trajectories_auto.csv Rule-based baseline trajectories.
results/trajectories_stepwise_ollama.csv Stepwise EXAONE/Ollama belief trajectories.
results/ollama_stepwise_evidence_raw.jsonl Raw stepwise model outputs.
reports/tbg_cot_experiment_report.md Generated markdown experiment report.

Repository Structure

tbg-cot-bench/
β”œβ”€β”€ scenarios/              # Temporal reasoning benchmark scenarios
β”œβ”€β”€ scripts/                # Experiment, evaluation, visualization, and report scripts
β”œβ”€β”€ results/                # CSV and JSONL experiment outputs
β”œβ”€β”€ figures/                # Generated plots and comparison figures
β”œβ”€β”€ notebooks/              # Result inspection notebook
β”œβ”€β”€ reports/                # Markdown experiment reports
β”œβ”€β”€ tests/                  # Application-level benchmark tests
β”œβ”€β”€ pytest.ini
β”œβ”€β”€ README.md
└── DATASET_CARD.md

Notebook

The main inspection notebook is available here:

notebooks/tbg_cot_tracking.ipynb

It can be used to inspect scenario files, load result CSVs, and reproduce trajectory-level visualizations.


Requirements

This project was tested locally with:

Ubuntu 22.04
Python virtual environment
Ollama
EXAONE local GGUF model via Ollama
pytest
matplotlib

Install basic Python dependencies:

pip install -r requirements.txt

Ollama should already have a local model registered, for example:

ollama list

Expected model name used in scripts:

exaone-local

Running the Benchmark

Activate the virtual environment from the project root:

cd ~/Desktop/CHMLabs/tbg-cot-bench-local-experiment
source ../venv/bin/activate

Run the current best EXAONE step-wise pipeline:

OLLAMA_MODEL=exaone-local bash scripts/run_stepwise_v21_pipeline.sh

Generate the experiment report:

python scripts/generate_experiment_report.py

Run application benchmark tests:

pytest

Expected result:

13 passed

Testing

The test suite validates the benchmark as a reproducible application-level experiment.

It checks:

- scenario file structure
- required result files
- step-wise v2.1 performance against the baseline
- trajectory probability bounds
- report generation

Run:

pytest

Current validated result:

13 passed

Interpretation

The experiments suggest the following:

  1. Scenario-level CoT prompting is unstable for local EXAONE in this setup.
  2. Step-wise evidence extraction improves structured-output reliability.
  3. Order classification can collapse into UNCLEAR.
  4. Cumulative prompting can overload the local model and reduce parse stability.
  5. The most reliable current architecture is modular:
evidence extraction
β†’ structured parsing
β†’ belief update
β†’ trajectory evaluation

Recommended Next Steps

Planned next steps:

1. Freeze EXAONE step-wise v2.1 as the current best local method.
2. Expand scenarios with harder reversal and noisy convergence cases.
3. Add optional integration tests against the upstream temporal-belief-graph package.
4. Add a lightweight Hugging Face Space only if an interactive demo becomes necessary.
5. Package a stable release after scenario expansion.

License

This dataset and its generated benchmark artifacts are released under CC-BY-NC-4.0 unless otherwise specified.

The accompanying code may be relicensed separately depending on release intent.

Recommended code-side options:

Apache-2.0 for research/tooling openness
AGPL-3.0 for stronger defensive sharing requirements

Author

Created and maintained by CHML-real.

GitHub:

https://github.com/CHML-real
Downloads last month
-