Spaces:
Running
Running
Download solar_eval/rescore/__init__.py from dev-strender/proofread-demo: direct link, hf CLI and curl.
- Browser
- Download file 1.1 kB
-
https://huggingface.co/spaces/dev-strender/proofread-demo/resolve/main/solar_eval/rescore/__init__.py
- Command line
-
hf download hf://spaces/dev-strender/proofread-demo/solar_eval/rescore/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/dev-strender/proofread-demo/resolve/main/solar_eval/rescore/__init__.py
1.1 kB
| """์คํ๋ผ์ธ ์ฌ์ฑ์ ๊ธฐ `proofread_diff@2` (๊ณํ 2026-09-26 L3b ยง3.2). | |
| ๋ชจ๋ ๊ตฌ์ฑ(D1 โ ์์ ์ฑ์ ๊ณผ I/O ๋ฅผ ๊ฐ๋ฅธ๋ค): | |
| - `proofread_diff_v2` โ ๊ฒฐ๊ณผ ํ ํ๋์ ์์ ์ฑ์ (ํ์ค ๋ผ์ด๋ธ๋ฌ๋ฆฌ + `evaluators.scoring` ๋ง). ํ๊ฐ๊ธฐ `impl_hash` ํํฌ์ ์์์ . | |
| - `evaluator_doc` โ `evaluator/v1` ๋ฌธ์ยท`implementation_hash`. | |
| - `drafts` โ ํ์ ์ด์ยท`producer_aggregates.json`. | |
| - `from_bundle` โ run ๋ฒ๋ค ํ๋ โ ์ฑ์ ๋ฒ๋ค(`rescore_run_bundle`). | |
| - `case` โ ๋ฏธ๋ฌ์ case ์ ์ฒด(`rescore_case`). | |
| - `paths` โ ๋ฏธ๋ฌ ์์ญยท๊ธฐ๋ณธ ์ถ๋ ฅ ์์น. | |
| ์ด ํจํค์ง `__init__` ์ ์์ ๋ชจ๋์ ์ด๋ฆ๋ง ๋ค์ ๋ด๋ณด๋ธ๋ค โ `poc_bundle` ์ ๋์ด์ค๋ I/O ๋ชจ๋์ ์ฐ๋ ์ชฝ์ด ์ง์ import ํ๋ค | |
| (CLI ๋ ๋ช ๋ น ํจ์ ์์์ import ํ๋ค, `cli/commands/score.py`). | |
| """ | |
| from solar_eval.rescore.proofread_diff_v2 import ( | |
| NORMALIZERS, | |
| REASONS, | |
| RowError, | |
| RowScore, | |
| label_of, | |
| normalize, | |
| score_row, | |
| ) | |
| __all__ = ["NORMALIZERS", "REASONS", "RowError", "RowScore", "label_of", "normalize", "score_row"] | |