Skip to content

Structured Outputs update with YAML and XML#865

Merged
bxyu-nvidia merged 16 commits intomainfrom
jk/structured_outputs-yaml_xml
Mar 18, 2026
Merged

Structured Outputs update with YAML and XML#865
bxyu-nvidia merged 16 commits intomainfrom
jk/structured_outputs-yaml_xml

Conversation

@jkyi-nvidia
Copy link
Copy Markdown
Contributor

@jkyi-nvidia jkyi-nvidia commented Mar 11, 2026

Adds YAML and XML parser logic for the structured outputs verifier.

Included addition of new dataset with JSON, YAML, and XML data.
config found in

resources_servers/structured_outputs/configs/structured_outputs_json_yaml_xml_v1.yaml

Results for validation set on GPT-5.4 high effort

=================================================================
  rollouts/structured_outputs/gpt-5.4-2026-03-05/rollouts.jsonl
=================================================================

  OVERALL
    n = 357
    pass: 248/357 (69.5%)
    mean reward: 0.6947

-----------------------------------------------------------------

  schema_type=json
    n = 119
    pass: 89/119 (74.8%)
    mean reward: 0.7479

  schema_type=xml
    n = 119
    pass: 79/119 (66.4%)
    mean reward: 0.6639

  schema_type=yaml
    n = 119
    pass: 80/119 (67.2%)
    mean reward: 0.6723

=================================================================

Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
…outputs-yaml_xml

Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
@jkyi-nvidia jkyi-nvidia marked this pull request as draft March 11, 2026 00:08
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Mar 11, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
@jkyi-nvidia jkyi-nvidia marked this pull request as ready for review March 11, 2026 00:46
Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
@bxyu-nvidia bxyu-nvidia force-pushed the jk/structured_outputs-yaml_xml branch from 48a2b0e to 1ba83a9 Compare March 11, 2026 01:52
@jkyi-nvidia jkyi-nvidia force-pushed the jk/structured_outputs-yaml_xml branch from 1ba83a9 to 48a2b0e Compare March 11, 2026 01:55
Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
bxyu-nvidia
bxyu-nvidia previously approved these changes Mar 17, 2026
Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
@bxyu-nvidia bxyu-nvidia merged commit 827d893 into main Mar 18, 2026
6 checks passed
@bxyu-nvidia bxyu-nvidia deleted the jk/structured_outputs-yaml_xml branch March 18, 2026 00:16
MahanFathi pushed a commit that referenced this pull request Mar 24, 2026
Adds YAML and XML parser logic for the structured outputs verifier.

Included addition of new dataset with JSON, YAML, and XML data.
config found in 
```
resources_servers/structured_outputs/configs/structured_outputs_json_yaml_xml_v1.yaml
```

Results for validation set on GPT-5.4 high effort
```
=================================================================
  rollouts/structured_outputs/gpt-5.4-2026-03-05/rollouts.jsonl
=================================================================

  OVERALL
    n = 357
    pass: 248/357 (69.5%)
    mean reward: 0.6947

-----------------------------------------------------------------

  schema_type=json
    n = 119
    pass: 89/119 (74.8%)
    mean reward: 0.7479

  schema_type=xml
    n = 119
    pass: 79/119 (66.4%)
    mean reward: 0.6639

  schema_type=yaml
    n = 119
    pass: 80/119 (67.2%)
    mean reward: 0.6723

=================================================================
```

---------

Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
jsw-zorro pushed a commit to niletron/Gym that referenced this pull request Apr 7, 2026
Adds YAML and XML parser logic for the structured outputs verifier.

Included addition of new dataset with JSON, YAML, and XML data.
config found in 
```
resources_servers/structured_outputs/configs/structured_outputs_json_yaml_xml_v1.yaml
```

Results for validation set on GPT-5.4 high effort
```
=================================================================
  rollouts/structured_outputs/gpt-5.4-2026-03-05/rollouts.jsonl
=================================================================

  OVERALL
    n = 357
    pass: 248/357 (69.5%)
    mean reward: 0.6947

-----------------------------------------------------------------

  schema_type=json
    n = 119
    pass: 89/119 (74.8%)
    mean reward: 0.7479

  schema_type=xml
    n = 119
    pass: 79/119 (66.4%)
    mean reward: 0.6639

  schema_type=yaml
    n = 119
    pass: 80/119 (67.2%)
    mean reward: 0.6723

=================================================================
```

---------

Signed-off-by: Junkeun Yi <jkyi@nvidia.com>
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