界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

go_explore_archive_selection_update

go_explore_archive_selection_update

【数据与研究】Maintain and sample Go-Explore archive entries using score, length, and exploration metadata.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: go_explore_archive_selection_update description: Maintain and sample Go-Explore archive entries using score, length, and exploration metadata.

Go-Explore Archive Selection and Update

Use this skill when implementing Phase 1 archive mechanics for Go-Explore-style exploration. It owns insertion, replacement, and deterministic sampling of archive cells. Do not use it for cell encoding or environment stepping.

Inputs

  • A candidate trajectory record with cell_key, state, actions, score, and optional length.
  • An archive dictionary keyed by encoded cells.
  • Optional seeded random generator and selection settings.

Outputs

  • An updated archive entry when the candidate is new or improves an existing entry.
  • A selected archive entry for return-then-explore.

Workflow

  1. Insert candidates for unseen cells.
  2. Replace existing entries only if the candidate has higher cumulative score or equal score with a shorter trajectory.
  3. Track update and selection counts for auditability.
  4. Sample cells with a deterministic seeded weighted rule that favors high score and low selection count.
  5. Return both the selected key and entry so recovery logs can prove which frontier was explored.

Validation

Run python tests/test_archive.py or validate with validate_skill_tree.py --run-tests.

Limitations

This skill intentionally keeps the weighting simple for bounded recovery. Full Atari-scale Go-Explore can use richer weights, but the replacement invariant should remain the same.

我的收藏