Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: TypeError
Message: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1539, in _prepare_split_single
for key, record in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 131, in _generate_examples
for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
for filename, f in tar_iterator:
^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
for x in self.generator(*self.args):
~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1419, in _iter_from_urlpath
with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 976, in xopen
file_obj = fs.open(paths[0], mode)
File "<string>", line 3, in open
File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
return self._mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
return self._execute_mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
result = effect(*args, **kwargs)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 794, in wrapped
tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
~~~^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, 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 956, 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 1401, 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 1579, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
png image | json dict | __key__ string | __url__ string |
|---|---|---|---|
{
"scene": {
"scene": "train_000000",
"spec": {
"seed": 1,
"split": "train",
"style": 1,
"family": "jam",
"s_db": 13,
"jammers": [
{
"kind": "comb",
"level_db": 14.96,
"params": {
"lo": null,
"hi": null,
... | train_000000 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000001",
"spec": {
"seed": 2,
"split": "train",
"style": 2,
"family": "jam",
"s_db": 9,
"jammers": [
{
"kind": "partial",
"level_db": 3.11,
"params": {
"lo": 4.8,
"hi": 16.8,
... | train_000001 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000002",
"spec": {
"seed": 3,
"split": "train",
"style": 3,
"family": "jam",
"s_db": 14,
"jammers": [
{
"kind": "partial",
"level_db": -2.2,
"params": {
"lo": 0.4,
"hi": 16.4,
... | train_000002 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000003",
"spec": {
"seed": 4,
"split": "train",
"style": 0,
"family": "coex",
"s_db": 18,
"jammers": [],
"pus": [
{
"kind": "pu_markov",
"level_db": 1.21,
"ch": 8,
"params": {
"c"... | train_000003 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000004",
"spec": {
"seed": 5,
"split": "train",
"style": 1,
"family": "coex",
"s_db": 16,
"jammers": [],
"pus": [
{
"kind": "pu_periodic",
"level_db": 4.29,
"ch": 4,
"params": {
"... | train_000004 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000005",
"spec": {
"seed": 6,
"split": "train",
"style": 2,
"family": "jam",
"s_db": 18,
"jammers": [
{
"kind": "random",
"level_db": 10.82,
"params": {
"lo": null,
"hi": null,
... | train_000005 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000006",
"spec": {
"seed": 7,
"split": "train",
"style": 3,
"family": "jam",
"s_db": 17,
"jammers": [
{
"kind": "pulse",
"level_db": 5.11,
"params": {
"lo": 1.8,
"hi": 13.8,
... | train_000006 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000007",
"spec": {
"seed": 8,
"split": "train",
"style": 0,
"family": "jam",
"s_db": 12,
"jammers": [
{
"kind": "comb",
"level_db": 14.34,
"params": {
"lo": null,
"hi": null,
... | train_000007 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000008",
"spec": {
"seed": 9,
"split": "train",
"style": 1,
"family": "coex",
"s_db": 13,
"jammers": [
{
"kind": "random",
"level_db": -3.37,
"params": {
"lo": null,
"hi": null,
... | train_000008 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000009",
"spec": {
"seed": 10,
"split": "train",
"style": 2,
"family": "coex",
"s_db": 15,
"jammers": [],
"pus": [
{
"kind": "pu_periodic",
"level_db": 2.24,
"ch": 7,
"params": {
... | train_000009 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000010",
"spec": {
"seed": 11,
"split": "train",
"style": 3,
"family": "jam",
"s_db": 12,
"jammers": [
{
"kind": "barrage",
"level_db": -11.48,
"params": {
"lo": null,
"hi": null,
... | train_000010 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000011",
"spec": {
"seed": 12,
"split": "train",
"style": 0,
"family": "jam",
"s_db": 17,
"jammers": [
{
"kind": "comb",
"level_db": 13.95,
"params": {
"lo": null,
"hi": null,
... | train_000011 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000012",
"spec": {
"seed": 13,
"split": "train",
"style": 1,
"family": "coex",
"s_db": 12,
"jammers": [
{
"kind": "comb",
"level_db": 21.2,
"params": {
"lo": null,
"hi": null,
... | train_000012 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000013",
"spec": {
"seed": 14,
"split": "train",
"style": 2,
"family": "coex",
"s_db": 16,
"jammers": [
{
"kind": "random",
"level_db": -3.41,
"params": {
"lo": null,
"hi": null,
... | train_000013 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000014",
"spec": {
"seed": 15,
"split": "train",
"style": 3,
"family": "jam",
"s_db": 10,
"jammers": [
{
"kind": "comb",
"level_db": 17.72,
"params": {
"lo": null,
"hi": null,
... | train_000014 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000015",
"spec": {
"seed": 16,
"split": "train",
"style": 0,
"family": "jam",
"s_db": 17,
"jammers": [
{
"kind": "sweep",
"level_db": 16.87,
"params": {
"lo": null,
"hi": null,
... | train_000015 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000016",
"spec": {
"seed": 17,
"split": "train",
"style": 1,
"family": "coex",
"s_db": 14,
"jammers": [],
"pus": [
{
"kind": "pu_periodic",
"level_db": 5.52,
"ch": 4,
"params": {
... | train_000016 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000017",
"spec": {
"seed": 18,
"split": "train",
"style": 2,
"family": "jam",
"s_db": 18,
"jammers": [
{
"kind": "spot",
"level_db": 7.89,
"params": {
"lo": null,
"hi": null,
... | train_000017 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000018",
"spec": {
"seed": 19,
"split": "train",
"style": 3,
"family": "jam",
"s_db": 11,
"jammers": [
{
"kind": "pulse",
"level_db": 20.62,
"params": {
"lo": 1,
"hi": 5,
... | train_000018 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000019",
"spec": {
"seed": 20,
"split": "train",
"style": 0,
"family": "jam",
"s_db": 18,
"jammers": [
{
"kind": "comb",
"level_db": 19.8,
"params": {
"lo": null,
"hi": null,
... | train_000019 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar | |
{
"scene": {
"scene": "train_000020",
"spec": {
"seed": 21,
"split": "train",
"style": 1,
"family": "coex",
"s_db": 18,
"jammers": [
{
"kind": "pulse",
"level_db": 24.08,
"params": {
"lo": 5.6,
"hi": 17.6,
... | train_000020 | hf://datasets/danzonghao/JamPivot@e107a4792185a68b01a078c5580ff83f97c531c9/data/train/train-00000.tar |

In a band shared with jammers and protected users, a radio link must keep choosing its channel and transmission mode. It sees the interferers in a spectrum waterfall, but the constraints that decide the best action (the required rate, the power budget, the switching cost and the users to spare) vary between deployments and do not appear in the waterfall. Each JamPivot scene is one such decision: a two-panel waterfall image, the constraints as text, and typed questions whose options are executable actions, labelled by the one-step Bayes oracle.
JamPivot is the benchmark of SpecOne; the training and inference code is at github.com/dan-zong-hao/SpecOne.
At a glance

- 48,000 scenes: 40,000 training scenes (the last 600 are a monitoring set) and 8,000 test scenes, plus the 15,994 scenes of 7,997 training contrast pairs.
- Eleven interferer categories: spot, comb, partial-band, barrage, pulsed, sweep, random hop, tracking, reactive, two jammers, and coexistence with protected users. Jamming scenes (70%) hold one jammer or, in a quarter of them, two; coexistence scenes (30%) hold one or two protected users, half of them with a jammer.
- Four typed questions per scene: chan (which of 9 channels), mode (normal, boost, spread4, spread16, mute, asked on a chosen channel), feas (is the link feasible) and the auxiliary type (which jammer).
- Oracle labels: every scene stores the expected utility of all 45 channel–mode actions over the next slot under the known interferer laws (random hops and Markov users averaged over 32 rollouts), from which the optimal sets, the one-hot targets and the utility-soft targets (τ = 0.05) are derived.
| Split | Scenes | Question rows | Shards | Purpose |
|---|---|---|---|---|
train |
40,000 | 148,187 | 40 | training (scenes 39,400–39,999: monitoring only) |
pair_train |
15,994 | 59,393 | 16 | both scenes of 7,997 training contrast pairs |
test_id |
3,000 | 11,085 | 3 | in-distribution test |
ood_combo |
1,000 | 4,000 | 1 | three jammer pairs never seen in training |
ood_style |
1,000 | 3,711 | 1 | a held-out phrasing of the constraints |
pair_test |
3,000 | 11,160 | 3 | 1,500 test contrast pairs: one edit of the text, the image or the role changes the best action |
Files
data/<split>/<split>-NNNNN.tar WebDataset shards, 1,000 scenes each: <scene>.png and <scene>.json
rows_<split>.jsonl one row per question, in OneJev's row format
scenes_<split>.jsonl one record per scene: generator spec, utility table, feasibility, jammer type
pairs_pair_train.jsonl, pairs_pair_test.jsonl contrast pairs: pair id, edit kind, scene a, scene b
train_softpairs.jsonl, dev.jsonl the exact SpecOne training and monitoring files (specone/build_train.py)
build_summary.json generator settings
In the shards, <scene>.png is the 400 × 530 waterfall and <scene>.json is {"scene": <scene record>, "rows": [<its question rows>]}, so the Hugging Face viewer and datasets can stream image and labels together.
Row and scene record fields
A row (rows_<split>.jsonl, also inside each <scene>.json):
| Field | Content |
|---|---|
id |
<scene>-chan, -mode, -feas or -type |
task |
chan, mode, feas or type |
state |
the text state: waterfall layout, our link, link budget, rate requirement, power boost, channel switch cost, protected users; mode rows add chosen channel |
question |
instructions and the lettered options (criteria) |
target |
uniform distribution over the optimal options |
target_soft |
utility-soft distribution, τ = 0.05 |
media |
path of the waterfall image, media/<split>/<scene>.png |
meta |
scene id, family (jam / coex), split, phrasing style, jammer type, optimal options; mode rows: the channel asked on |
A scene record (scenes_<split>.jsonl):
| Field | Content |
|---|---|
spec |
seed, family, our SNR, jammers (kind, J/S, parameters), protected users, switching cost, boost, rate floor, guard band |
f_prev |
our current channel (0-based) |
utility |
9 × 5 expected utility of every channel–mode action, null where the action is excluded |
success, violation |
expected share of successful milliseconds per action; probability of hitting a protected user per channel |
feasible, jam_type |
the feasibility label; the jammer type (multiple for two jammers, null for coexistence) |
Usage
With the SpecOne code (it expects DATA/rows_<split>.jsonl and DATA/media/<split>/<scene>.png):
hf download danzonghao/JamPivot --repo-type dataset --local-dir JamPivot
cd JamPivot
for f in data/*/*.tar; do s=$(basename "$(dirname "$f")"); mkdir -p media/$s; tar -xf "$f" -C media/$s --wildcards '*.png'; done
With datasets (streams images and labels):
from datasets import load_dataset
ds = load_dataset("danzonghao/JamPivot", split="test_id", streaming=True)
ex = next(iter(ds))
ex["png"] # PIL image of the waterfall
ex["json"]["rows"] # the scene's question rows
License
CC BY 4.0. All waterfalls are generated by the JamPivot simulator. The setting and four of the jammers follow Liu et al., "Anti-jamming communications using spectrum waterfall: a deep reinforcement learning approach", IEEE Commun. Lett., 2018; the reactive jammer follows Li et al., arXiv 2502.02385.
Citation
The paper is under review; the BibTeX entry will be added here once it is published.
- Downloads last month
- 44