-
Notifications
You must be signed in to change notification settings - Fork 4
Port ZON v1.0.3 features from TypeScript to Python #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: ronibhakta1 <77425964+ronibhakta1@users.noreply.github.com>
Co-authored-by: ronibhakta1 <77425964+ronibhakta1@users.noreply.github.com>
Co-authored-by: ronibhakta1 <77425964+ronibhakta1@users.noreply.github.com>
|
@copilot it is v1.0.3 for python |
Co-authored-by: ronibhakta1 <77425964+ronibhakta1@users.noreply.github.com>
|
@copilot https://github.com/ZON-Format/zon-TS/tree/main/docs add the above docs as its importand also there are few benchmarks and all are old in the current python we have all latest things in the shared repos. I want you to make sure you add all the things in the readme and all |
Co-authored-by: ronibhakta1 <77425964+ronibhakta1@users.noreply.github.com>
Added all documentation from the TypeScript repository in commit d9785eb:
Also updated README.md with comprehensive benchmarks including retrieval accuracy and token efficiency comparisons across GPT-4o, Claude 3.5, and Llama 3. |
Ports all v1.0.3 encoder/decoder changes from zon-TS to the Python package, including security limits, strict mode validation, conformance tests, and comprehensive documentation.
Encoder
ZonEncodeErrornull, no scientific notation@count:colsfor pure lists)Decoder
__proto__,constructor)API
Tests
Ported from TypeScript: security, security-limits, strict-mode, conformance-encoder, conformance-decoder, canonical-numbers. 93/93 passing.
Scripts
scripts/generate_examples.py- Generate JSON/ZON example filesscripts/verify_roundtrip.py- Verify lossless roundtrip (13/13 pass)Documentation
Added comprehensive documentation from TypeScript implementation:
docs/SPEC.md- Complete formal specificationdocs/api-reference.md- Python API documentation with examplesdocs/syntax-cheatsheet.md- Quick syntax referencedocs/llm-best-practices.md- LLM usage guide with Python examplesREADME Updates
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.