Skip to content

Changed so that the 'season' starts on the opposite one - #317

Merged
anyaevostinar merged 13 commits into
anyaevostinar:mainfrom
LaurenC267:main
Jul 16, 2026
Merged

Changed so that the 'season' starts on the opposite one#317
anyaevostinar merged 13 commits into
anyaevostinar:mainfrom
LaurenC267:main

Conversation

@LaurenC267

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread source/sgp_mode/SGPWorldSetup.cc Outdated
Comment thread source/sgp_mode/SGPWorldSetup.cc
Comment thread source/test/sgp_mode_test/functional_tests/SenseTask_Tasks.test.cc
Comment thread source/test/sgp_mode_test/functional_tests/SenseTask_Tasks.test.cc Outdated

@anyaevostinar anyaevostinar left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Couple of changes, but almost done!

@anyaevostinar

Copy link
Copy Markdown
Owner

Also you'll need to solve the merge conflicts with main, we can go through it on Monday or you can try sooner than that

}


TEST_CASE("debt", "[sgp][sgp-unit]"){

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Longer phrase please

using cpu_state_t = sgpmode::CPUState<world_t>;
using hw_spec_t = sgpmode::SGPHardwareSpec<sgpmode::Library, cpu_state_t, world_t>;
using sgp_host_t = sgpmode::SGPHost<hw_spec_t>;
GIVEN("A zero point value"){

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

"A host starting with zero points

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

"that can do Not and world punishes not

config.TASK_ENV_CFG_PATH("source/test/sgp_mode_test/hardware-test-env.json");
world_t world(random, &config);
auto& prog_builder = world.GetProgramBuilder();
emp::Ptr<sgp_host_t> host = emp::NewPtr<sgp_host_t>(&random, &world, &config, prog_builder.CreateNotProgram(100));

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

CreateReproProgram instead

@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.05882% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.07%. Comparing base (dc8e6af) to head (db5544d).

Files with missing lines Patch % Lines
source/sgp_mode/SGPHost.h 75.00% 1 Missing ⚠️
source/sgp_mode/SGPSymbiont.h 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #317      +/-   ##
==========================================
+ Coverage   77.05%   77.07%   +0.01%     
==========================================
  Files         108      108              
  Lines       23131    23154      +23     
  Branches     1611     1615       +4     
==========================================
+ Hits        17824    17845      +21     
- Misses       5236     5238       +2     
  Partials       71       71              

☔ View full report in Codecov by Harness.
📢 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.

@anyaevostinar
anyaevostinar merged commit 4758b20 into anyaevostinar:main Jul 16, 2026
4 checks passed
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