| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-09-24 | 1.6 kB | |
| v2.1.21 source code.tar.gz | 2026-09-24 | 24.3 MB | |
| v2.1.21 source code.zip | 2026-09-24 | 24.4 MB | |
| Totals: 3 Items | 48.7 MB | 5 | |
- added
npcpy.gen.decisionmodule withDecisionSystem1,DecisionQuestion,DecisionRouter, andBatchDecisions, exportedtrain_decision_model,load_decision_model,load_decision_examples,decision_choice,decision_score,decision_noul,decision_predict, anddecision_routefromnpcpyandnpcpy.gen, and addedNPCPY_DECISION_MODELenvironment variable for a default trained model (4968654) - added
load_decision_examplessupporting json, jsonl, and csv training-data formats with automatic answer-type coercion (4968654) - added tiered routing via
DecisionRouteranddecision_routewith optional confidence-threshold fallback to the lowest tier (4968654)- addedexamples/example_system1_decisions.pydemonstrating system1 decision model training, single/batch inference, module-level calls, and tiered routing (4968654) - exposed
ft.system1classes and helpers (System1Config,System1Example,System1Predictor,choice,noul,score,predict_system1,train_system1,load_system1) in the server globals dictionary (addc6fe)- added/api/decision/predict,/api/decision/choice,/api/decision/noul,/api/decision/score, and/api/decision/routeendpoints to the flask server, falling back to theNPCPY_DECISION_MODELenvironment variable (addc6fe) - added
tests/test_gen_decision.pycoveringDecisionSystem1training and inference,DecisionRouter, module-level decision helpers, json example loading, environment-based model loading, and batch decision (addc6fe) - extended the npc compiler's
_execute_stepruntime environment with additional built-in symbols (8c4f139)