Skip to content

DOC Correct YAML objective tag in dataset overview - #3265

Merged
Roman Lutz (romanlutz) merged 3 commits into
microsoft:mainfrom
feiiiiii5:codex/fix-seed-objective-yaml-doc
Oct 17, 2026
Merged

Roman Lutz (romanlutz) merged 3 commits into
microsoft:mainfrom
feiiiiii5:codex/fix-seed-objective-yaml-doc

Conversation

@feiiiiii5

Copy link
Copy Markdown
Contributor

Description

The dataset overview still recommends is_objective: true, which the current YAML loader rejects as an extra field. Use seed_type: objective and describe SeedDataset.objectives as a filtered property over seeds.

Tests and Documentation

Using Python 3.13.3, dependencies pinned to uv.lock, and the actual checkout's SeedDataset.from_yaml_file:

  • The old flag raises extra_forbidden at seeds.0.prompt.is_objective.
  • seed_type: objective loads a SeedObjective both per seed and as a dataset default. It retains local origin and is the same object in seeds and objectives.
  • git diff --check passes.

Only this Markdown paragraph changes. The full test suite, pre-commit suite, documentation build, and JupyText were not run.

@romanlutz
Roman Lutz (romanlutz) added this pull request to the merge queue Oct 17, 2026
Merged via the queue into microsoft:main with commit 5b594e0 Oct 17, 2026
98 of 99 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants