File size: 10,273 Bytes
d086025
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
{
  "passed_ptp": [
    "tests.test_callbacks_registry::test_callback_registry_simple",
    "tests.test_callbacks_registry::test_callback_registry_multiple",
    "tests.test_callbacks_registry::test_callback_registry_coro_without_loop",
    "tests.test_callbacks_registry::test_callback_registry_callbacks",
    "tests.test_callbacks_registry::test_callback_registry_exists",
    "tests.test_callbacks_registry::test_callback_registry_callbacks_default",
    "tests.test_callbacks_registry::test_callback_registry_default",
    "tests.test_callbacks_registry::test_callback_registry_deregister_non_existing",
    "tests.test_commons::test_handle_signals",
    "tests.test_commons::test_cancel_tasks_on_termination_default",
    "tests.test_commons::test_cancel_tasks_on_termination_int",
    "tests.test_commons::test_cancel_tasks_on_termination_str",
    "tests.test_commons::test_cancel_tasks_on_termination_invalid_type",
    "tests.test_commons::test_cancel_tasks_on_termination_invalid_int",
    "tests.test_commons::test_cancel_tasks_on_termination_invalid_str"
  ],
  "test_files": [
    "tests/test_callbacks.py",
    "tests/test_callbacks_registry.py",
    "tests/test_commons.py"
  ],
  "test_command": [
    "python3",
    "-m",
    "pytest",
    "-vv",
    "--continue-on-collection-errors",
    "-o",
    "addopts=",
    "tests/test_callbacks.py",
    "tests/test_callbacks_registry.py",
    "tests/test_commons.py"
  ],
  "test_payload_contract": {
    "schema_version": "programgen.test-payload-contract.v1",
    "test_files": [
      "tests/test_callbacks.py",
      "tests/test_callbacks_registry.py",
      "tests/test_commons.py"
    ],
    "test_command": [
      "python3",
      "-m",
      "pytest",
      "-vv",
      "--continue-on-collection-errors",
      "-o",
      "addopts=",
      "tests/test_callbacks.py",
      "tests/test_callbacks_registry.py",
      "tests/test_commons.py"
    ],
    "text_fixtures": [],
    "binary_fixtures": [],
    "nonportable_absolute_paths": [],
    "required_external_commands": [],
    "declared_console_scripts": [],
    "unresolved_external_commands": []
  },
  "unit_test": [
    "tests.test_callbacks_registry::test_callback_registry_simple",
    "tests.test_callbacks_registry::test_callback_registry_multiple",
    "tests.test_callbacks_registry::test_callback_registry_coro_without_loop",
    "tests.test_callbacks_registry::test_callback_registry_callbacks",
    "tests.test_callbacks_registry::test_callback_registry_exists",
    "tests.test_callbacks_registry::test_callback_registry_callbacks_default",
    "tests.test_callbacks_registry::test_callback_registry_default",
    "tests.test_callbacks_registry::test_callback_registry_deregister_non_existing",
    "tests.test_commons::test_handle_signals",
    "tests.test_commons::test_cancel_tasks_on_termination_default",
    "tests.test_commons::test_cancel_tasks_on_termination_int",
    "tests.test_commons::test_cancel_tasks_on_termination_str",
    "tests.test_commons::test_cancel_tasks_on_termination_invalid_type",
    "tests.test_commons::test_cancel_tasks_on_termination_invalid_int",
    "tests.test_commons::test_cancel_tasks_on_termination_invalid_str"
  ],
  "expected_test_count": 21,
  "measured_test_count": 21,
  "enumerated_test_count": 15,
  "test_count_source": "measured-suite",
  "python_install_contract": {
    "strategy": "editable-install",
    "project_root": ".",
    "package_roots": [
      "src"
    ],
    "build_backend": "poetry.core.masonry.api",
    "build_system_requires": [
      "poetry-core"
    ],
    "editable": true,
    "project_dependencies": [],
    "editable_requires": [],
    "runtime_strategy": "editable-install",
    "runtime_build_inputs": [
      "README.md"
    ],
    "build_context_inputs": [],
    "distribution_name": "cafeteria-asyncio",
    "evidence": [
      "./pyproject.toml"
    ],
    "errors": [],
    "isolate_build_backend": false,
    "schema_version": "programgen.python-install-contract.v7"
  },
  "test_binary_files": [],
  "artifact_contract_version": "programgen.forward-harbor.v6",
  "renderer_schema_version": "programgen.forward-renderer.v4",
  "test_import_contract": [
    {
      "test_file": "tests/test_callbacks.py",
      "source_file": null,
      "import_root": "asyncio",
      "definition_path": null,
      "required_import_path": "asyncio",
      "import_statement": "import asyncio",
      "symbol": null,
      "kind": "external",
      "classification": "external"
    },
    {
      "test_file": "tests/test_callbacks.py",
      "source_file": "src/cafeteria/asyncio/callbacks.py",
      "import_root": "cafeteria",
      "definition_path": "cafeteria.asyncio.callbacks.Callback",
      "required_import_path": "cafeteria.asyncio.callbacks.Callback",
      "import_statement": "from cafeteria.asyncio.callbacks import ( Callback, SimpleTriggerCallback, trigger_callback, )",
      "symbol": "Callback",
      "kind": "class",
      "classification": "local-resolved"
    },
    {
      "test_file": "tests/test_callbacks.py",
      "source_file": "src/cafeteria/asyncio/callbacks.py",
      "import_root": "cafeteria",
      "definition_path": "cafeteria.asyncio.callbacks.SimpleTriggerCallback",
      "required_import_path": "cafeteria.asyncio.callbacks.SimpleTriggerCallback",
      "import_statement": "from cafeteria.asyncio.callbacks import ( Callback, SimpleTriggerCallback, trigger_callback, )",
      "symbol": "SimpleTriggerCallback",
      "kind": "class",
      "classification": "local-resolved"
    },
    {
      "test_file": "tests/test_callbacks.py",
      "source_file": "src/cafeteria/asyncio/callbacks.py",
      "import_root": "cafeteria",
      "definition_path": "cafeteria.asyncio.callbacks.trigger_callback",
      "required_import_path": "cafeteria.asyncio.callbacks.trigger_callback",
      "import_statement": "from cafeteria.asyncio.callbacks import ( Callback, SimpleTriggerCallback, trigger_callback, )",
      "symbol": "trigger_callback",
      "kind": "function",
      "classification": "local-resolved"
    },
    {
      "test_file": "tests/test_callbacks.py",
      "source_file": null,
      "import_root": "pytest",
      "definition_path": null,
      "required_import_path": "pytest",
      "import_statement": "import pytest",
      "symbol": null,
      "kind": "external",
      "classification": "external"
    },
    {
      "test_file": "tests/test_callbacks_registry.py",
      "source_file": "src/cafeteria/asyncio/callbacks.py",
      "import_root": "cafeteria",
      "definition_path": "cafeteria.asyncio.callbacks.Callback",
      "required_import_path": "cafeteria.asyncio.callbacks.Callback",
      "import_statement": "from cafeteria.asyncio.callbacks import Callback, CallbackRegistry",
      "symbol": "Callback",
      "kind": "class",
      "classification": "local-resolved"
    },
    {
      "test_file": "tests/test_callbacks_registry.py",
      "source_file": "src/cafeteria/asyncio/callbacks.py",
      "import_root": "cafeteria",
      "definition_path": "cafeteria.asyncio.callbacks.CallbackRegistry",
      "required_import_path": "cafeteria.asyncio.callbacks.CallbackRegistry",
      "import_statement": "from cafeteria.asyncio.callbacks import Callback, CallbackRegistry",
      "symbol": "CallbackRegistry",
      "kind": "class",
      "classification": "local-resolved"
    },
    {
      "test_file": "tests/test_callbacks_registry.py",
      "source_file": null,
      "import_root": "pytest",
      "definition_path": null,
      "required_import_path": "pytest",
      "import_statement": "import pytest",
      "symbol": null,
      "kind": "external",
      "classification": "external"
    },
    {
      "test_file": "tests/test_commons.py",
      "source_file": null,
      "import_root": "asyncio",
      "definition_path": null,
      "required_import_path": "asyncio",
      "import_statement": "import asyncio",
      "symbol": null,
      "kind": "external",
      "classification": "external"
    },
    {
      "test_file": "tests/test_commons.py",
      "source_file": "src/cafeteria/asyncio/commons.py",
      "import_root": "cafeteria",
      "definition_path": "cafeteria.asyncio.commons.cancel_all_tasks",
      "required_import_path": "cafeteria.asyncio.commons.cancel_all_tasks",
      "import_statement": "from cafeteria.asyncio.commons import cancel_all_tasks, cancel_tasks_on_termination",
      "symbol": "cancel_all_tasks",
      "kind": "function",
      "classification": "local-resolved"
    },
    {
      "test_file": "tests/test_commons.py",
      "source_file": "src/cafeteria/asyncio/commons.py",
      "import_root": "cafeteria",
      "definition_path": "cafeteria.asyncio.commons.cancel_tasks_on_termination",
      "required_import_path": "cafeteria.asyncio.commons.cancel_tasks_on_termination",
      "import_statement": "from cafeteria.asyncio.commons import cancel_all_tasks, cancel_tasks_on_termination",
      "symbol": "cancel_tasks_on_termination",
      "kind": "function",
      "classification": "local-resolved"
    },
    {
      "test_file": "tests/test_commons.py",
      "source_file": "src/cafeteria/asyncio/commons.py",
      "import_root": "cafeteria",
      "definition_path": "cafeteria.asyncio.commons.handle_signals",
      "required_import_path": "cafeteria.asyncio.commons.handle_signals",
      "import_statement": "from cafeteria.asyncio.commons import handle_signals",
      "symbol": "handle_signals",
      "kind": "function",
      "classification": "local-resolved"
    },
    {
      "test_file": "tests/test_commons.py",
      "source_file": null,
      "import_root": "pytest",
      "definition_path": null,
      "required_import_path": "pytest",
      "import_statement": "import pytest",
      "symbol": null,
      "kind": "external",
      "classification": "external"
    },
    {
      "test_file": "tests/test_commons.py",
      "source_file": null,
      "import_root": "signal",
      "definition_path": null,
      "required_import_path": "signal",
      "import_statement": "import signal",
      "symbol": null,
      "kind": "external",
      "classification": "external"
    }
  ],
  "test_import_contract_digest": "5c95b808d84c8df6654f5572f4e4b401ae01dacfecc60bb538697b7a1cbaa158"
}