Skip to content

Add two more examples, Add syntactic sugar for defining repositories - #2

Merged
Jekannadar merged 9 commits into
developfrom
feature/add-getting-started-example
Apr 2, 2026
Merged

Add two more examples, Add syntactic sugar for defining repositories#2
Jekannadar merged 9 commits into
developfrom
feature/add-getting-started-example

Conversation

@Jekannadar

Copy link
Copy Markdown
Contributor

Adds a basic example with no variance as well a simple example with one variant points.

Also adds a new feature: If an Abstract class or a class directly inheriting from ABC is added to CoSyLuigiRepo, it is instead expanded to all of its implementing classes, recursively.

The behavior of the new feature is best understood by looking at test_abstract_variant_expansion.py.

@codecov

codecov Bot commented Apr 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.87%. Comparing base (2f6731a) to head (3560804).
⚠️ Report is 1 commits behind head on develop.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop       #2      +/-   ##
===========================================
+ Coverage    91.57%   94.87%   +3.29%     
===========================================
  Files            2        4       +2     
  Lines           95      156      +61     
  Branches         9        9              
===========================================
+ Hits            87      148      +61     
  Misses           7        7              
  Partials         1        1              
Flag Coverage Δ
macos-latest-3.10 94.87% <100.00%> (+3.29%) ⬆️
macos-latest-3.11 94.87% <100.00%> (+3.29%) ⬆️
macos-latest-3.12 94.87% <100.00%> (+3.29%) ⬆️
macos-latest-3.13 94.87% <100.00%> (+3.29%) ⬆️
ubuntu-latest-3.10 94.87% <100.00%> (+3.29%) ⬆️
ubuntu-latest-3.11 94.87% <100.00%> (+3.29%) ⬆️
ubuntu-latest-3.12 94.87% <100.00%> (+3.29%) ⬆️
ubuntu-latest-3.13 94.87% <100.00%> (+3.29%) ⬆️
windows-latest-3.10 94.87% <100.00%> (+3.29%) ⬆️
windows-latest-3.11 94.87% <100.00%> (+3.29%) ⬆️
windows-latest-3.12 94.87% <100.00%> (+3.29%) ⬆️
windows-latest-3.13 94.87% <100.00%> (+3.29%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@cls-python-workflows cls-python-workflows Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Benchmark cosy-luigi

Details
Benchmark suite Current: 3560804 Previous: 8f52f5a Ratio
benchmarks/test_benchmark_chain_100.py::test_benchmark_chain_creation 0.1660571452799451 iter/sec (stddev: 0.02901652472891413) 0.18169852349570353 iter/sec (stddev: 0.020672653281968784) 1.09

This comment was automatically generated by workflow using github-action-benchmark.

@Jekannadar
Jekannadar merged commit 9ed793f into develop Apr 2, 2026
16 checks passed
@Jekannadar
Jekannadar deleted the feature/add-getting-started-example branch April 14, 2026 10:20
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.

1 participant