zorya-classifier 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/LICENSE +21 -0
  2. package/NOTICE.md +11 -0
  3. package/README.md +127 -2
  4. package/dist/app/cli-route.d.ts +3 -0
  5. package/dist/app/cli-route.js +40 -0
  6. package/dist/app/create-classifier.d.ts +14 -0
  7. package/dist/app/create-classifier.js +100 -0
  8. package/dist/cli.d.ts +2 -0
  9. package/dist/cli.js +33 -0
  10. package/dist/entities/contracts.d.ts +395 -0
  11. package/dist/entities/contracts.js +90 -0
  12. package/dist/entities/errors.d.ts +7 -0
  13. package/dist/entities/errors.js +16 -0
  14. package/dist/features/choice-beam-layout.d.ts +18 -0
  15. package/dist/features/choice-beam-layout.js +136 -0
  16. package/dist/features/choice.d.ts +4 -0
  17. package/dist/features/choice.js +83 -0
  18. package/dist/features/prompts.d.ts +8 -0
  19. package/dist/features/prompts.js +56 -0
  20. package/dist/features/uniform-grid.d.ts +3 -0
  21. package/dist/features/uniform-grid.js +35 -0
  22. package/dist/index.d.ts +5 -0
  23. package/dist/index.js +2 -0
  24. package/dist/infrastructure/openrouter-common.d.ts +130 -0
  25. package/dist/infrastructure/openrouter-common.js +317 -0
  26. package/dist/infrastructure/openrouter-vision.d.ts +8 -0
  27. package/dist/infrastructure/openrouter-vision.js +12 -0
  28. package/dist/infrastructure/openrouter.d.ts +19 -0
  29. package/dist/infrastructure/openrouter.js +207 -0
  30. package/dist/infrastructure/raster.d.ts +2 -0
  31. package/dist/infrastructure/raster.js +121 -0
  32. package/dist/infrastructure/vision-chat.d.ts +64 -0
  33. package/dist/infrastructure/vision-chat.js +309 -0
  34. package/dist/openai-compatible.d.ts +5 -0
  35. package/dist/openai-compatible.js +7 -0
  36. package/dist/openrouter.d.ts +4 -0
  37. package/dist/openrouter.js +2 -0
  38. package/dist/processes/classify.d.ts +2 -0
  39. package/dist/processes/classify.js +21 -0
  40. package/dist/processes/locate.d.ts +2 -0
  41. package/dist/processes/locate.js +201 -0
  42. package/dist/shared/choice-mass.d.ts +2 -0
  43. package/dist/shared/choice-mass.js +19 -0
  44. package/dist/shared/gate.d.ts +11 -0
  45. package/dist/shared/gate.js +52 -0
  46. package/dist/shared/scope.d.ts +12 -0
  47. package/dist/shared/scope.js +29 -0
  48. package/docs/README.ru.md +245 -0
  49. package/docs/acceptance.md +31 -0
  50. package/docs/api.md +45 -0
  51. package/docs/architecture.md +32 -0
  52. package/docs/benchmarks.md +53 -0
  53. package/docs/evidence/current-linux-check.json +15 -0
  54. package/docs/evidence/decisions-completion-v1-manifest.json +96 -0
  55. package/docs/evidence/decisions-completion-v1-report.json +1205 -0
  56. package/docs/evidence/decisions-selection-v1-manifest.json +96 -0
  57. package/docs/evidence/decisions-selection-v1-report.json +1457 -0
  58. package/docs/evidence/jev-pricing-2026-10-18.json +69 -0
  59. package/docs/evidence/linux-check.json +20 -0
  60. package/docs/evidence/linux-check.txt +205 -0
  61. package/docs/evidence/live-release-smoke-manifest.json +82 -0
  62. package/docs/evidence/live-release-smoke-provenance.json +9 -0
  63. package/docs/evidence/live-release-smoke-report.json +2136 -0
  64. package/docs/evidence/live-v1-manifest.json +84 -0
  65. package/docs/evidence/live-v1-provenance.json +9 -0
  66. package/docs/evidence/live-v1-report.json +15555 -0
  67. package/docs/evidence/luna-decisions-fine-probe.json +19 -0
  68. package/docs/evidence/luna-decisions-locator-smoke-manifest.json +39 -0
  69. package/docs/evidence/luna-decisions-locator-smoke-report.json +149 -0
  70. package/docs/evidence/pack-check.json +26 -0
  71. package/docs/evidence/protocol-probes.json +61 -0
  72. package/docs/evidence/rejected-vision-selection-v1-qwen-photo-dev-01.json +42 -0
  73. package/docs/evidence/rejected-vision-selection-v1-qwen-photo-dev-17.json +42 -0
  74. package/docs/evidence/rejected-vision-selection-v1-qwen-photo-heldout-09.json +42 -0
  75. package/docs/evidence/rejected-vision-selection-v2-haiku-photo-dev-16.json +42 -0
  76. package/docs/evidence/rejected-vision-selection-v2-haiku-support-heldout-016.json +42 -0
  77. package/docs/evidence/vision-cost-reconciliation.json +37 -0
  78. package/docs/evidence/vision-model-summary.json +562 -0
  79. package/docs/evidence/vision-selection-v1-manifest.json +95 -0
  80. package/docs/evidence/vision-selection-v1-report.json +4598 -0
  81. package/docs/evidence/vision-selection-v2-manifest.json +95 -0
  82. package/docs/evidence/vision-selection-v2-report.json +1139 -0
  83. package/docs/evidence/windows-native.json +73 -0
  84. package/docs/evidence/windows-secrets.json +46 -0
  85. package/docs/operations.md +15 -0
  86. package/docs/plan.md +25 -0
  87. package/docs/provenance.json +32 -0
  88. package/docs/publishing.md +21 -0
  89. package/docs/results.md +69 -0
  90. package/docs/vision-results.md +51 -0
  91. package/package.json +89 -4
@@ -0,0 +1,84 @@
1
+ {
2
+ "version": 1,
3
+ "startedAt": "2026-10-17T21:32:36.972Z",
4
+ "mode": "live",
5
+ "evidence": "real-provider; route and metadata recorded per call",
6
+ "options": {
7
+ "mode": "live",
8
+ "allowPaid": true,
9
+ "maxCalls": 360,
10
+ "maxCostUsd": 1,
11
+ "corpusDirectory": "benchmarks/corpus",
12
+ "outputDirectory": ".run/live-v1",
13
+ "splits": ["dev", "heldout"]
14
+ },
15
+ "node": "v24.12.0",
16
+ "platform": "linux",
17
+ "model": "typesafe/jev-1.14",
18
+ "provider": "typesafe",
19
+ "fallbacks": false,
20
+ "operationTimeoutMs": 45000,
21
+ "retries": 0,
22
+ "maximumPlannedCalls": 360,
23
+ "planned": {
24
+ "photos": 60,
25
+ "texts": 30
26
+ },
27
+ "corpus": {
28
+ "corpus-manifest.json": "00f4459996db0f61a38235adaf512e1bfc52e02e1d599bb590b62a98217e4cdb",
29
+ "photo-manifest.json": "a99f47d4e1c064581c6cc9123b58a5c81b196d15227963bf015041544f713aa3",
30
+ "text/text-manifest.json": "5e74c8c13cd1f1f8a2e2ecc22e90e6c0c83ebf5f9407dfed5b87204d3b8831ac",
31
+ "text/inputs/policy.json": "9db3010c97fa056fbb4a43ea51a5c973bd75b9d21f8d07f2c15d6d176e712b8a",
32
+ "inputs/dev.json": "0c443231956e9578afa43d4bf884cc9741594ae69ac5f957657b9c5a24422bb6",
33
+ "ground-truth/dev.json": "c618e1a950ae89e0c9ced0c2b1ca249ea7adc891f61c0579468c479613ea4b26",
34
+ "text/inputs/dev.json": "e7d2bc07559cba70494d6e4672cc3e1113c070aba8b2694ee45e76ebcbc04fcc",
35
+ "text/ground-truth/dev.json": "4827650b560f20b32b0366dea14947681d29ef9fefb5a059301ba5abf5c031f0",
36
+ "inputs/heldout.json": "2ce42723824900de9a8eca60b58220567b938a88855ec41a5a882bb410d3b1e4",
37
+ "ground-truth/heldout.json": "737ee884b8bbf557191d5848b56f17ac056fd01793cd8fb738c5624ea119c7d2",
38
+ "text/inputs/heldout.json": "e33beeeb011c55992d955ce66397717875c0084bcc21be29ecd123bd29ccce4a",
39
+ "text/ground-truth/heldout.json": "d29cf2fb7b980d138fd7c8e712708fa9730aa6637f350468ae15651bf9f5c4b0"
40
+ },
41
+ "sourceHashes": {
42
+ "src/app/create-classifier.ts": "55bfcf78b8c12c616d1144371541ec4eb1e56a6a4790700b366e41dbdf896491",
43
+ "src/cli.ts": "2a28730b48e07437549421513b9db3a23c1c1fa907831ae02c034db17aee8aec",
44
+ "src/entities/contracts.ts": "02ed07235b39a6818d3067fe4a7c6b436577cbaa5fb4c3e2652edd0fe317feca",
45
+ "src/entities/errors.ts": "1c92c94c9ed6917953ac5192bfd2d8896cdb6fe13b7d05593573b7f2103330b0",
46
+ "src/features/choice-beam-layout.ts": "91ec1be72e31e19c5e9f1b722b1ad3810e07b78bfe2e8126ae7b00869a433c35",
47
+ "src/features/choice.ts": "58a61043f2db4f0f952ee702eda12d42c2ba84db54ca47ebf6bd60d658445824",
48
+ "src/features/prompts.ts": "df8090d057e71641b628dcab8b9d2fd59aeb24c4f93af1cd042f8aab5caf57dc",
49
+ "src/features/uniform-grid.ts": "8cee38aee52ba2c4ac2eaed909d5f53cc0e5aa2c04fe87585c66b29573e21c4d",
50
+ "src/index.ts": "1cd73c74a874adf1a4a3b6edb48e230f54c671098b9a3d51bb3a01a0ad2866db",
51
+ "src/infrastructure/openrouter.ts": "eaa592211902f7987cae890dbd0a7f66a3d667e158997d7c02f9ab9c4f1930fa",
52
+ "src/infrastructure/raster.ts": "8217346f671b957540f3c01a7eb3d8ef7d0bfb6a5e18a47c96f0ccb08f4bcb08",
53
+ "src/openrouter.ts": "0fc784e949774d5517aee4c5b019afc0a9c6e488988be28ff1c1a8c272635232",
54
+ "src/processes/classify.ts": "fb2a13aec8f02853f5ba353babf9588cce7aaebecb9f4ae6339a2f40897d736f",
55
+ "src/processes/locate.ts": "bf54bef7a899f0aa422b63da9ff577102dd6fa105ad8aff718b4168fa9f8ea88",
56
+ "src/shared/gate.ts": "97e4e32749dc9d3a9def6faaea2566b5d0ed831ba4451999740c719fafa8e576",
57
+ "src/shared/scope.ts": "cc557e9fd83a838f5366c64d026859db119491d927dfb3a84ef4320b2f0b0beb",
58
+ "benchmarks/ablations.ts": "ddac5bf4460cf763cd5191b024edc14ccda7f081c030a15a487ff7b8386f0c3d",
59
+ "benchmarks/budget.ts": "538a7e89ca643d2c26ea7e13a4d213ee019a2df865fac6573c31e9fb1ea63166",
60
+ "benchmarks/corpus.ts": "0af52e2f896e74e8e9ab0937e34862cea5396ac0649f896299631160314848b4",
61
+ "benchmarks/metrics.ts": "8a836b35152afd24c24095669d3ca802fd57eafb452ebbd7e28dbb56853f9e07",
62
+ "benchmarks/overlay.ts": "9eced23935c5428d657df747d0f239c6fc8a61ef2f1582d88a86e08f71ddfbf5",
63
+ "benchmarks/recording.ts": "fd1913f50027c4f78ebb5daddfd9b563455b145e525ddd4dda18b453670358af",
64
+ "benchmarks/run.ts": "5ff28c02fd9bc6dc03aaf5934e7e28300f958696a2fb1fffca44edabf748ebfa",
65
+ "benchmarks/runner.ts": "fd95d5b720e11f4f22bd39e5044b456fcd3c42fffd6b4f308ee98bd99695558f",
66
+ "package.json": "0e7cb54459efb7f326d4d13a6416a08b29eeb626d41f962ce630c86f42c94acd",
67
+ "package-lock.json": "879d16df46b6fd0c95c837b9683422d7ff76d6a3f61790cf62288fcf010d4384",
68
+ "tsconfig.json": "3411e388c49ac70c5c50d0c2d85ee5bcc7270a16e8d3fb4a217c99212a783d0e"
69
+ },
70
+ "limitations": [
71
+ "Public photos may overlap training data; heldout is only held out from local development.",
72
+ "Text fixtures and labels are assistant-authored, not independent human annotations.",
73
+ "Locate returns one region; center-inside-any-box is not all-object recall or segmentation accuracy.",
74
+ "Prefix ablations reuse exact stage answers; they lack third-stage confirmation.",
75
+ "Request preparation and artifact writes are included in measured operation latency.",
76
+ "Known cost plus $0.02 per incomplete or unknown-cost provider invocation is an admission estimate, not a provider-enforced spending limit.",
77
+ "Public DecisionResult contains cost and route metadata; raw HTTP token usage is unavailable.",
78
+ "Photographs do not validate gaming UI, maps, OCR, or temporal tracking."
79
+ ],
80
+ "publicExport": {
81
+ "rawManifestSha256": "98c1f67cbc96a7ab5bb2f404c47195e8b58259101d523d695719a8b3b6351d30",
82
+ "removed": "Host-specific absolute output directory replaced by repository-relative path."
83
+ }
84
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "rawReportSha256": "0aff3f5669d1dd8b8289eb3cb3d1f47dd9e355c49888e1f558dfe785feb08ebc",
3
+ "rawManifestSha256": "98c1f67cbc96a7ab5bb2f404c47195e8b58259101d523d695719a8b3b6351d30",
4
+ "status": "complete",
5
+ "physicalHttpCalls": 321,
6
+ "knownCostUsd": 0.07354666199999998,
7
+ "unknownCostCalls": 23,
8
+ "scope": "Initial full-corpus strict-mass snapshot"
9
+ }