Skip to content

docs: fix typos in RULER workflows and file reader docstring - #642

Open
Avicennasis wants to merge 1 commit into
agentscope-ai:mainfrom
TypoScan3000:docs/fix-typos
Open

Avicennasis wants to merge 1 commit into
agentscope-ai:mainfrom
TypoScan3000:docs/fix-typos

Conversation

@Avicennasis

Copy link
Copy Markdown

Description

Three small typo fixes:

  • trinity/common/workflows/math_ruler_workflow.py: whereasa -> whereas in the reset() docstring.
  • trinity/common/workflows/math_ruler_workflow.py and trinity/common/workflows/math_trainable_ruler_workflow.py: the RULER judge prompt says "first think about the reasoning process in the mind and then provides the final answer". Changed provides -> provide to agree with the imperative "think". The sentence is identical in both workflows, so both were changed.
  • trinity/buffer/reader/file_reader.py: module docstring Filed based -> File-based.

The provide fix changes one word of the judge prompt string, so it is not purely a comment change.

MAX_TOKEN_LENGTH = 8196 in examples/mix_chord/get_openr1_data.py was deliberately left unchanged. It may have been meant as 8192, but changing it would change which samples are filtered, so I've left that call to you.

Checklist

  • Docstrings have been added/updated in Google Style (existing text only)
  • Code is ready for review

- math_ruler_workflow.py: 'whereasa' -> 'whereas' in the reset() docstring.
- math_ruler_workflow.py, math_trainable_ruler_workflow.py: 'first think
  ... and then provides the final answer' -> 'provide' in the RULER judge
  prompt (the same sentence in both workflows).
- file_reader.py: 'Filed based' -> 'File-based' in the module docstring.

Signed-off-by: Léon Avic Simmons <Avicennasis@gmail.com>

This branch has not been deployed

No deployments
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.

1 participant