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

New version of agent macro #870

Merged
merged 22 commits into from
Sep 20, 2023
Merged

New version of agent macro #870

merged 22 commits into from
Sep 20, 2023

Conversation

Tortar
Copy link
Member

@Tortar Tortar commented Sep 6, 2023

Per #869

e.g. this now works

abstract type Foo end
@agent struct NewAgent(GridAgent{2}) <: Foo
    x::Int = 1
    const y::Int
end

@codecov-commenter
Copy link

codecov-commenter commented Sep 6, 2023

Codecov Report

Merging #870 (96488cf) into main (abca390) will increase coverage by 0.96%.
Report is 6 commits behind head on main.
The diff coverage is 82.60%.

@@            Coverage Diff             @@
##             main     #870      +/-   ##
==========================================
+ Coverage   71.76%   72.72%   +0.96%     
==========================================
  Files          42       42              
  Lines        2745     2871     +126     
==========================================
+ Hits         1970     2088     +118     
- Misses        775      783       +8     
Files Changed Coverage Δ
src/Agents.jl 100.00% <ø> (ø)
src/deprecations.jl 2.00% <0.00%> (-0.33%) ⬇️
src/simulations/sample.jl 100.00% <ø> (ø)
src/spaces/continuous.jl 92.30% <ø> (-0.96%) ⬇️
src/spaces/graph.jl 76.19% <ø> (ø)
src/spaces/grid_general.jl 99.16% <ø> (+0.32%) ⬆️
src/spaces/openstreetmap.jl 72.30% <ø> (ø)
src/core/agents.jl 100.00% <100.00%> (+7.69%) ⬆️
src/core/space_interaction_API.jl 93.07% <100.00%> (+0.76%) ⬆️

... and 14 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Tortar Tortar added this to the v6.0 milestone Sep 20, 2023
@Tortar Tortar merged commit 71fac47 into main Sep 20, 2023
5 checks passed
@Tortar Tortar deleted the agent-macro branch September 20, 2023 18:35
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