Spaces:
Sleeping
Sleeping
Commit History
5 days ago
-
docs: match the AVP syntax reference to the real language
Every claim was checked by running it through the AVP app's grammar and trace interpreter (the source of truth). Corrected: - indentation is ignored by the parser (4 spaces is a convention); tabs don't cause parse errors - scope is per function call: if-blocks and loops share it, and functions can't read globals (the old example said the opposite) - array literals hold numbers (other entries become null), arr(n) fills with 0 not Null, ranges floor their bounds instead of erroring, and arrays are shared, not copied, when assigned or passed - types are not checked (JavaScript rules apply); `or`/`and` on non-Booleans return a value; for-each gives values, not indices; nested fun works; a redefined function replaces the old one - added: !=, %, +=/-=, # comments, ; separators, do/while, continue, optional condition parentheses, the 1000-iteration loop cap, built-ins, the title-line file format, arr[], and a visual directives summary - resolved the TODOs these answer, and up…8b2d5f3
13 days ago
-
Refactor into avp_rag package, split frontend, prune deps
- Move ingest/retrieve/generate/providers/tracking and the ANTLR parser into an avp_rag/ package with central config (absolute paths) and a single knowledge-base reader; drop sys.path/os.chdir hacks in api/ - Keep root ingest.py/retrieve.py/generate.py as thin CLI shims - Fix: generate_solution retrieved twice; EMBEDDING_DEVICE was never read; FlagEmbedding import failure called sys.exit at import time - /health uses is_retriever_loaded() instead of a private global - Remove PseudocodeListener.py and unused chromadb/qdrant-client/rank-bm25; move antlr4-tools to dev deps - Split ChatPanel into api client, useChat hook, MessageBubble, ChatInput - Add tests for knowledge_base, tracking, ingest, generate, retrieve Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>915a861