Datasets:
Tasks:
Feature Extraction
Formats:
csv
Size:
1K - 10K
Tags:
graph-theory
graph-isomorphism
color-refinement
weisfeiler-lehman
structural-invariants
graph-kernels
License:
datatables: índice experimentos (todos los freezes) como config default
Browse files- data/experimentos.csv: 3475 filas, una por hoja de los 39 freezes de resultados/
(experiment, source, path, type, value); claves con . [ ] escapadas y
contenedores vacíos emitidos como hoja → round-trip exacto de los 39 JSON.
- README: config experimentos con default: true + fila en la tabla + uso sin args.
- Las 3 configs previas (ley_t4, clasificacion, verificaciones) se regeneran igual.
Files changed (3)
22 unmodified lines23242526272831 unmodified lines6061626364653 unmodified lines69707172737422 unmodified linesthumbnail: assets/banner.pngdoi: 10.5281/zenodo.22747350configs:- config_name: ley_t4data_files:- split: train31 unmodified lines| config | rows | what it is | source ||---|---|---|---|| `ley_t4` | 34 | the sweep of 17 count-compressions × 2 involutions (EXP-102): `VIVE`/`MUERE`, violations, counterexample witness, and `compatible` — the second hypothesis, refuted by the table | `resultados/EXP-102_results_frozen.json` || `clasificacion` | 6 | the six involutions classified on the atlas (EXP-105): `trivial` / `dual` / `local` with the formal conditions (well-defined, injective, `g = id`) | `resultados/EXP-105_results_frozen.json` || `verificaciones` | 19 | the V1–V19 verification suite with the exact asserted numbers — every headline number of the paper is anchored here | this README, §7 / §7c |3 unmodified lines```pythonfrom datasets import load_datasetley = load_dataset("Jose-dev/graphkind-universos", "ley_t4")["train"] # 34 universesclas = load_dataset("Jose-dev/graphkind-universos", "clasificacion")["train"] # 6 involutionsverif = load_dataset("Jose-dev/graphkind-universos", "verificaciones")["train"] # 19 certificates22 unmodified lines232425262728293031323331 unmodified lines656667686970713 unmodified lines7576777879808122 unmodified linesthumbnail: assets/banner.pngdoi: 10.5281/zenodo.22747350configs:- config_name: experimentosdata_files:- split: trainpath: data/experimentos.csvdefault: true- config_name: ley_t4data_files:- split: train31 unmodified lines| config | rows | what it is | source ||---|---|---|---|| `experimentos` *(default)* | every leaf | the flat index of **all** frozen results: one row per leaf value (empty containers included) with its JSON path — the machine-readable catalog, no curation | `resultados/**/*.json` || `ley_t4` | 34 | the sweep of 17 count-compressions × 2 involutions (EXP-102): `VIVE`/`MUERE`, violations, counterexample witness, and `compatible` — the second hypothesis, refuted by the table | `resultados/EXP-102_results_frozen.json` || `clasificacion` | 6 | the six involutions classified on the atlas (EXP-105): `trivial` / `dual` / `local` with the formal conditions (well-defined, injective, `g = id`) | `resultados/EXP-105_results_frozen.json` || `verificaciones` | 19 | the V1–V19 verification suite with the exact asserted numbers — every headline number of the paper is anchored here | this README, §7 / §7c |3 unmodified lines```pythonfrom datasets import load_datasettodo = load_dataset("Jose-dev/graphkind-universos")["train"] # default: experimentosley = load_dataset("Jose-dev/graphkind-universos", "ley_t4")["train"] # 34 universesclas = load_dataset("Jose-dev/graphkind-universos", "clasificacion")["train"] # 6 involutionsverif = load_dataset("Jose-dev/graphkind-universos", "verificaciones")["train"] # 19 certificates
4 unmodified lines567891061 unmodified lines72737475767778798081824 unmodified linesdata/ley-t4-exp102.csv <- resultados/EXP-102_results_frozen.json (34 universos)data/clasificacion-exp105.csv <- resultados/EXP-105_results_frozen.json (6 involuciones)data/verificaciones-v1-v19.csv <- tabla V1..V19 de README.mdUso: python3 tools/build_datatables.py"""61 unmodified lines[[f"V{i}", desc, esperado] for i, desc, esperado in rows])def main():DATA.mkdir(exist_ok=True)ley_t4()clasificacion()verificaciones()return 04 unmodified lines56789101161 unmodified lines7374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351364 unmodified linesdata/ley-t4-exp102.csv <- resultados/EXP-102_results_frozen.json (34 universos)data/clasificacion-exp105.csv <- resultados/EXP-105_results_frozen.json (6 involuciones)data/verificaciones-v1-v19.csv <- tabla V1..V19 de README.mddata/experimentos.csv <- todos los freezes de resultados/ (una fila por hoja)Uso: python3 tools/build_datatables.py"""61 unmodified lines[[f"V{i}", desc, esperado] for i, desc, esperado in rows])def _esc(clave):"""Escapa '.', '[' y ']' para que el path sea reconstruible sin ambigüedad."""for ch in ("\\", ".", "[", "]"):clave = clave.replace(ch, "\\" + ch)return clavedef _hojas(obj, prefijo=""):if isinstance(obj, dict):if not obj:yield prefijo, obj # contenedor vacío: se emite como hojareturnfor k in sorted(obj):hijo = f"{prefijo}.{_esc(str(k))}" if prefijo else _esc(str(k))yield from _hojas(obj[k], hijo)elif isinstance(obj, list):if not obj:yield prefijo, obj # contenedor vacío: se emite como hojareturnfor i, v in enumerate(obj):yield from _hojas(v, f"{prefijo}[{i}]")else:yield prefijo, objdef experimentos():"""Índice tabular de todos los freezes: una fila por hoja, sin curaduría.Recupera la función del catálogo data.jsonl original: un único archivotabular con todo lo congelado, consumible con load_dataset()."""fuentes = sorted((ROOT / "resultados").glob("*.json"))fuentes += sorted((ROOT / "resultados/atlas").glob("*.json"))assert len(fuentes) == 39, f"resultados: esperaba 39 freezes, hay {len(fuentes)}"rows = []for src in fuentes:rel = src.relative_to(ROOT).as_posix()stem = re.sub(r"_results", "", src.stem.replace("_frozen", ""))exp = f"ATLAS-{stem}" if rel.startswith("resultados/atlas/") else stemdata = json.loads(src.read_text(encoding="utf-8"))for ruta, valor in _hojas(data):if isinstance(valor, bool):texto = "true" if valor else "false"elif valor is None:texto = ""else:texto = str(valor)rows.append([exp, rel, ruta, type(valor).__name__, texto])write_csv(DATA / "experimentos.csv",["experiment", "source", "path", "type", "value"], rows)def main():DATA.mkdir(exist_ok=True)ley_t4()clasificacion()verificaciones()experimentos()return 0
README.md+7
data/experimentos.csvAdded
tools/build_datatables.py+54