Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This document defines how contributors — human or automated — work safely and consistently inside the repository.
Sign in to like and favorite skills
This document defines how contributors — human or automated — work safely and consistently inside the repository. It replaces informal guidelines with explicit rules for coding, testing, reviewing, and documentation.
shared_code/ must have smoke or unit tests.| Path | Purpose | Quality Expectation |
|---|---|---|
| Core package, reusable API | 🧪 Tests + docs required |
| Legacy/experimental work | ⚠️ Optional tests |
| Pipelines & analysis scripts | ✅ Must run smoke tests |
| Demos/figures only | 🚫 No imports from here |
, | CI, lint, automation | 💡 No domain logic |
| Default pytest suite | 🧩 Fast deterministic tests |
Applies to both human developers and automated agents (e.g., Codex, Copilot Workspace).
docs/architecture.md, linked design notes, and the related GitHub issue.make check && pytest -q.shared_code/README.md and docs/architecture.md in the same PR.main.Scientific invariants over implementation
allegiance/src/cohesion_compute.py now uses a vectorized diff-based event extraction (pairing rising/falling edges) instead of a Python scan loop; this was validated to produce identical onsets/offsets/durations across randomized tests and multiple min_duration thresholds. Prefer such transparent optimizations that do not alter results.docs/ROADMAP.md.shared_code/ must include or update tests in tests_smoke/.test_*.py.np.random.seed or rng=...).DATASET_NAME, PROJECT_ROOT_LOCAL, PROJECT_ROOT_CLUSTER) for input paths; never hardcode.
<>- Store test results or metadata in reports/ (ignored by git).py311.snake_case (fns), PascalCase (classes), UPPER_SNAKE (constants).metaconnectivity; prefer shared_code.*.
from shared_code.fun_dfcspeed import ts2dfc_streamfrom metaconnectivity.fun_dfcspeed import ts2dfc_streamfrom metaconnectivity.fun_utils import save_npz).shared_code/fun_paths.py.PROJECT_ROOT_LOCAL (+ optional DATASET_NAME) in .env.config/logging.example.yaml to customize logging locally..gitignore to exclude local configs, data, logs.shared_code/.docs/architecture.md.docs/architecture.mddocs/ROADMAP.mdpytest.ini, tests_smoke/pyproject.toml