code wiki / (root) / nx_efile_lib.nx

nx_efile_lib.nx

buildroot/runtime/nx_efile_lib.nx

4701 B98 linesdepth 7pulls 12 transitivereach 2 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_efile_lib.nx -- COURT E-FILING: submission, acceptance, rejection, and relation back. u2605THE TRAP THIS EXISTS FOR: SUBMISSION IS NOT FILING. A brief uploaded at 11:47pm on the deadline and REJECTED at 9am the next morning for a caption defect, a missing signature block or a bad PDF profile was NEVER FILED. The clerk's rejection does not stop the clock, does not extend the deadline, and does not preserve the date. Firms lose motions -- and occasionally entire claims -- to this, because the confirmation email says "submitted" and everyone reads it as "filed". So the filing date is the ACCEPTANCE date, never the submission date, unless a jurisdiction's relation-back rule expressly returns it. Relation back is modelled as an EXPLICIT jurisdictional permission plus a cure window, never as a default -- a default here would silently recreate the trap. u2605THE SECOND TOOTH: a rejected submission that is corrected and RE-submitted after the deadline is timely ONLY if (a) the jurisdiction allows relation back, (b) the original submission was itself before the deadline, and (c) the correction lands inside the cure window. All three, or it is late. A correction that relates back to an ALREADY-LATE original relates back to a late date -- still late. u2605FAIL-CLOSED: an unknown acceptance date is NOT filed. Pending is not filed. Only an acceptance counts, because only an acceptance is what the docket will show. STRUCTURE: pure decision core, zero I/O. license_tier: ORIGINAL LIB.

dependencies 1 imports · 2 importers

nx_matter_lib.nx nx_efile_lib.nx nx_efile_gate.nx nx_legal_svc.nx

imports: nx_matter_lib.nx

imported by: nx_efile_gate.nxnx_legal_svc.nx

structs

none

consts

24const EFL_UNSET: i64 = 0 - 2000000002
26const EFL_NOT_FILED: i64 = 0
27const EFL_PENDING: i64 = 1
28const EFL_FILED_TIMELY: i64 = 2
29const EFL_FILED_LATE: i64 = 3
30const EFL_REJECTED: i64 = 4

functions

32func efl_is1(v: i64) -> i64
39func efl_filing_date_pure(submitted: i64, accepted: i64, relation_back_allowed: i64, cure_days: i64) -> i64
49func efl_status_pure(submitted: i64, accepted: i64, rejected: i64, deadline: i64, relation_back_allowed: i64, cure_days: i64) -> i64
65func efl_timely_pure(status: i64) -> i64
71func efl_on_docket_pure(status: i64) -> i64
78func efl_days_late_pure(filing_date: i64, deadline: i64) -> i64
called by 1: main
86func efl_exposure_pure(rejected: i64, pending: i64, late: i64) -> i64
called by 1: main
90func efl_status_label(s: i64, out: *u8) -> i64
called by 2: mainleg_efile_status calls 1: mt_catcopy