codesamplex

How to contribute

The samples are written and verified by CodeSampleX. Everything around them is open, and the part that actually needs other people is open first.

Every official CodeSampleX sample is generated independently and verified by running its contract. The project does not accept sample code whose origin it cannot establish.

Open to anyone, no account

Why sample code is not accepted

A sample is worth exactly what its origin is worth. Code of unknown provenance brings a licence nobody can trace, a real chance that it belongs to somebody's employer, and no way to check where it was copied from — and unlike a wrong answer, none of that can be taken back once other people's agents have read it. The rule this project applies to search applies to contribution too: a wrong sample is worse than a missing one.

This may open later, and if it does it will open as a proposal rather than a donation: the package, the API, the use case and a link to the documentation — with the code still generated in a clean room and verified here.

Everything above is checkable in the source