abertsch72 / abertsch72/minimum-bayes-risk

create a single util for formatting json

未關閉
#6 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
2
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

otherwise this can get out of sync across files
(e.g. our "hypos", "gold", "id", "lprobs", "num_unique" dictionary)

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Look for files that currently format JSON, especially those using keys like 'hypos', 'gold', 'id', 'lprobs', 'num_unique'. Create a utility function in a central module (e.g., utils/json_utils.py) to handle consistent JSON formatting. Ensure all existing usages are updated to call this new utility. Run the project's tests to verify the refactor doesn't break anything.

由索引模型根據 Issue 內容生成。

評估

領域
tooling
Issue 類型
重構
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。