← Về thư mục
scripts/test_check_rubric_weight_consistency.py
- _run · function · L16-L17 — def _run(root: Path) -> subprocess.CompletedProcess
- _write_rubrics · function · L20-L56 — def _write_rubrics( root: Path, *, header_originality: int = 20, formula_originality: str = "0.20", formula_writing: str = "0.15", ) -> None
- _write_framework · function · L59-L83 — def _write_framework(root: Path, *, restate_weight: bool = False) -> None
- _write_paper_skill · function · L86-L98 — def _write_paper_skill(root: Path, *, originality: int = 20) -> None
- _write_consistent_tree · function · L101-L104 — def _write_consistent_tree(root: Path) -> None
- TestRubricWeightConsistency · class · L107-L210 — class TestRubricWeightConsistency(unittest.TestCase)
- test_consistent_tree_passes · method · L108-L114 — def test_consistent_tree_passes(self) -> None
- test_header_vs_formula_mismatch_fails · method · L116-L123 — def test_header_vs_formula_mismatch_fails(self) -> None
- test_skill_rule_drift_fails · method · L125-L132 — def test_skill_rule_drift_fails(self) -> None
- test_framework_weight_restatement_fails · method · L134-L141 — def test_framework_weight_restatement_fails(self) -> None
- test_framework_percent_parenthetical_fails · method · L143-L160 — def test_framework_percent_parenthetical_fails(self) -> None: # The other restatement shape: a "(NN%)" aggregation-style term.
- test_weights_not_summing_to_100_fails · method · L162-L181 — def test_weights_not_summing_to_100_fails(self) -> None
- test_missing_formula_heading_is_parse_error · method · L183-L198 — def test_missing_formula_heading_is_parse_error(self) -> None
- test_missing_file_is_parse_error · method · L200-L206 — def test_missing_file_is_parse_error(self) -> None
- test_real_repo_is_consistent · method · L208-L210 — def test_real_repo_is_consistent(self) -> None