Moves only; no behaviour changes. Every file now lives under the part of the project it belongs to, each section has a README, and docs/PRIVACY.md collects the rules all parts follow. core/ engine.js, graph.js, solver.js, python/clean.py collection/ sources/ (form, register, PDF check, daily update), bot/ (importer) analysis/ stats/ (Python statistics), network/ (build-graph.js), reports/ (POLICY.md) planner/ build-policy.js, policy-report.js site/ atlas/ (the page), build.js, qa/ tests/ core/ (unit), parity/ (JS vs Python), fixtures/ Checked against the previous layout: tests pass; coded runs, test outputs, graph.json and policy.json are byte-identical; the built site differs only in comments that name file paths. The published file names Ken's bot downloads (solver.js, graph.js, data/policy.json) are unchanged. Also removes the undefined/ folder of QA screenshots committed by mistake (the QA scripts now default to a temp folder) and test.txt, and drops the unused npm workspaces. Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
1.1 KiB
JSON
23 lines
1.1 KiB
JSON
{
|
|
"name": "threshing-atlas",
|
|
"private": true,
|
|
"description": "Route probabilities and path-finding for the Dragonkind threshing",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "node site/build.js",
|
|
"dev": "node site/build.js && python3 -m http.server 8000 -d dist",
|
|
"test:js": "node tests/parity/run_engine.js data/public/form_responses.json tests/out",
|
|
"test:py": "cd core/python && python3 clean.py && cd ../../analysis/stats && python3 analyze.py",
|
|
"test:parity": "python3 tests/parity/compare_runs.py && python3 tests/parity/compare_results.py && python3 tests/parity/compare_routes.py",
|
|
"test:unit": "node --test tests/core/graph.test.js tests/core/solver.test.js",
|
|
"test": "npm run test:js && npm run test:py && npm run test:parity && npm run test:unit",
|
|
"graph": "node analysis/network/build-graph.js",
|
|
"import-bot": "node collection/bot/import-bot.js",
|
|
"check-sources": "python3 collection/sources/update_sources.py",
|
|
"policy": "node --max-old-space-size=6000 planner/build-policy.js && node planner/policy-report.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|