CI / test (pull_request) Successful in 2m3s
analysis/known/build_known.py writes data/public/known_answers.json from pdf_encounters.json and tree.json;
solver.js knownAnswer(known, offered, { target, sceneColour }) matches a screen's choices against it (the guide's
paraphrases by their words, the bot's texts exactly) and returns a pick when one choice is clearly on the guide's
recommended path to the target, plus the evidence for every choice to hand to Clef. Rebuilt daily, checked in CI,
and sent to the bot with the route model.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
23 lines
1.3 KiB
JSON
23 lines
1.3 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:py": "python3 -m collection build --check && python3 planner/build_experiments.py --check && python3 analysis/black/evidence.py --check && python3 analysis/tree/build_tree.py --check && python3 analysis/known/build_known.py --check && PYTHONPATH=core python3 -m unittest discover -s tests/core -p 'test_*.py' && python3 -m unittest discover -s tests/collection -p 'test_*.py'",
|
|
"test:unit": "node --test tests/core/graph.test.js tests/core/advisor.test.js tests/core/known.test.js",
|
|
"test": "npm run test:py && npm run test:unit",
|
|
"graph": "node analysis/network/build-graph.js",
|
|
"policy": "python3 planner/build_policy.py && python3 planner/policy_report.py && python3 planner/build_experiments.py && python3 analysis/black/evidence.py && python3 analysis/tree/build_tree.py && python3 analysis/known/build_known.py",
|
|
"cycle": "python3 -m collection cycle",
|
|
"stats": "python3 analysis/stats/site_stats.py",
|
|
"collect": "python3 -m collection update",
|
|
"build-data": "python3 -m collection build"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|