Skip to content
Back to skills

Datasets And Mcts

ASecurity

"Work with DeTikZify dataset helpers, local dataset fallbacks,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolspythonbashnoderailsapi

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill datasets-and-mcts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Datasets And Mcts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Datasets And Mcts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-datasets-and-mcts/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-datasets-and-mcts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: datasets-and-mcts
description: "Work with DeTikZify dataset helpers, local dataset fallbacks,
  Paper2Fig and SciCap builders, and the generic Monte Carlo tree-search
  engine."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Datasets and MCTS

Use this sub-skill when the task is about DeTikZify's dataset helpers, local dataset fallback behavior, Paper2Fig or SciCap builders, or the standalone `Node` / `MonteCarlo` tree-search engine.

Route away from this sub-skill when the main task is programmatic inference, training, or evaluation scoring. Those workflows depend on these helpers, but they have their own dedicated sub-skills.

## Fast Path

1. Run the safe MCTS helper if you only need to confirm the search engine imports correctly:
   ```bash
   python scripts/mcts_smoke.py
   ```
2. Check the API snapshot if you need the loader and tree-search signatures:
   ```bash
   python scripts/api_smoke.py
   ```
3. Read the data reference before using the dataset builders:
   ```text
   references/data-and-mcts.md
   ```

## What This Sub-Skill Owns

- `detikzify.dataset.load_dataset(...)` and its local fallback behavior
- the `Paper2Fig` and `SciCap` dataset builders
- dataset feature shapes and field expectations for the figure datasets
- the generic `Node` and `MonteCarlo` classes from `detikzify.mcts`
- tree-search behavior such as `simulate`, `expand`, `random_rollout`, `make_choice`, and `make_exploratory_choice`

## Common Decisions

- Use the local dataset fallback when a package-relative dataset directory is present.
- Use the dataset builder references to understand feature names before trying a conversion or load.
- Use `Node` / `MonteCarlo` when you need generic search behavior rather than the inference-specific wrapped tree used by the pipeline.
- Keep the state object compatible with the tree-printing helpers if you want debug output.

## Bundled References

- [references/data-and-mcts.md](references/data-and-mcts.md): dataset builder fields, local fallback behavior, and tree-search semantics.
- [references/workflows.md](references/workflows.md): how the dataset loaders and generic MCTS engine are typically used.
- [references/troubleshooting.md](references/troubleshooting.md): missing local datasets, empty child lists, and state-shape issues.

## Related Helpers

- [../../scripts/mcts_smoke.py](../../scripts/mcts_smoke.py): safe dummy-state MCTS sanity check.
- [../../scripts/api_smoke.py](../../scripts/api_smoke.py): safe import and signature snapshot.

## Guardrails

- Do not treat a successful dataset import as proof that the remote dataset or its artifacts are reachable.
- Do not assume the generic `Node` state shape matches the inference pipeline's wrapped internal state.
- Do not call the generic search engine a success if `child_finder` never adds children.

Files in this skill

  • SKILL.md2.8 KB
  • references/data-and-mcts.md1.5 KB
  • references/troubleshooting.md830 B
  • references/workflows.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.