shadowset-runtime 0.1.0a0__tar.gz

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 (160) hide show
  1. shadowset_runtime-0.1.0a0/.gitignore +30 -0
  2. shadowset_runtime-0.1.0a0/.hypothesis/.gitignore +9 -0
  3. shadowset_runtime-0.1.0a0/.hypothesis/constants/050e26e1746d309e +4 -0
  4. shadowset_runtime-0.1.0a0/.hypothesis/constants/0712a0421b3d3198 +4 -0
  5. shadowset_runtime-0.1.0a0/.hypothesis/constants/0b1054f91d1a17bf +4 -0
  6. shadowset_runtime-0.1.0a0/.hypothesis/constants/16e9d2312be5e472 +4 -0
  7. shadowset_runtime-0.1.0a0/.hypothesis/constants/17c4a8fd290c3c75 +4 -0
  8. shadowset_runtime-0.1.0a0/.hypothesis/constants/1829b7cbcf942ac0 +4 -0
  9. shadowset_runtime-0.1.0a0/.hypothesis/constants/1903390986ca170b +4 -0
  10. shadowset_runtime-0.1.0a0/.hypothesis/constants/1aaa3d0e23376a5e +4 -0
  11. shadowset_runtime-0.1.0a0/.hypothesis/constants/2247a51faeba158b +4 -0
  12. shadowset_runtime-0.1.0a0/.hypothesis/constants/2883f9a29080b853 +4 -0
  13. shadowset_runtime-0.1.0a0/.hypothesis/constants/2c22a8198a268643 +4 -0
  14. shadowset_runtime-0.1.0a0/.hypothesis/constants/2db25f0fdf0051b5 +4 -0
  15. shadowset_runtime-0.1.0a0/.hypothesis/constants/2e4970105a0220b2 +4 -0
  16. shadowset_runtime-0.1.0a0/.hypothesis/constants/2efc0e79a545f2fc +4 -0
  17. shadowset_runtime-0.1.0a0/.hypothesis/constants/310a5b616ad37e32 +4 -0
  18. shadowset_runtime-0.1.0a0/.hypothesis/constants/32770f5de1c9bed1 +4 -0
  19. shadowset_runtime-0.1.0a0/.hypothesis/constants/32f30b311543ea67 +4 -0
  20. shadowset_runtime-0.1.0a0/.hypothesis/constants/33badcb1ef77b8e5 +4 -0
  21. shadowset_runtime-0.1.0a0/.hypothesis/constants/3839d4da4f3cbcb1 +4 -0
  22. shadowset_runtime-0.1.0a0/.hypothesis/constants/38892af8b3384591 +4 -0
  23. shadowset_runtime-0.1.0a0/.hypothesis/constants/3c9b441de55f8384 +4 -0
  24. shadowset_runtime-0.1.0a0/.hypothesis/constants/3d749cab59e1a292 +4 -0
  25. shadowset_runtime-0.1.0a0/.hypothesis/constants/4125a37912cab7cc +4 -0
  26. shadowset_runtime-0.1.0a0/.hypothesis/constants/43518f0f778def3b +4 -0
  27. shadowset_runtime-0.1.0a0/.hypothesis/constants/4b830ddd57b85766 +4 -0
  28. shadowset_runtime-0.1.0a0/.hypothesis/constants/4c2e47fcb749cb51 +4 -0
  29. shadowset_runtime-0.1.0a0/.hypothesis/constants/4d51db6119640a81 +4 -0
  30. shadowset_runtime-0.1.0a0/.hypothesis/constants/52460275edaef6dc +4 -0
  31. shadowset_runtime-0.1.0a0/.hypothesis/constants/5724fdb320538985 +4 -0
  32. shadowset_runtime-0.1.0a0/.hypothesis/constants/5d507e8c9eca7c88 +4 -0
  33. shadowset_runtime-0.1.0a0/.hypothesis/constants/678f84637fd372f3 +4 -0
  34. shadowset_runtime-0.1.0a0/.hypothesis/constants/71cf05856f6048ba +4 -0
  35. shadowset_runtime-0.1.0a0/.hypothesis/constants/7c1b1ec9cd7c3670 +4 -0
  36. shadowset_runtime-0.1.0a0/.hypothesis/constants/8222ab315c110023 +4 -0
  37. shadowset_runtime-0.1.0a0/.hypothesis/constants/842acb6b35b50dd9 +4 -0
  38. shadowset_runtime-0.1.0a0/.hypothesis/constants/960786bd3e952bed +4 -0
  39. shadowset_runtime-0.1.0a0/.hypothesis/constants/99628fcc82a4a58b +4 -0
  40. shadowset_runtime-0.1.0a0/.hypothesis/constants/9b78359249ebadb9 +4 -0
  41. shadowset_runtime-0.1.0a0/.hypothesis/constants/aae3fe19362a0e4c +4 -0
  42. shadowset_runtime-0.1.0a0/.hypothesis/constants/ab408bf13d5dc1a4 +4 -0
  43. shadowset_runtime-0.1.0a0/.hypothesis/constants/abd00bc24df710e9 +4 -0
  44. shadowset_runtime-0.1.0a0/.hypothesis/constants/af214150d306de42 +4 -0
  45. shadowset_runtime-0.1.0a0/.hypothesis/constants/b60622061ecba88d +4 -0
  46. shadowset_runtime-0.1.0a0/.hypothesis/constants/b76b822a4ef75960 +4 -0
  47. shadowset_runtime-0.1.0a0/.hypothesis/constants/ba4540d6e20e59f8 +4 -0
  48. shadowset_runtime-0.1.0a0/.hypothesis/constants/bd6a6c0c03ff4c8c +4 -0
  49. shadowset_runtime-0.1.0a0/.hypothesis/constants/c2c1e5e267769683 +4 -0
  50. shadowset_runtime-0.1.0a0/.hypothesis/constants/c4a7483952abf09b +4 -0
  51. shadowset_runtime-0.1.0a0/.hypothesis/constants/c55d3dfbc47f9bc0 +4 -0
  52. shadowset_runtime-0.1.0a0/.hypothesis/constants/ca823eb64aaa9cb1 +4 -0
  53. shadowset_runtime-0.1.0a0/.hypothesis/constants/ca9d5a3653d8a558 +4 -0
  54. shadowset_runtime-0.1.0a0/.hypothesis/constants/d66e1adcb84f739d +4 -0
  55. shadowset_runtime-0.1.0a0/.hypothesis/constants/e371a2026a21e817 +4 -0
  56. shadowset_runtime-0.1.0a0/.hypothesis/constants/e6ce1dc085644fca +4 -0
  57. shadowset_runtime-0.1.0a0/.hypothesis/constants/e7c167cdca956597 +4 -0
  58. shadowset_runtime-0.1.0a0/.hypothesis/constants/ec0bb58bf02a1989 +4 -0
  59. shadowset_runtime-0.1.0a0/.hypothesis/constants/f6a60a17057b869e +4 -0
  60. shadowset_runtime-0.1.0a0/.hypothesis/constants/f7b3cb36545b06ed +4 -0
  61. shadowset_runtime-0.1.0a0/.hypothesis/constants/fca59979189dda15 +4 -0
  62. shadowset_runtime-0.1.0a0/.hypothesis/constants/fe1ba45f4116494c +4 -0
  63. shadowset_runtime-0.1.0a0/.hypothesis/constants/fffc91c74dc83475 +4 -0
  64. shadowset_runtime-0.1.0a0/PKG-INFO +190 -0
  65. shadowset_runtime-0.1.0a0/README.md +170 -0
  66. shadowset_runtime-0.1.0a0/pyproject.toml +66 -0
  67. shadowset_runtime-0.1.0a0/schemathesis.toml +31 -0
  68. shadowset_runtime-0.1.0a0/scripts/contract-fuzz.sh +67 -0
  69. shadowset_runtime-0.1.0a0/shadowset/__init__.py +3 -0
  70. shadowset_runtime-0.1.0a0/shadowset/__main__.py +6 -0
  71. shadowset_runtime-0.1.0a0/shadowset/api/__init__.py +1 -0
  72. shadowset_runtime-0.1.0a0/shadowset/api/app.py +95 -0
  73. shadowset_runtime-0.1.0a0/shadowset/api/contract.py +80 -0
  74. shadowset_runtime-0.1.0a0/shadowset/api/errors.py +327 -0
  75. shadowset_runtime-0.1.0a0/shadowset/api/idempotency.py +297 -0
  76. shadowset_runtime-0.1.0a0/shadowset/api/middleware.py +81 -0
  77. shadowset_runtime-0.1.0a0/shadowset/api/models.py +394 -0
  78. shadowset_runtime-0.1.0a0/shadowset/api/routes/__init__.py +1 -0
  79. shadowset_runtime-0.1.0a0/shadowset/api/routes/artifacts.py +370 -0
  80. shadowset_runtime-0.1.0a0/shadowset/api/routes/compile.py +128 -0
  81. shadowset_runtime-0.1.0a0/shadowset/api/routes/expand.py +401 -0
  82. shadowset_runtime-0.1.0a0/shadowset/api/routes/health.py +85 -0
  83. shadowset_runtime-0.1.0a0/shadowset/api/routes/observations.py +296 -0
  84. shadowset_runtime-0.1.0a0/shadowset/api/routes/representations.py +148 -0
  85. shadowset_runtime-0.1.0a0/shadowset/api/routes/retrieve.py +169 -0
  86. shadowset_runtime-0.1.0a0/shadowset/api/routes/runs.py +121 -0
  87. shadowset_runtime-0.1.0a0/shadowset/api/services.py +198 -0
  88. shadowset_runtime-0.1.0a0/shadowset/artifacts/__init__.py +1 -0
  89. shadowset_runtime-0.1.0a0/shadowset/artifacts/filesystem.py +133 -0
  90. shadowset_runtime-0.1.0a0/shadowset/artifacts/s3.py +21 -0
  91. shadowset_runtime-0.1.0a0/shadowset/artifacts/store.py +97 -0
  92. shadowset_runtime-0.1.0a0/shadowset/cli.py +185 -0
  93. shadowset_runtime-0.1.0a0/shadowset/context/__init__.py +57 -0
  94. shadowset_runtime-0.1.0a0/shadowset/context/budget.py +60 -0
  95. shadowset_runtime-0.1.0a0/shadowset/context/compiler.py +360 -0
  96. shadowset_runtime-0.1.0a0/shadowset/context/policy.py +111 -0
  97. shadowset_runtime-0.1.0a0/shadowset/context/source.py +53 -0
  98. shadowset_runtime-0.1.0a0/shadowset/context/store.py +59 -0
  99. shadowset_runtime-0.1.0a0/shadowset/derivation/__init__.py +42 -0
  100. shadowset_runtime-0.1.0a0/shadowset/derivation/generators.py +190 -0
  101. shadowset_runtime-0.1.0a0/shadowset/derivation/queue.py +354 -0
  102. shadowset_runtime-0.1.0a0/shadowset/derivation/status.py +54 -0
  103. shadowset_runtime-0.1.0a0/shadowset/derivation/worker.py +289 -0
  104. shadowset_runtime-0.1.0a0/shadowset/ids.py +47 -0
  105. shadowset_runtime-0.1.0a0/shadowset/index/__init__.py +42 -0
  106. shadowset_runtime-0.1.0a0/shadowset/index/candidates.py +112 -0
  107. shadowset_runtime-0.1.0a0/shadowset/index/embeddings.py +49 -0
  108. shadowset_runtime-0.1.0a0/shadowset/index/fts.py +262 -0
  109. shadowset_runtime-0.1.0a0/shadowset/index/text.py +26 -0
  110. shadowset_runtime-0.1.0a0/shadowset/lock.py +163 -0
  111. shadowset_runtime-0.1.0a0/shadowset/logging.py +71 -0
  112. shadowset_runtime-0.1.0a0/shadowset/metadata/__init__.py +51 -0
  113. shadowset_runtime-0.1.0a0/shadowset/metadata/_time.py +19 -0
  114. shadowset_runtime-0.1.0a0/shadowset/metadata/migrations/0001_initial.sql +77 -0
  115. shadowset_runtime-0.1.0a0/shadowset/metadata/migrations/0002_derivation_jobs.sql +40 -0
  116. shadowset_runtime-0.1.0a0/shadowset/metadata/migrations/0003_idempotency_keys.sql +28 -0
  117. shadowset_runtime-0.1.0a0/shadowset/metadata/migrations/0004_index_entries.sql +32 -0
  118. shadowset_runtime-0.1.0a0/shadowset/metadata/migrations/0005_context_compilations.sql +48 -0
  119. shadowset_runtime-0.1.0a0/shadowset/metadata/migrations/__init__.py +135 -0
  120. shadowset_runtime-0.1.0a0/shadowset/metadata/repository.py +936 -0
  121. shadowset_runtime-0.1.0a0/shadowset/metadata/sqlite.py +120 -0
  122. shadowset_runtime-0.1.0a0/shadowset/openapi.py +272 -0
  123. shadowset_runtime-0.1.0a0/shadowset/settings.py +131 -0
  124. shadowset_runtime-0.1.0a0/shadowset/telemetry.py +303 -0
  125. shadowset_runtime-0.1.0a0/tests/__init__.py +0 -0
  126. shadowset_runtime-0.1.0a0/tests/conftest.py +94 -0
  127. shadowset_runtime-0.1.0a0/tests/contract.py +198 -0
  128. shadowset_runtime-0.1.0a0/tests/test_app.py +68 -0
  129. shadowset_runtime-0.1.0a0/tests/test_artifacts.py +314 -0
  130. shadowset_runtime-0.1.0a0/tests/test_cli.py +414 -0
  131. shadowset_runtime-0.1.0a0/tests/test_compile.py +848 -0
  132. shadowset_runtime-0.1.0a0/tests/test_contract_against_daemon.py +364 -0
  133. shadowset_runtime-0.1.0a0/tests/test_contract_client.py +196 -0
  134. shadowset_runtime-0.1.0a0/tests/test_contract_examples.py +283 -0
  135. shadowset_runtime-0.1.0a0/tests/test_derivation_generators.py +164 -0
  136. shadowset_runtime-0.1.0a0/tests/test_derivation_queue.py +313 -0
  137. shadowset_runtime-0.1.0a0/tests/test_derivation_status.py +42 -0
  138. shadowset_runtime-0.1.0a0/tests/test_derivation_worker.py +565 -0
  139. shadowset_runtime-0.1.0a0/tests/test_errors.py +380 -0
  140. shadowset_runtime-0.1.0a0/tests/test_expand.py +534 -0
  141. shadowset_runtime-0.1.0a0/tests/test_health.py +145 -0
  142. shadowset_runtime-0.1.0a0/tests/test_idempotency.py +1026 -0
  143. shadowset_runtime-0.1.0a0/tests/test_ids.py +26 -0
  144. shadowset_runtime-0.1.0a0/tests/test_index.py +456 -0
  145. shadowset_runtime-0.1.0a0/tests/test_lock.py +97 -0
  146. shadowset_runtime-0.1.0a0/tests/test_metadata.py +88 -0
  147. shadowset_runtime-0.1.0a0/tests/test_metadata_migrations.py +104 -0
  148. shadowset_runtime-0.1.0a0/tests/test_metadata_repository.py +534 -0
  149. shadowset_runtime-0.1.0a0/tests/test_middleware.py +89 -0
  150. shadowset_runtime-0.1.0a0/tests/test_object_store.py +340 -0
  151. shadowset_runtime-0.1.0a0/tests/test_observations.py +567 -0
  152. shadowset_runtime-0.1.0a0/tests/test_openapi.py +472 -0
  153. shadowset_runtime-0.1.0a0/tests/test_replay.py +110 -0
  154. shadowset_runtime-0.1.0a0/tests/test_representation_content.py +162 -0
  155. shadowset_runtime-0.1.0a0/tests/test_retrieve.py +337 -0
  156. shadowset_runtime-0.1.0a0/tests/test_runs.py +122 -0
  157. shadowset_runtime-0.1.0a0/tests/test_services.py +204 -0
  158. shadowset_runtime-0.1.0a0/tests/test_settings.py +114 -0
  159. shadowset_runtime-0.1.0a0/tests/test_telemetry.py +545 -0
  160. shadowset_runtime-0.1.0a0/uv.lock +2261 -0
@@ -0,0 +1,30 @@
1
+ # Shadowset local data directories
2
+ .shadowset/
3
+ **/.shadowset/
4
+
5
+ # Python
6
+ __pycache__/
7
+ *.py[cod]
8
+ .venv/
9
+ .pytest_cache/
10
+ .mypy_cache/
11
+ .ruff_cache/
12
+ .schemathesis/
13
+ dist/
14
+ build/
15
+ *.egg-info/
16
+
17
+ # Node
18
+ node_modules/
19
+ coverage/
20
+ *.tsbuildinfo
21
+ packages/*/dist/
22
+
23
+ # Playwright
24
+ test-results/
25
+ playwright-report/
26
+
27
+ # Editors / OS
28
+ .DS_Store
29
+ .idea/
30
+ .vscode/
@@ -0,0 +1,9 @@
1
+ # This .gitignore file was automatically created by Hypothesis. Hypothesis gitignores
2
+ # .hypothesis by default, because we generally recommend that .hypothesis not be checked
3
+ # into version control.
4
+ #
5
+ # If you *would* like to check .hypothesis into version control, you should delete this
6
+ # file. Hypothesis will not re-create this .gitignore unless .hypothesis is deleted (and
7
+ # if it does, that's a bug - please report it!)
8
+
9
+ *
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/artifacts/store.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['[0-9a-f]{64}', 'sha256:']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/derivation/__init__.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['DerivationQueue', 'DerivationWorker', 'Generator', 'GeneratorContext', 'GeneratorRegistry', 'Job', 'RepresentationDraft', 'WorkerState', 'generators', 'observation_status']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/cli.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['--data-dir', '--host', '--log-level', '--port', '--version', '<command>', 'an unknown owner', 'command', 'data_dir', 'host', 'inspect', 'lifespan', 'log_level', 'port', 'serve', 'shadowset', 'stats', 'type', 'version']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/metadata/repository.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [500, ',', ':', '?', 'action_json', 'agent_id', 'artifact', 'artifact_id', 'artifacts', 'attributes_json', 'byte_size', 'content_hash', 'created_at', 'derivation_status', 'endpoint', 'generator', 'generator_version', 'id', 'ingested_at', 'inline_text', 'key', 'kind', 'lossy', 'media_type', 'metadata_json', 'obs', 'observation', 'observation_id', 'observations', 'observed_at', 'rep', 'request_fingerprint', 'response_body', 'run', 'run_id', 'runs', 'seen_by', 'sequence', 'source_ids_json', 'source_sequence', 'started_at', 'status_code', 'storage_uri', 'utf-8']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/routes/observations.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [100, 201, 400, 404, 422, 1000, '/v1/observations', 'application/json', 'artifacts', 'duplicates', 'field', 'json', 'missing', 'model', 'next_after_sequence', 'observation_id', 'observations', 'run_id']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/app.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['Shadowset', 'data_dir', 'derivation_worker', 'shadowset.daemon', 'shadowsetd starting', 'shadowsetd stopped', 'url', 'version']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/derivation/worker.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [0.05, 1.0, 30.0, '; ', 'DerivationWorker', 'WorkerState', 'deduplicated', 'error', 'generator', 'generator failed', 'job', 'jobs', 'on', 'ready', 'sha256:', 'shadowset.derivation', 'starting', 'stopped', 'worker']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/routes/artifacts.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [200, 201, 304, 400, 404, 422, 500, 1024, '*', '*/*', ',', "Always 'nosniff'.", "Always 'sandbox'.", 'Content-Disposition', 'Content-Length', 'Content-Type', 'ETag', 'If-None-Match', 'W/', '[0-9a-f]{64}', 'actual', 'artifact_id', 'artifacts', 'binary', 'content', 'content-disposition', 'content-length', 'content-type', 'description', 'digest', 'etag', 'expected', 'field', 'format', 'getArtifact', 'headArtifact', 'header', 'image/*', 'integer', 'json', 'max_bytes', 'minimum', 'nosniff', 'putArtifact', 'requestBody', 'required', 'sandbox', 'schema', 'string', 'type']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/cli.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['--data-dir', '--host', '--log-level', '--port', '--version', '<command>', 'an unknown owner', 'command', 'data_dir', 'host', 'inspect', 'lifespan', 'log_level', 'port', 'serve', 'shadowset', 'stats', 'type', 'version']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/routes/health.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [200, 503, '/v1/health', 'degraded', 'getHealth', 'health', 'ok', 'on', 'ready', 'starting', 'stopped', 'v1']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/errors.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [400, 404, 409, 422, 500, 'artifact_not_found', 'budget_exhausted', 'derivation_not_ready', 'errors', 'http', 'http.response.start', 'internal_error', 'invalid_request', 'json', 'loc', 'msg', 'req_unknown', 'request_id', 'run_not_found', 'shadowset.error', 'type']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/routes/artifacts.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [200, 201, 304, 400, 404, 422, 1024, '*', '*/*', ',', 'Content-Length', 'The artifact bytes.', 'W/', '[0-9a-f]{64}', 'actual', 'artifact_id', 'artifacts', 'content', 'content-disposition', 'content-length', 'content-type', 'description', 'digest', 'etag', 'expected', 'field', 'header', 'json', 'max_bytes', 'model', 'nosniff', 'sandbox']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/settings.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [10.0, 1024, 7337, 65536, 86400, '.shadowset', '127.0.0.1', ':', 'DEBUG', 'ERROR', 'INFO', 'SHADOWSET_', 'WARNING', 'before', 'host', 'ignore', 'localhost', 'log_level', 'off', 'on']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/ids.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [1000000, 'big']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/app.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['Shadowset', 'data_dir', 'objects', 'shadowset.daemon', 'shadowsetd starting', 'shadowsetd stopped', 'url', 'version']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/routes/runs.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [200, 201, 400, 404, 409, 422, '/v1/runs', '/v1/runs/{run_id}', 'POST /v1/runs', 'The run was created.', 'The run.', 'createRun', 'field', 'getRun', 'max_bytes', 'metadata', 'run_id', 'runs']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/models.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [200, 'AdmissionInfo', 'ArtifactId', 'ArtifactRef', 'ArtifactStored', 'Candidate', 'CompileRequest', 'CompiledContext', 'ContextBudget', 'ContextItem', 'DerivationInfo', 'DerivationState', 'Evidence', 'ExpandRequest', 'Health', 'Id', 'Observation', 'ObservationCreate', 'ObservationCreated', 'RejectedSummary', 'RepresentationKind', 'RetrieveRequest', 'RetrieveResponse', 'Run', 'RunCreate', 'Scope', 'Timestamp', 'failed', 'forbid', 'image.change_map', 'image.crop', 'image.ocr', 'image.phash', 'image.semantic_card', 'image/raw', 'partial', 'pending', 'processing', 'ready']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/settings.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [7337, '.shadowset', '127.0.0.1', ':', 'DEBUG', 'ERROR', 'INFO', 'SHADOWSET_', 'WARNING', 'before', 'host', 'ignore', 'localhost', 'log_level', 'off', 'on']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/metadata/repository.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [500, ',', ':', '?', 'action_json', 'agent_id', 'artifact', 'artifact_id', 'artifacts', 'attributes_json', 'byte_size', 'content_hash', 'created_at', 'derivation_status', 'generator', 'generator_version', 'id', 'ingested_at', 'inline_text', 'kind', 'lossy', 'media_type', 'metadata_json', 'obs', 'observation', 'observation_id', 'observations', 'observed_at', 'rep', 'run', 'run_id', 'runs', 'sequence', 'source_ids_json', 'source_sequence', 'started_at', 'storage_uri', 'utf-8']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/metadata/sqlite.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [5.0, 'BEGIN IMMEDIATE', 'COMMIT', 'ROLLBACK', 'metadata.sqlite']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/derivation/queue.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['%Y-%m-%dT%H:%M:%S.%f', ',', ':', 'Z', 'artifact_id', 'attempts', 'attributes_json', 'available_at', 'created_at', 'derivation job', 'derive', 'failed', 'id', 'job', 'last_error', 'locked_at', 'locked_by', 'observation_id', 'partial', 'pending', 'stage', 'status', 'updated_at']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/errors.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [400, 404, 409, 422, 500, 'Idempotency-Key', 'artifact_not_found', 'budget_exhausted', 'created_at', 'derivation_not_ready', 'errors', 'header', 'http', 'http.response.start', 'internal_error', 'invalid_request', 'json', 'loc', 'msg', 'reason', 'req_unknown', 'request_id', 'run_not_found', 'shadowset.error', 'type']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/services.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['SELECT 1', 'error', 'objects_root', 'ready', 'services', 'shadowset.daemon', 'starting', 'stopped']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/.venv/bin/pytest
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['-script.pyw', '.exe', '__main__']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/routes/runs.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [201, 400, 404, 422, '/v1/runs', '/v1/runs/{run_id}', 'field', 'max_bytes', 'metadata', 'model', 'run_id', 'runs']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/derivation/queue.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [',', ':', 'artifact_id', 'attempts', 'attributes_json', 'available_at', 'created_at', 'derivation job', 'derive', 'failed', 'id', 'job', 'last_error', 'locked_at', 'locked_by', 'observation_id', 'partial', 'pending', 'stage', 'status', 'updated_at']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/derivation/worker.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [0.05, 1.0, 30.0, '; ', 'DerivationWorker', 'WorkerState', 'artifact.id', 'deduplicated', 'error', 'generator', 'generator failed', 'generators', 'job', 'job.id', 'jobs', 'observation.id', 'on', 'ready', 'sha256:', 'shadowset.derivation', 'starting', 'stopped', 'worker']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/metadata/repository.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [',', ':', 'action_json', 'agent_id', 'artifact', 'artifact_id', 'artifacts', 'attributes_json', 'byte_size', 'content_hash', 'created_at', 'derivation_status', 'generator', 'generator_version', 'id', 'ingested_at', 'inline_text', 'kind', 'lossy', 'media_type', 'metadata_json', 'obs', 'observation', 'observation_id', 'observations', 'observed_at', 'rep', 'run', 'run_id', 'runs', 'sequence', 'source_ids_json', 'source_sequence', 'started_at', 'storage_uri']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/derivation/generators.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [',', '1', ':', 'application/json', 'artifact.metadata', 'byte_size', 'height', 'image/jpeg', 'image/png', 'media_type', 'width']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/cli.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['--data-dir', '--host', '--log-level', '--port', '--version', '<command>', 'an unknown owner', 'command', 'data_dir', 'host', 'inspect', 'lifespan', 'log_level', 'openapi', 'port', 'serve', 'shadowset', 'stats', 'type', 'version']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/__init__.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['0.1.0a0']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/telemetry.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['By', 'OTEL_TRACES_EXPORTER', 'console', 'none', 'otlp', 'shadowset', 'shadowset.capture', 'shadowset.compile', 'shadowset.derive', 'shadowset.expand', 'shadowset.retrieve', '{call}', '{candidate}', '{item}', '{request}', '{token}']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/telemetry.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['By', 'OTEL_TRACES_EXPORTER', 'console', 'none', 'otlp', 'shadowset', 'shadowset.capture', 'shadowset.compile', 'shadowset.derive', 'shadowset.expand', 'shadowset.retrieve', '{candidate}', '{item}', '{request}', '{token}']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/logging.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['_', 'asctime', 'color_message', 'exc_info', 'level', 'logger', 'message', 'milliseconds', 'msg', 'ts', 'uvicorn', 'uvicorn.access', 'uvicorn.error']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/metadata/migrations/__init__.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['*.sql', 'ROLLBACK', 'name', 'utf-8', 'version']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/contract.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [500, 'X-Request-Id', 'description', 'header', 'headers', 'in', 'name', 'parameters', 'pattern', 'required', 'schema', 'string', 'traceparent', 'tracestate', 'type']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/services.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['SELECT 1', 'error', 'objects_root', 'ready', 'services', 'shadowset.daemon', 'starting', 'stopped']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/__init__.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ []
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/metadata/_time.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['%Y-%m-%dT%H:%M:%S.%f', 'Z']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/routes/__init__.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ []
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/lock.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [420, 4096, 'LOCK', 'data_dir', 'hostname', 'pid', 'replace', 'seconds', 'shadowset.lock', 'stale_hostname', 'stale_pid', 'stale_started_at', 'stale_url', 'started_at', 'url']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/metadata/__init__.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['Artifact', 'METADATA_FILE', 'MetadataError', 'MetadataRepository', 'MetadataStore', 'NotFoundError', 'Observation', 'ObservationArtifact', 'Representation', 'Run', 'RunNotFoundError', 'metadata_path']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/app.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['Shadowset', 'data_dir', 'shadowset.daemon', 'shadowsetd starting', 'shadowsetd stopped', 'url', 'version']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/settings.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [1024, 7337, 65536, '.shadowset', '127.0.0.1', ':', 'DEBUG', 'ERROR', 'INFO', 'SHADOWSET_', 'WARNING', 'before', 'host', 'ignore', 'localhost', 'log_level', 'off', 'on']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/models.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [200, 'AdmissionInfo', 'ArtifactId', 'ArtifactRef', 'ArtifactStored', 'Candidate', 'CompileRequest', 'CompiledContext', 'ContextBudget', 'ContextItem', 'DerivationInfo', 'DerivationState', 'Evidence', 'ExpandRequest', 'Health', 'Id', 'Observation', 'ObservationCreate', 'ObservationCreated', 'ObservationPage', 'RejectedSummary', 'RepresentationKind', 'RetrieveRequest', 'RetrieveResponse', 'Run', 'RunCreate', 'Scope', 'Timestamp', 'failed', 'forbid', 'image.change_map', 'image.crop', 'image.ocr', 'image.phash', 'image.semantic_card', 'image/raw', 'json', 'next_after_sequence', 'observations', 'partial', 'pending', 'processing', 'ready', 'serialization', 'wrap']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/routes/observations.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [100, 200, 201, 400, 404, 409, 422, 1000, '/v1/observations', 'application/json', 'artifacts', 'createObservation', 'duplicates', 'field', 'getObservation', 'json', 'listRunObservations', 'missing', 'observation_id', 'observations', 'run_id']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/routes/health.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [503, '/v1/health', 'degraded', 'description', 'health', 'model', 'ok', 'ready', 'starting', 'stopped', 'v1']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/artifacts/filesystem.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [292, 1024, '.part', 'O_DIRECTORY', 'objects', 'rb', 'sha256', 'tmp', 'wb']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/artifacts/__init__.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ []
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/middleware.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [b'x-request-id', 500, 1000, '%s %s -> %s', 'ascii', 'duration_ms', 'headers', 'http', 'http.response.start', 'latin-1', 'method', 'path', 'query', 'query_string', 'req', 'request_id', 'shadowset.access', 'state', 'status', 'status_code', 'type']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/metadata/__init__.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['Artifact', 'IN_CHUNK_SIZE', 'METADATA_FILE', 'MetadataError', 'MetadataRepository', 'MetadataStore', 'NotFoundError', 'Observation', 'ObservationArtifact', 'Representation', 'Run', 'RunNotFoundError', 'metadata_path']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/metadata/repository.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [',', ':', 'action_json', 'agent_id', 'artifact', 'artifact_id', 'artifacts', 'attributes_json', 'byte_size', 'content_hash', 'created_at', 'derivation_status', 'generator', 'generator_version', 'id', 'ingested_at', 'inline_text', 'kind', 'lossy', 'media_type', 'metadata_json', 'obs', 'observation', 'observation_id', 'observations', 'observed_at', 'rep', 'run', 'run_id', 'runs', 'sequence', 'source_ids_json', 'source_sequence', 'started_at', 'storage_uri']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/idempotency.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [60.0, 255, ',', ':', 'Idempotency-Key', 'Idempotency-Replayed', 'application/json', 'ascii', 'description', 'enum', 'header', 'json', 'purged', 'schema', 'shadowset.daemon', 'string', 'true', 'type', '~']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/derivation/status.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['failed', 'pending', 'processing', 'ready', 'status']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/logging.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['_', 'asctime', 'color_message', 'exc_info', 'level', 'logger', 'message', 'milliseconds', 'msg', 'ts', 'uvicorn', 'uvicorn.access', 'uvicorn.error']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/cli.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['--data-dir', '--host', '--log-level', '--port', '--version', '<command>', 'an unknown owner', 'command', 'data_dir', 'host', 'inspect', 'lifespan', 'log_level', 'port', 'serve', 'shadowset', 'stats', 'type', 'version']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/app.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['Shadowset', 'data_dir', 'objects', 'shadowset.daemon', 'shadowsetd starting', 'shadowsetd stopped', 'url', 'version']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/settings.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [7337, '.shadowset', '127.0.0.1', ':', 'DEBUG', 'ERROR', 'INFO', 'SHADOWSET_', 'WARNING', 'before', 'host', 'ignore', 'localhost', 'log_level']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/openapi.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['$ref', '--check', '--output', '--write', 'HTTPValidationError', 'ValidationError', '__main__', 'components', 'const', 'content', 'enum', 'exclusiveMaximum', 'exclusiveMinimum', 'in', 'integer', 'maxItems', 'maxLength', 'maximum', 'minItems', 'minLength', 'minimum', 'multipleOf', 'name', 'openapi', 'parameters', 'paths', 'pattern', 'requestBody', 'responses', 'schema', 'schemas', 'shadowset openapi', 'shadowset-v1.yaml', 'store_true', 'type', 'utf-8', '|']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/api/models.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ [200, 'AdmissionInfo', 'ArtifactId', 'ArtifactRef', 'ArtifactStored', 'Candidate', 'CompileRequest', 'CompiledContext', 'ContextBudget', 'ContextItem', 'DerivationInfo', 'DerivationState', 'Evidence', 'ExpandRequest', 'Health', 'Id', 'Observation', 'ObservationCreate', 'ObservationCreated', 'ObservationPage', 'RejectedSummary', 'RepresentationKind', 'RetrieveRequest', 'RetrieveResponse', 'Run', 'RunCreate', 'Scope', 'Timestamp', 'failed', 'forbid', 'image.change_map', 'image.crop', 'image.ocr', 'image.phash', 'image.semantic_card', 'image/raw', 'partial', 'pending', 'processing', 'ready']
@@ -0,0 +1,4 @@
1
+ # file: /Users/rvo/src/shadowset/runtime/shadowset/metadata/_time.py
2
+ # hypothesis_version: 6.170.15
3
+
4
+ ['%Y-%m-%dT%H:%M:%S.%f', 'Z']