TheAlgorithms/F-Sharp
59.4
Adequate · 16 October 2026
1.5k
lines of production code
F#
primary language
1
measurement over time
What this system is
This system is an educational F\# library implementing a comprehensive collection of algorithms and data structures. It provides functional implementations for mathematical computations, sorting, searching, string manipulation, and immutable data structures like AVL trees, Treaps, and Tries. The codebase is structured as a .NET 8.0 project with extensive unit test coverage to verify correctness across all modules.
Features
Add AVL Tree, Treap, and Trie data structures
New immutable data structures have been added to the Algorithms library: an AVL Tree for balanced binary search operations, a Treap supporting insert, erase, and k-th element retrieval via split/merge logic, and a Trie for efficient string prefix searches. These implementations provide users with additional functional data structure options for sorting, searching, and text processing tasks.
Algorithms/DataStructures · high confidence
Added Binary Search algorithm
A new BinarySearch module has been added to the Algorithms/Search folder, providing a findIndex function that searches for a target item in a sorted array. The implementation uses a recursive approach with O(log n) time complexity and returns -1 if the target is not found.
Algorithms/Search · high confidence
Expanded set of mathematical algorithms in the Math module
The Algorithms/Math area now includes implementations for absolute value (Abs), absolute max/min (AbsMax, AbsMin), average calculation (Average), factorial with multiple strategies (Factorial), Fibonacci sequence (Fibonacci), greatest common divisor (Greatest\_Common\_Divisor), perfect number detection (Perfect\_Numbers), exponentiation (Power), and primality testing (Prime). These additions provide users with a broader range of standard mathematical functions within this namespace.
Algorithms/Math · high confidence
Initial repository setup with F\# algorithms and project scaffolding
This change establishes the F\# implementation of The Algorithms repository, introducing a Visual Studio solution with an Algorithms library and a corresponding test project. It includes a comprehensive collection of educational algorithms and data structures, specifically adding AVL trees, Treaps, and Tries alongside existing math, search, sort, and string utilities. The release also provides essential project documentation, including a Code of Conduct, contributing guidelines, and an auto-generated directory index, while configuring editor settings via .editorconfig and updating the .gitignore to exclude IDE-specific files.
(repo-wide) · high confidence
New sorting algorithms added to the library
The Algorithms/Sort module now includes implementations for Bubble Sort, Comb Sort, Cycle Sort, Gnome Sort, Heap Sort, Insertion Sort, Merge Sort, Pancake Sort, and Quick Sort. These additions expand the available sorting capabilities within the library, providing users with a wider variety of algorithmic options for data sorting tasks.
Algorithms/Sort · high confidence
New string manipulation and algorithmic functions added to the Strings library
The Algorithms/Strings module has been significantly expanded with a wide range of new capabilities. Basic text transformations now include Capitalize, Lower, Upper, SwapCase, ReverseLetters, ReverseWords, Split, RemoveDuplicates, and WordOccurrence. Pattern matching and search functionality has been added via NaiveStringSearch, RabinKarp, KnuthMorrisPratt (KMP), ZFunction, and HasPrefix/HasSuffix. Additional algorithms for string analysis and comparison include CheckAnagrams, CheckPangram, IsPalindrome, JaroWinkler, LevenshteinDistance, MinCostStringConversion, Manacher, and PrefixFunction.
Algorithms/Strings · high confidence
Test coverage
Added test coverage for AVL Tree, Treap, and Trie data structures; Added unit tests for Strings algorithms; Added unit tests for math and search algorithms.
Dependencies
Initial project structure with .NET 8.0 and MSTest dependencies
The repository introduces the core library and test project files, establishing a .NET 8.0 target framework for both the Algorithms library and its test suite. The test project is configured with MSTest (v2.2.8) and Microsoft.NET.Test.Sdk (v17.0.0) to support unit testing, while the main library is set up as a non-packable output targeting the same framework.
(dependencies) · high confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 62 → 59 (-3.0)
- Rubric changed (rubric-2026.10.1 → rubric-2026.10.5) — scores are not directly comparable.
Lenses
- Code Health 97 → 97 (-0.2)
- Architecture 96 → 97 (+1.0)
- Maturity 45 → 38 (-6.4)
- Readiness 64 → 64 (+0.0)
- Security 88 → 88 (+0.0)
Resolved (1)
- Outdated: coverlet.collector
New (2)
- IL efficiency: 3 authored method(s) exceed the IL budget (Algorithms/Strings/MinCostStringConversion.fs)
- Outdated: coverlet.collector (Algorithms.Tests/Algorithms.Tests.fsproj)
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
TheAlgorithms/F-Sharp was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 16 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit e5441e8bfd2cda87541634b75f39f0868447ae5f — the exact code this score is about.
- Scored under rubric-2026.10.5 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-fe8540b5da9b.