Skip to content
Novus Examples
zip796 B

Sample Monorepo ZIP — Multi-Language Companion

Tiny multi-language SAMPLE monorepo ZIP (web/api/util/scripts) for unpack-then-lint and monorepo tooling.

Archive contents: 5 entrieszip
  • README.md
  • hello.js
  • hello.py
  • hello.go
  • lint.sh

Specifications

Members
5
Languages
js,py,go,sh
Wave
G

Testing contract

Expected to pass
Scenario
Unpack the archive and run a language-aware linter over the resulting tree.
Expected result
Five members extract into a three-directory monorepo layout: README.md, apps/web/hello.js, apps/api/hello.py, packages/util/hello.go and scripts/lint.sh. Four languages are present across three top-level directories, so a tool that infers project type from the repository root finds no single answer - which is the case this fixture exists for. Every member is DEFLATE-compressed, and paths use forward slashes, so an extractor must not flatten the directory structure.

What is a .zip file?

ZIP is a widely supported archive format that bundles multiple files and directories into one container, typically with per-file DEFLATE compression and a central directory index. It supports random access to individual entries without decompressing the whole archive. It underlies many document formats such as DOCX and EPUB.

How to use this file

Use an example ZIP to test archive extraction, central-directory parsing, per-entry decompression, and protection against path-traversal (zip-slip) during unpacking.

How to use this file for testing

“Sample Monorepo ZIP — Multi-Language Companion” is a deterministic Novus Examples fixture for Code parsing, Conversion testing. Short, known-correct source files in many languages with classes, functions, generics, enums, and error handling, for testing parsers, linters, formatters, language detection, and diff viewers.

Documented properties for this file: ZIP · 796 bytes. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.

This is a short, known-correct source file. Run it through your syntax highlighter, linter, formatter, tree-sitter grammar, or parser, and open it in the in-browser editor to tweak and re-download. Each snippet exercises comments, string escapes, literals, and language keywords.

Code examples

unzip -l sample-monorepo.zip     # list members
unzip sample-monorepo.zip -d out/  # extract

Generated by generation/code_wave_g.py. Free for any use, no attribution required, license.