Verfahrensablauf/Fristenrechner: link DE + EPA + EU rule references to youpc.org/laws (depends on youpc.org ingest) #39
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Surfaced by: t-paliad-207 interactive session (fermi, 2026-05-18, commit
9dfda3eonmai/fermi/interactive-session).Context
That shift wired up
BuildLegalSourceURL(internal/services/deadline_search_service.go) to render every deadline-card rule reference as a link toyoupc.org/laws/<type>/<n>when the cited body is hosted there. The mapping today covers the three UPC bodies youpc currently ingests:UPC.RoP.*→https://youpc.org/laws/UPCRoP/<n>UPC.UPCA.*→https://youpc.org/laws/UPCA/<n>UPC.UPCS.*→https://youpc.org/laws/UPCS/<n>That covers 39 of 91 active rules in
paliad.deadline_rules. The remaining 52 carry national + EPO bodies and render as plain styled text (no link):DE.PatG.*DE.ZPO.*EU.EPC-R.*EU.EPÜ.*EU.RPBA.*Source of the bucket map:
internal/services/deadline_search_service.go:FormatLegalSourceDisplay+BuildLegalSourceURL+ the livepaliad.deadline_rules.legal_sourcecorpus (queried 2026-05-18).Two-part work
Part A — youpc.org (prerequisite,
yoUPC/youpc.org): ingest the 5 bodies above and serve them under the existing/laws/:type/:numberroute. Suggested:typesegment tokens, matching the FormatLegalSourceDisplay convention so a single canonical mapping survives on both sides:legal_sourceprefix:typeDE.PatGPatGDE.ZPOZPOEU.EPC-REPC-REU.EPÜEPÜ(orEPUif path-encoding the umlaut is awkward — caller picks)EU.RPBARPBAGround source-of-truth lookup:
/home/m/dev/web/youpc.org/youpc-go/database/data/laws-data.jsoncarriesUPCA / UPCRoP / UPCStoday; the schema is the place to land the new types.Part B — paliad (this repo, tiny): once youpc serves the new bodies, extend
BuildLegalSourceURL'sswitch parts[0] + "." + parts[1]to add the 5 new mappings, extendTestBuildLegalSourceURLto cover them, no migration needed. The UI work is already in place — link-or-plain renders off whetherBuildLegalSourceURLreturns the empty string.Acceptance
target="_blank" rel="noopener noreferrer"semantics preserved (already infrontend/src/client/views/verfahrensablauf-core.ts:deadlineCardHtml).de.inf.lg/de_inf.klagecites DE.ZPO.253).Low priority — paliad already degrades gracefully (plain styled text) for the unlinked 52, so the UX gap is cosmetic not blocking.
URL shape correction (m, 2026-05-18 17:04): the canonical youpc.org/laws permalink uses the hash-fragment form with a zero-padded 3-digit law-number, not the pretty path form. Updated reference:
UPC.RoP.23.1→https://youpc.org/laws#UPCRoP.023UPC.UPCA.83→https://youpc.org/laws#UPCA.083UPC.UPCS.40.1→https://youpc.org/laws#UPCS.040Fix landed in t-paliad-207 commit
ba7d550(onmai/fermi/interactive-session, awaiting head merge) —BuildLegalSourceURL+padLawNumberhelper + 14 test cases covering UPC corpus + zero-pad cases + DE/EPA/EU fall-through.Part-A acceptance update for this issue: when youpc ingests the 5 national/EPO bodies, the same hash-fragment + zero-padded shape should apply. Suggested
:typesegments unchanged from the table above; the URL template becomes:https://youpc.org/laws#<TYPE>.<NNN>Part-B (paliad) just extends the
switch parts[0] + "." + parts[1]block inBuildLegalSourceURL; the padding helper already covers any 3-digit-or-less numeric input.