Route each query by the transcript so far
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- backend
Direzione di ricerca
Start in src/RandomSystems/Typed/ and read the existing Program and TypedConverter routing definitions, then compare the stateless router (#220), transcript converter (#231), and companion issue #368. The issue names the required laws and acceptance cases; done means those laws are added and both acceptance cases hold. Expect to work across formal definitions and proofs.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Background
A stateless router (#220) sends an outside query $u$ to one inside query $\mathrm{req}(u)$ and maps the reply by $\mathrm{ans}(u,\cdot)$. Some converters do the same with a request and an answer that read their own outside transcript $h$ so far:
u\ \longmapsto\ \mathrm{req}(h,u),\qquad
y\ \longmapsto\ v=\mathrm{ans}(h,u,y),\qquad
h\ \leftarrow\ h\cdot(u,v).
The state is the transcript, as for a converter that answers from its transcript (#231). The stateless router is the case where neither map reads $h$.
Over a function $f$ of the inside queries such a router is deterministic, so its transcript probabilities are indicators:
\Pr\big[(\mathrm{route}_{\mathrm{req},\mathrm{ans}}\bullet[f])\ \text{gives}\ h\big]
=\Big[\,h\ \text{admitted}\ \land\ \forall\,\mathit{pre}\cdot(u,v)\ \text{prefix of}\ h:\ \
v=\mathrm{ans}\big(\mathit{pre},u,f(\mathrm{req}(\mathit{pre},u))\big)\Big].
TypedSystem.ofFunction_mass is the case of a router that ignores its transcript.
Proposed change
Add Program.routingByTranscript and TypedConverter.routingByTranscript request answer hB in src/RandomSystems/Typed/. It makes one inside query per outside query, so an inside interface that admits every nonempty history within the outside bound certifies it. Add its laws:
routingByTranscript_smul_ofProbAutomaton: attached to an automaton, it is the automaton on the transcript beside the inside state;routingByTranscript_transcript, with the relationRoutedBy: a possible transcript of the router over $X$ is routed, exchange by exchange, from a possible transcript of $X$ (the companion of #368);routingByTranscript_smul_ofFunction_mass, with its one-step formroutingByTranscript_smul_ofFunction_snoc: the probability above.
Acceptance criteria
Take a router that asks one inside port at its first query and another port afterwards. Attached to an automaton, it is the automaton on its transcript. Over a fixed function, the transcript that carries the function's replies has probability one, and every other transcript of the same queries has probability zero.
- Lingua principale
- Lean
- Stelle
- 3
- Fork
- 0
- Merge medio
- 1g 7h
- PR unite (30g)
- 123
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di trailofbits/constructive-cryptography
-
Automate monoidal whiskering and unitor normalization in cc_normalizeForse già presa @MarcIlunga l’ha presa oggi. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
trailofbits/constructive-cryptography#480 ·
I maintainer di solito rispondono entro 1 giorno
-
Add MR16 Lemma 5, indifferentiability composition, and specificationForse già presa @MarcIlunga l’ha presa oggi. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
trailofbits/constructive-cryptography#473 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-format
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
trailofbits/constructive-cryptography#471 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
trailofbits/constructive-cryptography#465 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-format
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
trailofbits/constructive-cryptography#462 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di trailofbits/constructive-cryptography
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
marketcalls/openalgo#2502 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
[Security]Unauthenticated WebSocket JSON.parse Without Error Handling Leads to Process TerminationAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
nocobase/nocobase#11711 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
qdrant/qdrant#11723 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
vllm-project/vllm#69791 ·
I maintainer di solito rispondono entro 1 giorno