Stage 4: apply Review Results edits
Usage
stage_review(
state,
review_overrides = NULL,
accept_suggestions = FALSE,
review_picks = NULL,
row_flags = NULL,
review_decision_evidence = NULL,
candidate_validation = NULL,
identity_decisions = NULL
)Arguments
- state
State list from
stage_curate().- review_overrides
Optional function generated by
generate_concert_script(), content-match spec frombuild_review_overrides(), or legacy positional override table/list to replay Review Results edits.- accept_suggestions
Logical. If TRUE, accepts every row scored as
"suggested"after candidate postprocessing (same as the Review Results bulk accept).- review_picks
Optional data frame with
name,dtxsid, and optionalcasrncolumns. Rows whose cleaned Name (and CAS, when given) match are resolved to that DTXSID after validation against CompTox.- row_flags
Optional data frame with
name,flag, and optionalcasrnandreasoncolumns. Matching rows get the row flag (one ofvalid_row_flags()).- review_decision_evidence
Immutable portable decision snapshots and scoped acknowledgments from
capture_review_decision(). Legacy flags never acquire a historical baseline implicitly.- candidate_validation
Structured saved validation outcomes from
validate_review_candidates(). Reporting makes no network requests.- identity_decisions
Explicit source-scoped decisions passed to
apply_identity_decisions(). Name-wide selectors cannot grant scope acceptance.
