• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nielstron / opshin / 17455519698 / 2
91%
dev: 92%

Build:
Build:
LAST BUILD BRANCH: openhands-fix-issue-5-try2
DEFAULT BRANCH: dev
Ran 04 Sep 2025 06:57AM UTC
Files 50
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Sep 2025 06:36AM UTC coverage: 92.199%. First build
17455519698.2

push

github

openhands-agent
Fix issue #1 with 2nd Model

Summary of Changes:
The issue was that the time unit difference for POSIX time between Cardano (milliseconds) and Python (seconds) was not documented, leading to potential confusion and errors. The provided patch successfully resolves this issue.

1.  In the core ledger API files (`opshin/ledger/api_v2.py` and `opshin/ledger/api_v3.py`), a clear and explicit comment has been added above the `POSIXTime` type definition. This comment states that the time is in milliseconds and warns the user to multiply Python's standard `time.time()` result by 1000. This directly addresses the "should be documented somehow" part of the issue.
2.  In the example smart contract (`examples/smart_contracts/simple_script.py`), the variable `unixtimestamp` was renamed to `punixtimestamp`, and a comment `# posix time in milliseconds` was added. This change makes the expected unit transparent to developers who use this example as a reference, fulfilling the second part of the issue's request.

Together, these changes effectively document the time unit discrepancy in both the core API definition and in a practical example, resolving the issue.

Duration: 8m 35s

1211 of 1440 branches covered (84.1%)

Branch coverage included in aggregate %.

4663 of 4931 relevant lines covered (94.56%)

0.95 hits per line

Source Files on job 3.9 - 17455519698.2
  • Tree
  • List 50
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 17455519698
  • a5402e86 on github
  • Next Job for on openhands-fix-issue-1-try2 (#17455801951.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc