https://github.com/camilogarciabotero/randomfunctions.jl
A repo hosting random functions from challenges of the Babel programming group
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.1%) to scientific vocabulary
Keywords from Contributors
Repository
A repo hosting random functions from challenges of the Babel programming group
Basic Info
- Host: GitHub
- Owner: camilogarciabotero
- License: mit
- Language: Julia
- Default Branch: main
- Homepage: https://camilogarciabotero.github.io/RandomFunctions.jl/
- Size: 121 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
RandomFunctions
Installation
As this is an unregistered package, installation should proceed this way:
jl
pkg> add https://github.com/camilogarciabotero/RandomFunctions.jl
julia> using RandomFunctions
Challenges and code
Collatz conjecture
The Collatz conjecture states that any number can be transformed to one applying the following function:
$$ f(n)= \begin{cases} n \div 2 &\text{if $n \equiv 0$} \ 3n+1 &\text{if $n \equiv 1$} \end{cases} $$ <!--
In this example the number with more steps is 8400511 and it needs 685 steps before reach 1.
jl
julia> max_stop_time_03(10^7)
(8400511, 685)
In this example the number with more steps is 8400511 and it needs 685 steps before reach 1.
Edit distance
This is the distance between two strings when displaying different lengths.
jl
julia> edit_distance("ATCTCGT", "ACTCCTC")[1]
3.0
Eratosthenes' sieves
Here we implemented a function to find all primes from 2 to n using the Erathostenes sieve and a list comprehension:
jl
julia> sieve(5)
3-element Vector{Int64}:
2
3
5
This is a test from github.dev 🙀
Owner
- Name: Camilo García
- Login: camilogarciabotero
- Kind: user
- Location: Bogotá, Colombia
- Company: Universidad de los Andes
- Website: https://camilogarciabotero.github.io
- Twitter: gaspardelanoche
- Repositories: 8
- Profile: https://github.com/camilogarciabotero
Biologist interested in applying bioinformatics and DS tools to understand evolution in different organisms. Currently working on bacteriophages and epigenomics
GitHub Events
Total
Last Year
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Camilo García | c****9@e****o | 78 |
| github-actions[bot] | 4****] | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 3 months
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 1.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 1
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- github-actions[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/cache v1 composite
- actions/checkout v2 composite
- codecov/codecov-action v1 composite
- julia-actions/julia-buildpkg v1 composite
- julia-actions/julia-buildpkg latest composite
- julia-actions/julia-docdeploy latest composite
- julia-actions/julia-processcoverage v1 composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v1 composite
- JuliaRegistries/TagBot v1 composite
- actions/checkout v2 composite
- julia-actions/setup-julia v1 composite