Run artifact

workspace/targets/FxRates/evidence/block-3.md

Evidence: Block 3 · Service (block-3)

Stories built

Acceptance tooling authorization

Stacked context

Build directory changes

Pre-build acceptance observation

intent: Loading the supplied January history succeeds and reports the fixture-derived date and rate counts. return code: 1 stderr: --- drydock: values at failure --- code = 1 --- drydock: end values --- Traceback (most recent call last): File "load-valid-file.py", line 7, in <module> assert code == 0 ^^^^^^^^^ AssertionError

intent: A rejected CSV file leaves the rates it would otherwise have changed untouched. return code: 1 stderr: --- drydock: values at failure --- code = 1 --- drydock: end values --- Traceback (most recent call last): File "load-rejects-atomically.py", line 13, in <module> assert code == 3 ^^^^^^^^^ AssertionError

intent: Loading a valid file stores its rate text exactly and replaces a matching stored rate. return code: 1 stderr: --- drydock: values at failure --- code = 1 --- drydock: end values --- Traceback (most recent call last): File "load-replaces-published-text.py", line 15, in <module> assert code == 0 ^^^^^^^^^ AssertionError

intent: The init command succeeds and leaves the rates repository empty. return code: 1 stderr: --- drydock: values at failure --- code = 1 --- drydock: end values --- Traceback (most recent call last): File "init-clears-store.py", line 8, in <module> assert code == 0 ^^^^^^^^^ AssertionError

intent: The init command rejects an unexpected argument with the usage exit status. return code: 1 stderr: --- drydock: values at failure --- code = 1 --- drydock: end values --- Traceback (most recent call last): File "init-rejects-extra-arguments.py", line 4, in <module> assert code == 2 ^^^^^^^^^ AssertionError

intent: The endpoint lists currencies present in the store in ascending order. return code: 1 stderr: --- drydock: values at failure --- response = <Response [404 Not Found]> --- drydock: end values --- Traceback (most recent call last): File "currencies-list-sorted.py", line 14, in <module> assert response.status_code == 200 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: The endpoint identifies EUR as the base currency. return code: 1 stderr: --- drydock: values at failure --- response = <Response [404 Not Found]> --- drydock: end values --- Traceback (most recent call last): File "currencies-base.py", line 5, in <module> assert response.status_code == 200 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: The latest-rates route returns the stored rates for the latest publication. return code: 1 stderr: --- drydock: values at failure --- response = <Response [404 Not Found]> --- drydock: end values --- Traceback (most recent call last): File "latest-rates-response.py", line 13, in <module> assert response.status_code == 200 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: The latest-rates route returns 404 when there is no publication. return code: 0

intent: The statistics endpoint reflects rates inserted through the repository. return code: 1 stderr: --- drydock: values at failure --- response = <Response [404 Not Found]> --- drydock: end values --- Traceback (most recent call last): File "stats-derive-from-store.py", line 19, in <module> assert response.status_code == 200 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: The statistics endpoint reports null date bounds when the rates store is empty. return code: 1 stderr: --- drydock: values at failure --- response = <Response [404 Not Found]> --- drydock: end values --- Traceback (most recent call last): File "stats-empty-store.py", line 13, in <module> assert response.status_code == 200 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: The route resolves a requested date to the latest available publication and returns its stored rates. return code: 1 stderr: --- drydock: values at failure --- response = <Response [404 Not Found]> --- drydock: end values --- Traceback (most recent call last): File "rates-effective-date.py", line 15, in <module> assert response.status_code == 200 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: The route returns the declared errors for a missing effective publication and a malformed date. return code: 1 stderr: --- drydock: values at failure --- client = <starlette.testclient.TestClient object at 0x777d8a9cda00> --- drydock: end values --- Traceback (most recent call last): File "rates-errors.py", line 5, in <module> assert client.get("/rates/2025-13-01").status_code == 422 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: The history endpoint returns bounded points and statistics derived from the seeded rates. return code: 1 stderr: --- drydock: values at failure --- response = <Response [404 Not Found]> --- drydock: end values --- Traceback (most recent call last): File "history-range-and-statistics.py", line 20, in <module> assert response.status_code == 200 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: The history endpoint distinguishes an empty range from a currency with no history and rejects malformed bounds. return code: 1 stderr: --- drydock: values at failure --- empty = <Response [404 Not Found]> --- drydock: end values --- Traceback (most recent call last): File "history-empty-range-and-errors.py", line 13, in <module> assert empty.status_code == 200 ^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: The conversion endpoint echoes its input amount and calculates its rate and result from the fixture rates with the specified rounding. return code: 1 stderr: --- drydock: values at failure --- response = <Response [404 Not Found]> --- drydock: end values --- Traceback (most recent call last): File "convert-decimal-and-rounding.py", line 27, in <module> assert response.status_code == 200 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: The conversion endpoint rejects missing or malformed inputs and returns 404 for a currency without a rate. return code: 1 stderr: --- drydock: values at failure --- client = <starlette.testclient.TestClient object at 0x7aaba5c419a0> --- drydock: end values --- Traceback (most recent call last): File "convert-validation-and-unknown-currency.py", line 4, in <module> assert client.get("/convert", params={"from": "USD", "to": "EUR"}).status_code == 422 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: The health endpoint responds successfully with the documented JSON body. return code: 1 stderr: --- drydock: values at failure --- response = <Response [404 Not Found]> --- drydock: end values --- Traceback (most recent call last): File "health-response.py", line 5, in <module> assert response.status_code == 200 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: An unsupported method is refused by the health route. return code: 1 stderr: --- drydock: values at failure --- response = <Response [404 Not Found]> --- drydock: end values --- Traceback (most recent call last): File "health-method.py", line 5, in <module> assert response.status_code == 405 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: Usage errors return status 2 and produce no standard output. return code: 1 stderr: --- drydock: values at failure --- code = 1 --- drydock: end values --- Traceback (most recent call last): File "cli-usage-errors.py", line 5, in <module> assert code == 2 ^^^^^^^^^ AssertionError

intent: File read failures return status 1 and rejected CSV files return status 3. return code: 1 stderr: --- drydock: values at failure --- code = 1 --- drydock: end values --- Traceback (most recent call last): File "cli-operational-errors.py", line 10, in <module> assert code == 3 ^^^^^^^^^ AssertionError

Post-build programmatic acceptance

intent: Loading the supplied January history succeeds and reports the fixture-derived date and rate counts. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: A rejected CSV file leaves the rates it would otherwise have changed untouched. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: Loading a valid file stores its rate text exactly and replaces a matching stored rate. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The init command succeeds and leaves the rates repository empty. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The init command rejects an unexpected argument with the usage exit status. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The endpoint lists currencies present in the store in ascending order. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The endpoint identifies EUR as the base currency. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The latest-rates route returns the stored rates for the latest publication. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The latest-rates route returns 404 when there is no publication. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The statistics endpoint reflects rates inserted through the repository. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The statistics endpoint reports null date bounds when the rates store is empty. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The route resolves a requested date to the latest available publication and returns its stored rates. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The route returns the declared errors for a missing effective publication and a malformed date. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The history endpoint returns bounded points and statistics derived from the seeded rates. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The history endpoint distinguishes an empty range from a currency with no history and rejects malformed bounds. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The conversion endpoint echoes its input amount and calculates its rate and result from the fixture rates with the specified rounding. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The conversion endpoint rejects missing or malformed inputs and returns 404 for a currency without a rate. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: The health endpoint responds successfully with the documented JSON body. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: An unsupported method is refused by the health route. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: Usage errors return status 2 and produce no standard output. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

intent: File read failures return status 1 and rejected CSV files return status 3. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/FxRates/runs/20261026.202600/build/FxRates/.venv/bin/python provisioning: not required return code: 0

Repair attempts

Build summary

RESULT: SUCCESS

FILES CHANGED:

SUMMARY: Added a keyed rate delete operation and updated init to clear rows through the persistence boundary. Added a rollback-fixture test for initialization. The focused repository suite passed: 6 tests.

Restart required — run the start script or equivalent.

BLOCKERS: