)]}'
{"test/unit/common/utils/test_timestamp.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"85bf433245c9e53c8aadb3f7d5441e15a60db3f2","unresolved":false,"context_lines":[{"line_number":303,"context_line":"            self.assertLess(hex_part, \u0027300000000000fade\u0027)"},{"line_number":304,"context_line":"            actual.append(hex_part)"},{"line_number":305,"context_line":"        # The jitter component should differentiate timestamps generated in the"},{"line_number":306,"context_line":"        # same deca-microsecond. Jitter is drawn from a 2**36 space, so for 1000"},{"line_number":307,"context_line":"        # samples the chance of a single birthday collision is ~7e-6 and of two"},{"line_number":308,"context_line":"        # or more collisions ~3e-11. Allow a single collision so this assertion"},{"line_number":309,"context_line":"        # verifies differentiation without flaking on the rare-but-expected"}],"source_content_type":"text/x-python","patch_set":1,"id":"51d1f7f5_b943a9b3","line":306,"updated":"2026-06-26 08:48:15.000000000","message":"pep8: E501 line too long (80 \u003e 79 characters)","commit_id":"77922de78b4caeae008b4eb50137cded6699e4cc"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"32ec1b3dc3f91eb46faf03f333c98c6a98efeb04","unresolved":true,"context_lines":[{"line_number":307,"context_line":"        # samples the chance of a single birthday collision is ~7e-6 and of two"},{"line_number":308,"context_line":"        # or more collisions ~3e-11. Allow a single collision so this assertion"},{"line_number":309,"context_line":"        # verifies differentiation without flaking on the rare-but-expected"},{"line_number":310,"context_line":"        # collision."},{"line_number":311,"context_line":"        self.assertGreaterEqual(len(set(actual)), len(actual) - 1)"},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"    @mock_timestamp_randint(0x123456789)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fbfc0867_17cf6582","line":310,"updated":"2026-06-29 09:24:48.000000000","message":":( did you see this fail?\n\nalternatively, just reduce the iterations at line 291 to achieve much lower probability of collision. IIRC the goal of the test was a crude verification that jitter isn\u0027t a constant value but does change from instance to instance, so the number of iterations is very arbitrary. We don\u0027t gain anything *certain* by taking 1000 samples and allowing 1 collision vs taking fewer samples (I think?).","commit_id":"77922de78b4caeae008b4eb50137cded6699e4cc"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"48de697c3ac4955b5ae9547ab555088848c5c5a1","unresolved":true,"context_lines":[{"line_number":307,"context_line":"        # samples the chance of a single birthday collision is ~7e-6 and of two"},{"line_number":308,"context_line":"        # or more collisions ~3e-11. Allow a single collision so this assertion"},{"line_number":309,"context_line":"        # verifies differentiation without flaking on the rare-but-expected"},{"line_number":310,"context_line":"        # collision."},{"line_number":311,"context_line":"        self.assertGreaterEqual(len(set(actual)), len(actual) - 1)"},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"    @mock_timestamp_randint(0x123456789)"}],"source_content_type":"text/x-python","patch_set":1,"id":"56aac8f1_9f61e702","line":310,"in_reply_to":"fbfc0867_17cf6582","updated":"2026-08-05 16:29:11.000000000","message":"IMHO maybe we should just drop this test, and check we have something that explicitly asserts that random is called (it\u0027s probably implicit whenever we use @mock_timestamp_randint)","commit_id":"77922de78b4caeae008b4eb50137cded6699e4cc"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"32ec1b3dc3f91eb46faf03f333c98c6a98efeb04","unresolved":true,"context_lines":[{"line_number":316,"context_line":"        # \u00272\u0027, then 9 hex digits of jitter, then 6 hex digits of offset."},{"line_number":317,"context_line":"        now \u003d 1402464677.04188"},{"line_number":318,"context_line":"        with mock.patch(\u0027swift.common.utils.timestamp.time.time\u0027,"},{"line_number":319,"context_line":"                        return_value\u003dnow):"},{"line_number":320,"context_line":"            ts \u003d timestamp.Timestamp.now(offset\u003d0xabc, version\u003d2)"},{"line_number":321,"context_line":"        self.assertEqual(2, ts.version)"},{"line_number":322,"context_line":"        self.assertEqual(0xabc, ts.offset)"}],"source_content_type":"text/x-python","patch_set":1,"id":"8ea2bcd5_316e3524","line":319,"updated":"2026-06-29 09:24:48.000000000","message":"we do this mock a few times, it may be useful to have a helper ``mock_timestamp_time`` similar to ``mock_timestamp_randint`` ??","commit_id":"77922de78b4caeae008b4eb50137cded6699e4cc"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"85bf433245c9e53c8aadb3f7d5441e15a60db3f2","unresolved":false,"context_lines":[{"line_number":498,"context_line":"        self.assertEqual(1, ts.offset)"},{"line_number":499,"context_line":"        self.assertEqual(\u00271417462430.78693_0000000000000001\u0027, ts.internal)"},{"line_number":500,"context_line":""},{"line_number":501,"context_line":"    def test_init_from_float_with_delta(self):"},{"line_number":502,"context_line":"        ts \u003d timestamp.Timestamp(1234567890.12345, delta\u003d1)"},{"line_number":503,"context_line":"        self.assertEqual(0, ts.offset)"},{"line_number":504,"context_line":"        self.assertEqual(\u00271234567890.12346\u0027, ts.internal)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7fe553e4_1761c92d","line":501,"updated":"2026-06-26 08:48:15.000000000","message":"pep8: F811 redefinition of unused \u0027test_init_from_float_with_delta\u0027 from line 253","commit_id":"77922de78b4caeae008b4eb50137cded6699e4cc"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"85bf433245c9e53c8aadb3f7d5441e15a60db3f2","unresolved":false,"context_lines":[{"line_number":533,"context_line":"        self.assertEqual(float(ts_orig), float(ts))"},{"line_number":534,"context_line":"        self.assertEqual(ts_orig.internal[:-1], ts.internal[:-1])"},{"line_number":535,"context_line":""},{"line_number":536,"context_line":"    def test_init_from_normal_timestamp(self):"},{"line_number":537,"context_line":"        ts_orig \u003d timestamp.NormalTimestamp(1234567890.12345)"},{"line_number":538,"context_line":"        ts \u003d timestamp.Timestamp(ts_orig)"},{"line_number":539,"context_line":"        self.assertEqual(\u00271234567890.12345\u0027, ts.internal)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9875200e_9c542a34","line":536,"updated":"2026-06-26 08:48:15.000000000","message":"pep8: F811 redefinition of unused \u0027test_init_from_normal_timestamp\u0027 from line 358","commit_id":"77922de78b4caeae008b4eb50137cded6699e4cc"}]}
