https://github.com/chalk-lab/mistyclosures.jl

Marginally less opaque closures.

https://github.com/chalk-lab/mistyclosures.jl

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.1%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Marginally less opaque closures.

Basic Info
  • Host: GitHub
  • Owner: chalk-lab
  • License: mit
  • Language: Julia
  • Default Branch: main
  • Homepage:
  • Size: 22.5 KB
Statistics
  • Stars: 9
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 6
Created about 2 years ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

MistyClosures

Build Status Code Style: Blue ColPrac: Contributor's Guide on Collaborative Practices for Community Packages

Marginally less opaque closures.

Specifically, a MistyClosure comprises an OpaqueClosure paired with the IRCode that defines it. This is useful if you generate an OpaqueClosure, and want to be able to retrieve the IRCode later on.

Recommended Use

```julia

Get the IRCode associated with sin(5.0).

ir = Base.codeircodeby_type(Tuple{typeof(sin), Float64}) |> only |> first; ir.argtypes[1] = Tuple{}

Produce a MistyClosure using it. All kwargs are passed to the OpaqueClosure

constructor.

mc = MistyClosure(ir; do_compile=true)

Call it.

mc(5.0) == sin(5.0) ```

Alternative Use

Sometimes you'll already have an OpaqueClosure lying around, and not want to produce a new one from an IRCode (as this often takes a surprisingly large amount of time). If this is the case, you can simply use the default constructor for MistyClosure. That is, write julia mc = MistyClosure(existing_opaque_closure, ir) Of course, it is your responsibility to ensure that ir and existing_opaque_closure are in agreement.

Owner

  • Name: Learning and Inference Group
  • Login: chalk-lab
  • Kind: organization
  • Location: United Kingdom

Hong Ge's Research Group at Cambridge University

GitHub Events

Total
  • Create event: 2
  • Commit comment event: 1
  • Issues event: 2
  • Watch event: 1
  • Delete event: 2
  • Issue comment event: 2
  • Push event: 24
  • Pull request event: 1
Last Year
  • Create event: 2
  • Commit comment event: 1
  • Issues event: 2
  • Watch event: 1
  • Delete event: 2
  • Issue comment event: 2
  • Push event: 24
  • Pull request event: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 3
  • Total pull requests: 8
  • Average time to close issues: less than a minute
  • Average time to close pull requests: about 18 hours
  • Total issue authors: 3
  • Total pull request authors: 3
  • Average comments per issue: 2.33
  • Average comments per pull request: 0.75
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 2
  • Pull requests: 4
  • Average time to close issues: N/A
  • Average time to close pull requests: 25 minutes
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 0.5
  • Average comments per pull request: 1.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jumerckx (1)
  • JuliaTagBot (1)
Pull Request Authors
  • willtebbutt (5)
  • yebai (1)
  • oxinabox (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • julia 789 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 6
juliahub.com: MistyClosures

Marginally less opaque closures.

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 789 Total
Rankings
Dependent repos count: 9.4%
Average: 24.9%
Dependent packages count: 40.4%
Last synced: 10 months ago

Dependencies

.github/workflows/CI.yml actions
  • actions/checkout v4 composite
  • julia-actions/cache v2 composite
  • julia-actions/julia-buildpkg v1 composite
  • julia-actions/julia-runtest v1 composite
  • julia-actions/setup-julia v2 composite
.github/workflows/CompatHelper.yml actions
.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite