Bounded sequence classification. Learns byte-sequence labels and classifies only sequences represented by an exact path in a bounded prefix trie. A separate production utility canonicalizes compact sequence patterns.
Deterministic computational primitives for resource-constrained and intelligent software systems. NEXORA is a family of independent C libraries; this is a narrowly scoped component, not a general artificial intelligence system.
The production API is defined by public headers in include/. The default build contains production sources only; research and benchmarks are opt-in. See API reference.
Potential uses include deterministic processing of the described data in firmware, local device software, desktop tools, or server pipelines. Applications must choose capacities and define handling for unknown results and errors. No deployed application is claimed.
- C11, standalone; no mandatory NEXORA sibling library or production third-party dependency.
- Caller-supplied contexts and buffers; production core does not intentionally allocate from the heap.
- No mandatory operating-system service.
- Determinism applies only where specified by API and implementation.
- Bare-metal and RTOS use require target-specific build and memory review; no universal MCU qualification.
cmake -S . -B build -DNEXORA_BUILD_TESTS=ON -DNEXORA_BUILD_EXAMPLES=ON
cmake --build build
ctest --test-dir build --output-on-failureAs a subdirectory, link target nexora::adapt. See integration. Minimum CMake 3.16.
Minimal example and fixed-memory application example. Inputs are synthetic and do not demonstrate a validated deployment.
Historical ESP32-S3 validation at 240 MHz: train p50/p95/p99 881/881/881 cycles, observed max 6502; classify 445/445/445, max 4915; full-capacity decay training 32391/32429/32647, max 112602. Test image 227536 B; observed stack about 2736 B in 12288 B task stack. Production-only code size and RAM NOT MEASURED. Figures are retained historical measurements; no new performance measurements are claimed here. Firmware image size is not production library size. Observed maximum latency is not formal WCET.
Retained validation evidence: CTest 15/15, 3,603,831 checks, zero failures; strict GCC, Clang, Xtensa GCC and MSVC, ASan/UBSan. These retained results are historical; current host regression results are reported separately in validation. Unknown paths return UNKNOWN; exact-path classification is not generalization. Pruning and decay add capacity-dependent work.
See research summary, limitations, and contract.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (Apache-2.0). See LICENSE and NOTICE. NEXORA is not affiliated with the Apache Software Foundation. Version 0.1.0 is the initial version and is not mature or certified.