Skip to content

TemplateProcessing does not apply type_id to overflow encodings #1908

@antoine-agthe-unity

Description

@antoine-agthe-unity

A piece is applied with a specific type_id, no matter if it is a SpecialToken or a Sequence.
But when the piece is a sequence with some overflows, it only applies the specified type_id to the main encoding.
Is that legit?

encoding.set_type_ids(vec![*type_id; encoding.len()]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions