Skip to content

Conversation

nicolasfara
Copy link
Contributor

@nicolasfara nicolasfara commented Oct 6, 2025

This PR introduces a basic Alchemist incarnation supporting scafi3

Copy link

codecov bot commented Oct 6, 2025

Codecov Report

❌ Patch coverage is 25.00000% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.14%. Comparing base (294fdb3) to head (aca74dd).

Files with missing lines Patch % Lines
...unibo/scafi/language/xc/FieldBasedSharedData.scala 0.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #145      +/-   ##
==========================================
- Coverage   69.40%   68.14%   -1.26%     
==========================================
  Files          40       40              
  Lines         487      496       +9     
  Branches       40       46       +6     
==========================================
  Hits          338      338              
- Misses        149      158       +9     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

mergify bot commented Oct 8, 2025

Hi @nicolasfara! 👋
This pull request has conflicts 😖
Could you fix it? 🔧
Thank you! 🙏

Copy link
Contributor

@cric96 cric96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful job! 💯
Just some minors.

def gradient(using Lang): Double =
share(Double.MaxValue): prevValues =>
val distances = senseDistance[Double]
val minDistance = prevValues.alignedMap(distances)(_ + _).withoutSelf.min
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we implement some basic operators? Like +, -, etc via type classes?

Copy link
Contributor Author

@nicolasfara nicolasfara Oct 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean basic operators over ShareData[T] (aka Field)?

@nicolasfara nicolasfara force-pushed the feat/incarnation branch 2 times, most recently from aa77201 to 821b061 Compare October 12, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants