Skip to content

Conversation

@polybassa
Copy link
Contributor

I did some experiments with Github Copilot for a CBOR implementation. I manually reviewed the implementation.

Copilot AI and others added 6 commits February 11, 2026 21:28
Co-authored-by: polybassa <1676055+polybassa@users.noreply.github.com>

Address code review comments: improve error messages and implement proper half-float decoding

Co-authored-by: polybassa <1676055+polybassa@users.noreply.github.com>

Add cbor2 interoperability tests (cbor2 used ONLY in tests)

Co-authored-by: polybassa <1676055+polybassa@users.noreply.github.com>

Document cbor2 as test-only dependency in test file header

Co-authored-by: polybassa <1676055+polybassa@users.noreply.github.com>

Add CBOR documentation to advanced_usage.rst following ASN.1 pattern

Co-authored-by: polybassa <1676055+polybassa@users.noreply.github.com>

Add cbor2 to tox.ini testenv deps for CBOR interoperability tests

Co-authored-by: polybassa <1676055+polybassa@users.noreply.github.com>
Co-authored-by: polybassa <1676055+polybassa@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

❌ Patch coverage is 83.33333% with 91 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.65%. Comparing base (ded1d73) to head (f04ae79).

Files with missing lines Patch % Lines
scapy/cbor/cborcodec.py 84.51% 57 Missing ⚠️
scapy/cbor/cbor.py 80.11% 34 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4916      +/-   ##
==========================================
+ Coverage   80.10%   80.65%   +0.55%     
==========================================
  Files         370      373       +3     
  Lines       91727    92270     +543     
==========================================
+ Hits        73477    74420     +943     
+ Misses      18250    17850     -400     
Files with missing lines Coverage Δ
scapy/cbor/__init__.py 100.00% <100.00%> (ø)
scapy/tools/UTscapy.py 65.11% <100.00%> (ø)
scapy/cbor/cbor.py 80.11% <80.11%> (ø)
scapy/cbor/cborcodec.py 84.51% <84.51%> (ø)

... and 17 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

… file opens

Co-authored-by: polybassa <1676055+polybassa@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants