← Về thư mục
scripts/policy_anchor_disclosure_referee.py
- is_nature_portfolio_venue · function · L65-L68 — def is_nature_portfolio_venue(venue: str) -> bool
- TrackGateError · class · L71-L73 — class TrackGateError(RuntimeError)
- AutoPromotionForbidden · class · L76-L78 — class AutoPromotionForbidden(RuntimeError)
- PairedMandateViolation · class · L81-L84 — class PairedMandateViolation(RuntimeError)
- VenueAnchorConflict · class · L87-L90 — class VenueAnchorConflict(RuntimeError)
- InvalidPolicyAnchor · class · L93-L94 — class InvalidPolicyAnchor(ValueError)
- InvalidCategoryState · class · L97-L98 — class InvalidCategoryState(ValueError)
- SelectorUnsupplied · class · L101-L104 — class SelectorUnsupplied(ValueError)
- RendererInput · class · L108-L120 — class RendererInput
- DisclosureDecision · class · L124-L131 — class DisclosureDecision
- decide_disclosure_output · function · L137-L206 — def decide_disclosure_output(ri: RendererInput) -> DisclosureDecision
- _check_selector_supplied · function · L209-L214 — def _check_selector_supplied(ri: RendererInput) -> None
- _check_policy_anchor_enum · function · L217-L226 — def _check_policy_anchor_enum(ri: RendererInput) -> None: # Venue-only invocation: enum check does not apply; v3.2 owns it.
- _check_category_states · function · L229-L237 — def _check_category_states(ri: RendererInput) -> None
- _check_venue_anchor_conflict · function · L240-L257 — def _check_venue_anchor_conflict(ri: RendererInput) -> None
- _check_track_gate · function · L260-L272 — def _check_track_gate(ri: RendererInput) -> None
- render_facet_as_used · function · L278-L288 — def render_facet_as_used(category_state: str) -> str
- prompt_disclosure_required · function · L294-L304 — def prompt_disclosure_required( track: str, tool_type: str, methodological_in_slr: bool ) -> bool
- copyediting_carveout_semantics · function · L307-L308 — def copyediting_carveout_semantics(anchor: str) -> str
- assert_ieee_pairing_conformant · function · L314-L325 — def assert_ieee_pairing_conformant( level_of_involvement: str | None, affected_sections: list[str] | None ) -> None
- image_rights_regime · function · L328-L329 — def image_rights_regime(anchor: str) -> str
- nature_image_outputs · function · L332-L354 — def nature_image_outputs(images: Iterable[dict]) -> dict[str, list[dict]]