File size: 724 Bytes
fb34cd2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
"""Bidirectional encoder rendering and multi-question packing for Jue-Flash."""

from jue_flash.encoding.pack import (
    MPS_BUCKETS,
    EncodedQuestionSpan,
    EncodedRequest,
    PackedFlashBatch,
    collate_encoded_requests,
    encode_group_request,
    select_mps_bucket,
)
from jue_flash.encoding.render import (
    ID_TO_PRIMITIVE,
    PRIMITIVE_TO_ID,
    option_text,
    render,
    render_question_parts,
)

__all__ = [
    "EncodedQuestionSpan",
    "EncodedRequest",
    "ID_TO_PRIMITIVE",
    "MPS_BUCKETS",
    "PRIMITIVE_TO_ID",
    "PackedFlashBatch",
    "collate_encoded_requests",
    "encode_group_request",
    "option_text",
    "render",
    "render_question_parts",
    "select_mps_bucket",
]