Skip to content

Conversation

@DrPaulSharp
Copy link
Contributor

No description provided.

codescene-delta-analysis[bot]

This comment was marked as outdated.


custom_test_directory = 'custom_test'

def get_files_to_load(directory_name: str) -> list[str]:
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion - this function is likely simpler using pathlib.Path rather than os.listdir/os.path.join; Path.iterdir will give the absolute path to the resource without needing to join the load_from back on again. (Pity that AsciiReaderParams doesn't accept Path objects)

interpolated_trend = trend.interpolate(to_interpolate_on)
assert interpolated_trend.all_axis_match(to_interpolate_on)

def test_trend_q_axis_match():
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible for this test (or another test) to test that the maths is correct in the interpolation?

Copy link

@rprospero rprospero left a comment

Choose a reason for hiding this comment

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

As per the comment @llimeht about testing, we should include test/transforms/utest_interpolation.py. With that included, I feel everything is ready to merge.

Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a comment

Choose a reason for hiding this comment

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

Gates Failed
Enforce critical code health rules (1 file with Bumpy Road Ahead)

Gates Passed
2 Quality Gates Passed

See analysis details in CodeScene

Reason for failure
Enforce critical code health rules Violations Code Health Impact
trend.py 1 critical rule 9.24 Suppress

Quality Gate Profile: The Bare Minimum
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.

@DrPaulSharp DrPaulSharp merged commit 7b6769f into master Nov 12, 2025
10 of 11 checks passed
@DrPaulSharp DrPaulSharp deleted the merge_refactor_24_trend branch November 12, 2025 16:26
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.

4 participants