Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Tracing prototype #727

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft

feat: Tracing prototype #727

wants to merge 28 commits into from

Conversation

mark-koch
Copy link
Collaborator

@mark-koch mark-koch commented Dec 17, 2024

TODO:

  • Fix mypy issues
  • Add documentation
  • Rename to comptime
  • Add tests
  • Support structs
  • Support array and nat
  • Check arrays and structs at function boundary
  • Disallow mutation of input structs and arrays unless they are borrowed
  • Higher-order functions

@mark-koch mark-koch mentioned this pull request Dec 17, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jan 6, 2025

Codecov Report

Attention: Patch coverage is 83.20000% with 126 lines in your changes missing coverage. Please review.

Project coverage is 92.15%. Comparing base (15bae6e) to head (b2bd5a2).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
guppylang/tracing/object.py 81.96% 55 Missing ⚠️
guppylang/tracing/unpacking.py 64.00% 36 Missing ⚠️
guppylang/tracing/builtins_mock.py 66.66% 11 Missing ⚠️
guppylang/tracing/function.py 87.67% 9 Missing ⚠️
guppylang/definition/traced.py 92.53% 5 Missing ⚠️
guppylang/error.py 20.00% 4 Missing ⚠️
guppylang/tracing/util.py 94.23% 3 Missing ⚠️
guppylang/tracing/state.py 94.44% 2 Missing ⚠️
guppylang/std/_internal/compiler/array.py 93.75% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #727      +/-   ##
==========================================
- Coverage   93.03%   92.15%   -0.89%     
==========================================
  Files          71       78       +7     
  Lines        8360     9099     +739     
==========================================
+ Hits         7778     8385     +607     
- Misses        582      714     +132     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@qartik qartik linked an issue Feb 4, 2025 that may be closed by this pull request
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.

Tracing MVP
2 participants