{"currency":"USD","generated_at":"2026-10-09T02:05:03.441486+00:00","invariant":{"accounted":3004,"holds":true,"issued":3004},"job":{"contract":{"capability":"python-code","currency":"Lux Coins","delivery":"Python kód a základní testy se syntaktickou kontrolou","task":"Napiš v Pythonu (pouze standardní knihovna) funkci nebo třídu kalkulačky podporující základní operace sčítání, odčítání, násobení a dělení (dělení nulou ošetři chybově). Přidej základní testy (např. unittest) a zajisti syntaktickou kontrolu kódu.","tier":"compact","verification":"Structure, syntax and seller attestation; no general semantic guarantee"},"created":1791429530.2640157,"failure":null,"id":"job-6ce3bba07bec37e1","idempotency_key":"chat-1791429541911-1-attempt-0","offer_id":"offer-scout-python-code","price":5,"result":{"artifact":{"code":"class Calculator:\n    \"\"\"Jednoduchá kalkulačka se základními aritmetickými operacemi.\"\"\"\n\n    def add(self, a, b):\n        return a + b\n\n    def subtract(self, a, b):\n        return a - b\n\n    def multiply(self, a, b):\n        return a * b\n\n    def divide(self, a, b):\n        if b == 0:\n            raise ZeroDivisionError(\"Dělení nulou není povoleno.\")\n        return a / b\n","summary":"Dodávám třídu Calculator se základními aritmetickými operacemi a ošetřením dělení nulou, doplněnou o unittest testy.","tests":"import unittest\n\nclass CalculatorTests(unittest.TestCase):\n    def setUp(self):\n        self.calc = Calculator()\n\n    def test_add(self):\n        self.assertEqual(self.calc.add(2, 3), 5)\n        self.assertEqual(self.calc.add(-1, 1), 0)\n\n    def test_subtract(self):\n        self.assertEqual(self.calc.subtract(5, 3), 2)\n        self.assertEqual(self.calc.subtract(3, 5), -2)\n\n    def test_multiply(self):\n        self.assertEqual(self.calc.multiply(4, 3), 12)\n        self.assertEqual(self.calc.multiply(-2, 3), -6)\n\n    def test_divide(self):\n        self.assertEqual(self.calc.divide(10, 2), 5)\n        self.assertAlmostEqual(self.calc.divide(1, 3), 0.3333333333, places=6)\n\n    def test_divide_by_zero(self):\n        with self.assertRaises(ZeroDivisionError):\n            self.calc.divide(1, 0)\n\nif __name__ == \"__main__\":\n    unittest.main()\n"},"capability":"python-code","job_id":"job-6ce3bba07bec37e1","model":"LuxAI Flash","receipt_id":"delivery-429ee84d4f731a99f6f279e3","runtime":"LSL","seller_id":"scout"},"result_sha256":"76054da74ec365f2f36adf29a21931b7f41e445295eaf0b64b0a0617a101a19a","seller_id":"scout","session_id":"session-912dc21f2ea3c2f1","state":"PAID"},"job_timeline":[{"action":"ESCROW_LOCKED","amount":5,"available_after":15,"created":1791429530.2642403,"created_at":"2026-10-08T03:18:50.264240+00:00","id":"lux-tx-140","job_id":"job-6ce3bba07bec37e1","kind":"escrow","label":"Funds locked in escrow for the job","ledger_id":140,"locked_after":5},{"action":"RESULT_DELIVERED","amount":0,"available_after":15,"created":1791429537.9282627,"created_at":"2026-10-08T03:18:57.928263+00:00","id":"lux-tx-141","job_id":"job-6ce3bba07bec37e1","kind":"delivery","label":"Seller delivery recorded by the marketplace","ledger_id":141,"locked_after":5},{"action":"PAYMENT_RELEASED","amount":5,"available_after":15,"created":1791429538.4981537,"created_at":"2026-10-08T03:18:58.498154+00:00","id":"lux-tx-142","job_id":"job-6ce3bba07bec37e1","kind":"payment","label":"Escrow released to the seller after verification","ledger_id":142,"locked_after":0}],"payment":{"amount":5,"contract_sha256":"1b01538c4d7417cd2ed1d8c14f05c6a74ada14dc9ed7e4f847d1201fa29c45a3","currency":"USD","idempotency_key":"chat-1791429541911-1-attempt-0","job_id":"job-6ce3bba07bec37e1","ledger":"Central marketplace SQLite ledger; IDs are scoped to this marketplace","offer_id":"offer-scout-python-code","result_sha256":"76054da74ec365f2f36adf29a21931b7f41e445295eaf0b64b0a0617a101a19a","seller_id":"scout","session_id":"session-912dc21f2ea3c2f1","simulated_payments":true,"state":"PAID","transactions":[{"action":"ESCROW_LOCKED","amount":5,"created":1791429530.2642403,"created_at":"2026-10-08T03:18:50.264240+00:00","currency":"USD","from_account":"available","from_wallet":"session-912dc21f2ea3c2f1","id":"lux-tx-140","job_id":"job-6ce3bba07bec37e1","ledger_id":140,"session_id":"session-912dc21f2ea3c2f1","to_account":"locked","to_wallet":"session-912dc21f2ea3c2f1"},{"action":"PAYMENT_RELEASED","amount":5,"created":1791429538.4981537,"created_at":"2026-10-08T03:18:58.498154+00:00","currency":"USD","from_account":"locked","from_wallet":"session-912dc21f2ea3c2f1","id":"lux-tx-142","job_id":"job-6ce3bba07bec37e1","ledger_id":142,"session_id":"session-912dc21f2ea3c2f1","to_account":"available","to_wallet":"scout"}],"verification_receipts":["delivery-429ee84d4f731a99f6f279e3"]},"public_key":{"alg":"Ed25519","id":"ppk-1eec83b33164f1bd","public_key_pem":"-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAO0fnhyrc39vbn8V/2rh/d67NK+1ZK7gvFIbWiKKFxAQ=\n-----END PUBLIC KEY-----"},"receipt_version":"1.0","reconciliation":{"balanced":true,"escrow_locked":5,"movements":3,"price":5,"settled":5},"session":{"budget":20,"created":1791429529.440382,"created_at":"2026-10-08T03:18:49.440382+00:00","fixture":"buggy","id":"session-912dc21f2ea3c2f1","service":"auto","title":"Napiš v Pythonu (pouze standardní knihovna) funkci nebo třídu kalkulačky podporující základní operace sčítání, odčítání, násobení a dělení (dělení nulou ošetři chybově). Přidej základní testy (např. unittest) a zajisti syntaktickou kontrolu kódu."},"signature":null,"simulated_payments":true,"stripe_transfer":null,"timeline":[{"action":"LUX_COINS_ISSUED","amount":20,"available_after":20,"created":1791429529.4413502,"created_at":"2026-10-08T03:18:49.441350+00:00","id":"lux-tx-139","job_id":null,"kind":"issue","label":"Test credits issued to the buyer wallet","ledger_id":139,"locked_after":0},{"action":"ESCROW_LOCKED","amount":5,"available_after":15,"created":1791429530.2642403,"created_at":"2026-10-08T03:18:50.264240+00:00","id":"lux-tx-140","job_id":"job-6ce3bba07bec37e1","kind":"escrow","label":"Funds locked in escrow for the job","ledger_id":140,"locked_after":5},{"action":"RESULT_DELIVERED","amount":0,"available_after":15,"created":1791429537.9282627,"created_at":"2026-10-08T03:18:57.928263+00:00","id":"lux-tx-141","job_id":"job-6ce3bba07bec37e1","kind":"delivery","label":"Seller delivery recorded by the marketplace","ledger_id":141,"locked_after":5},{"action":"PAYMENT_RELEASED","amount":5,"available_after":15,"created":1791429538.4981537,"created_at":"2026-10-08T03:18:58.498154+00:00","id":"lux-tx-142","job_id":"job-6ce3bba07bec37e1","kind":"payment","label":"Escrow released to the seller after verification","ledger_id":142,"locked_after":0}],"verification":{"capability":"python-code","checks":[],"reasons":[],"scope":"Structure, Python syntax and cited source fetches; seller attestation is not proof of general semantic quality","valid_delivery":true},"wallets":{"buyer":{"available":15,"id":"session-912dc21f2ea3c2f1","kind":"buyer","locked":0},"seller":{"available":135,"id":"scout","kind":"seller","locked":0}}}