A curated list of token bonding curve code and resources.
Elixir GenServer module based on the popular Python package cadCAD: "Design, test and validate complex systems through simulation in Python"
BenSchZA/cadcad-predator-prey-model 2
Update of cadCAD predator-prey model by Danilo @danlessa for v0.4.18
A ReasonML, BuckleScript TEA, and GraphQL webapp
0x protocol monorepo - includes our smart contracts and many developer tools
BenSchZA/android-kotlin-alarm-clock 0
An Android alarm clock, written in Kotlin, with media channels and social media sharing. Streams and caches media to work both online & offline.
Playbooks for automating server procedures based on our Community guides
startedEmbarkStudios/rust-gpu
started time in 2 hours
pull request commentcommons-stack/commons-simulator
Set to local_mode and revert params changes
See https://gist.github.com/BenSchZA/1d06357e1a07daf6dbf44855c6875e3b for logs for reference.
comment created time in 2 days
PR opened commons-stack/commons-simulator
pr created time in 2 days
startedpapercups-io/papercups
started time in 2 days
startedAbstractMachinesLab/caramel
started time in 3 days
issue commentcadCAD-org/cadCAD
Possible bug: Parameter sweep pre-processing
It seems that behaviour is only when there is a single parameter in the list, which makes sense.
comment created time in 3 days
issue commentcadCAD-org/cadCAD
Possible bug: Parameter sweep pre-processing
Here's a basic example of the issue: https://gist.github.com/BenSchZA/be5403e937c94c05f82cdcb905579b8e
comment created time in 3 days
issue openedcadCAD-org/cadCAD
Possible bug: Parameter sweep pre-processing
I have a query about cadCAD version 0.4.23 and parameter sweeps.
As far as I can remember the default behaviour of cadCAD is to pre-process the parameters, and extend all parameter lists to match the length of the longest parameter list, for example:
params = {
'a': [1, 2, 3],
'b': [0]
}
which is processed and becomes the following, for the last subset:
params = {
'a': 3
'b': 0
}
Instead, what currently happens is that the parameter 'b' isn't passed to the policy/state update functions. For subsets 2 and 3. If the behaviour has changed, that's okay, but I believe the default behaviour was to extend the parameter lists using the last entry as the default - this worked well.
created time in 3 days
PR opened cadCAD-org/demos
When running the experiments, the global configs list is cleared for the second run, but not for the first, which created some confusion for first time users who ran the initial code cells again without restarting the kernel or clearing the configs. This PR updates that by importing the configs list and clearing where appropriate.
pr created time in 10 days
fork BenSchZA/demos
This repo contains tutorials and demos for learning how to use cadCAD. [task: replace this readme with a real one]
fork in 10 days
issue openedBenSchZA/radCAD
See comment on Gitter:
Hi everyone! I found a few threads re. PyO3 memory use, the GIL, releasing the GIL to free memory, etc. (PyO3/pyo3#311, https://github.com/Renmusxd/pyo3_memory, https://github.com/PyO3/pyo3/issues/319). In my package https://github.com/BenSchZA/radCAD I'm creating large lists of dictionaries, calling Python functions, and passing the list to those functions. In Python, that process uses maybe 500mb of memory, in PyO3, it quickly ramps up to 5GB+. The library is less than 300 loc, so maybe someone would be able to suggest a solution - because I'm relying on creating and using large PyLists maybe there isn't a way to free the memory easily?
- https://pyo3.rs/v0.12.1/advanced.html#memory-management
- https://github.com/PyO3/pyo3/issues/1056
created time in 10 days
push eventBenSchZA/notebook-tools
commit sha a9db1f4f90f6df72d28bf1235ca16b988d7b86be
Update README.md
push time in 12 days
startedmsalvaris/nbtoolz
started time in 12 days
startedkopptr/notebook-tools
started time in 12 days
push eventBenSchZA/notebook-tools
commit sha 6a1965b8c3ee8236ec7ad5258c1b4603a5af1caa
Add args
push time in 13 days
push eventBenSchZA/notebook-tools
commit sha 56a170b024a5a2eb70604e912a702159e62aa641
Add args
push time in 13 days
startedairbnb/visx
started time in 20 days
startedash-project/ash
started time in 21 days
startedityonemo/zigler
started time in 22 days
startedLouisBrunner/valgrind-macos
started time in 23 days
push eventBenSchZA/radCAD
commit sha 9ae2cff77980afaadb50a639921d98a742de0a89
Clean-up w/ Clippy & add tests
push time in 23 days
push eventBenSchZA/radCAD
commit sha f179f26ab02d1d10d3a76aa145c604a041f9bff2
Publish to PyPi
push time in 24 days
push eventBenSchZA/radCAD
commit sha 75ed5b1726b82da3101273dbe0895494d0e51dd7
Publish to PyPi
push time in 24 days
push eventBenSchZA/radCAD
commit sha 3c0a208e4e7116e287f7cd1c859eae16d4e04d51
Update tests
commit sha 43b203017e30377ec8cbebf29e03ccc0afab9508
Resolve conflicts
push time in a month
push eventBenSchZA/radCAD
commit sha 4e87c1be11efb5bc00983a7736f089f9439a0e7f
Update README.md
push time in a month
push eventBenSchZA/radCAD
commit sha 785c9e8786cf11325f8f80af4ca8a6d7a075ed6a
Update README
push time in a month
push eventBenSchZA/radCAD
commit sha 4f56d7e2dff14cf72fc7b04cb9f41a69b6d0f8e9
Remove copy
commit sha 731f311303ef9d559dac76e8c742049cb070af65
reduce_signals PyDict
push time in a month
push eventBenSchZA/radCAD
commit sha 04e81c4dd6a9b8d2aa2e96028d9509fd4267469d
Refactor function
push time in a month
push eventBenSchZA/radCAD
commit sha b5e8b7aa08243f59940c5fc71a2f25dc38969de9
Py arg
commit sha aa90b595b8c9ad368ba70dfc248c2ca86941ffb9
Add gitignore
push time in a month
push eventBenSchZA/radCAD
commit sha e78967834d32162657c846bf739f37bf65e4c972
Add test
push time in a month
push eventBenSchZA/radCAD
commit sha 17a49ce4b6f80ba895d3e9aa6402cc59ad9b9f98
Update benchmark
commit sha e3f7d2b5faae73a22ce6da7792a197ab343e2b01
Merge branch 'master' of github.com:BenSchZA/radCAD
push time in a month
startednumba/numba
started time in a month
pull request commentBenSchZA/radCAD
Thanks for the contribution @samoylovfp !
comment created time in a month
push eventBenSchZA/radCAD
commit sha 9ba710285ffd17ca9cb320d6eadbfcfd8a5cec10
Fix cadcad url in README
commit sha 65330016a9e982afc7db94cf598f1b63b25e3f7c
Merge pull request #1 from samoylovfp/patch-1 Fix cadcad url in README
push time in a month
push eventBenSchZA/radCAD
commit sha 31244333f146de022dc41de1c42ec4b6ffcbe6a1
Add requirements
commit sha ba1376d1e4214ea08335e4e1851fdfdb54bd4056
Merge branch 'master' of github.com:BenSchZA/radCAD
push time in a month
push eventBenSchZA/radCAD
commit sha ed0b5cbd163710557a85581c6780e451b0009d88
Update README.md
push time in a month
push eventBenSchZA/radCAD
commit sha 6883ca349dc6b7abea7c9140df9af5138f5468e2
Update README.md
push time in a month
push eventBenSchZA/radCAD
commit sha 7a72484e111183e34754f323009946828d85b640
Add benchmark
push time in a month
push eventBenSchZA/radCAD
commit sha 04fb58a79f1945b908658d38d85ee35fc3af8c02
Add Model/Simulation class
push time in a month
push eventBenSchZA/radCAD
commit sha 1b5aa23a37b36e4ab8ec4193011fa0d9aeb8812c
Clean-up
commit sha b21c462ed48d869c819c11da8ad21cf3b340673c
Merge branch 'master' of github.com:BenSchZA/radCAD
commit sha 9b61f757289598d829b4951c5c60348d3320342e
Add scratchpad
commit sha b47e8383f1ba7fa5b71099c9ddc88a7abf867a2a
Clean-up
push time in a month
startednerves-project/nerves
started time in a month
Pull request review commentcadCAD-org/cadCAD
enable multi config & migrating configs list to Experiments
monkeytype simulations/tickets simulations/validation simulations/regression_tests/poc+simulations/regression_tests/poc_configs */poc -notes.py+notes.*
This looks like the same thing I use scratchpad* for :D Random notes and snippets of code.
comment created time in a month
startedxtruder/debian-nix-devcontainer
started time in a month
push eventBenSchZA/radCAD
commit sha 63f6d625368fa3dae2cb27efa54759c3b1b758e0
Update README.md
push time in a month
push eventBenSchZA/radCAD
commit sha 89d3ee8378a1ee9c98942a5f6c32d1f7da0fb769
Update README.md
push time in a month
push eventBenSchZA/radCAD
commit sha 2ba7b06505158db97381e49342b90fc76217d034
Update README.md
push time in a month
push eventBenSchZA/radCAD
commit sha bca15d8f9125e2b93ce98650337e5c16d699c8d0
Add param sweep
push time in a month
push eventBenSchZA/radCAD
commit sha 944fee9c256a6e32a822e345256132aee31dec4b
Checkpoint
push time in a month
push eventBenSchZA/radCAD
commit sha 9453b65dd270cc1c6a94970ce627e1f51a9a9c95
cadCAD dataframe equality test
push time in a month
push eventBenSchZA/radCAD
commit sha 2682eb21a2d153bcba024f67afeb54920bef91ff
cadCAD profiling
push time in a month
startedtradytics/eiten
started time in a month
startedtelekom-security/tpotce
started time in a month
startedPyO3/rust-numpy
started time in a month
startedapache/arrow
started time in a month
fork BenSchZA/plotly.py
The interactive graphing library for Python (includes Plotly Express) :sparkles:
fork in 2 months
startedplotly/plotly.py
started time in 2 months
push eventBenSchZA/notebook-tools
commit sha 1d263fb244077626a79ff552da4539b8b670ce24
Add CLI
commit sha 06a40c68ccba0297f228bcb3b1cc18e41392e1b6
Merge branch 'master' of github.com:BenSchZA/notebook-tools into master
push time in 2 months
startedhauleth/lumberjack
started time in 2 months
issue commentcadCAD-org/cadCAD
0.4.21 run column isn't showing unique results
Yeah, I was gonna say randomness is tricky, all this under the hood, environment-dependent stuff leaves too much room for situations like this.
I'd argue that the only definitive way around this might be to explicitly seed the random number generator of each run with different seeds. See example implementation in this fork from Ben's gist: https://gist.github.com/markusbkoch/135bf69e6361d3a3f84e96b6be6df971
Spot on, similar threads for same issue: https://stackoverflow.com/questions/12915177/same-output-in-different-workers-in-multiprocessing
comment created time in 2 months
issue commentcadCAD-org/cadCAD
0.4.21 run column isn't showing unique results
Thanks @JEJodesty - can confirm that solves it: https://gist.github.com/BenSchZA/c8aef315c2c25e347e2d0cd6fe489eed
comment created time in 2 months
startedPyO3/pyo3
started time in 2 months
issue commentcadCAD-org/cadCAD
0.4.21 run column isn't showing unique results
I recreated the issue here I think, with minimal code, and printed some extra debug details too: https://gist.github.com/BenSchZA/72b1b0a529703e97cd4e53f200e1516b
macOS 10.15.6 Python 3.8.5 cadCAD 0.4.21
@JEJodesty this minimal example has the same issue (as far as I can see), and doesn't seem to have anything out of the ordinary that could be causing mutations.
comment created time in 2 months
issue commentcadCAD-org/cadCAD
0.4.21 run column isn't showing unique results
I recreated the issue here I think, with minimal code, and printed some extra debug details too: https://gist.github.com/BenSchZA/72b1b0a529703e97cd4e53f200e1516b
macOS 10.15.6 Python 3.8.5 cadCAD 0.4.21
comment created time in 2 months
startedarianvp/bare-metal-kubernetes
started time in 2 months
startedshufo/log_viewer
started time in 2 months
issue closedpier-cli/pier
Allow use of `pier ls` as alias for `list`
I often find myself typing pier ls instead of list - probably because of being used to that with Docker, and the ls CLI tool. It should be fairly easy having two options for listing. Another thought was whether the default when running pier should be to list, as that's quite a common task? Feedback welcome! Maybe I'll take this on, haven't been active in a while.
closed time in 2 months
BenSchZApush eventBenSchZA/notebook-tools
commit sha 455d1a44dda7ad04f1c3cd181100898da88188de
Create README.md
push time in 2 months
created repositoryBenSchZA/notebook-tools
Rust CLI tools for manipulation of Jupyter Notebooks.
created time in 2 months
startednickc92/ViewSCAD
started time in 2 months
startedphilss/floki
started time in 2 months
startedrossmacarthur/sheldon
started time in 2 months
startedcadCAD-org/demos
started time in 2 months
startedgoogle/evcxr
started time in 2 months
startededeliver/edeliver
started time in 2 months
issue commentcadCAD-org/cadCAD
params provided as list with parameter of single value
@JEJodesty https://gist.github.com/BenSchZA/9a67a30e64ad7a7876dc3b72d1e303d5 - note that I did a pip install https://github.com/cadCAD-org/cadCAD/archive/master.zip --force-reinstall because of the issue with PyPi version.
comment created time in 2 months
startedJeffBezanson/femtolisp
started time in 2 months
startedcadCAD-org/governance
started time in 2 months
issue commentcadCAD-org/cadCAD
params provided as list with parameter of single value
Cool, I don't have a repo for it, but will upload a recreation of the error for you.
comment created time in 2 months
issue commentcadCAD-org/cadCAD
Hey @matttyb80! v0.4.19 introduces an additional variable length argument **kwargs to all policy and state update functions, I'm assuming as a way to introduce new cadCAD features down the line:
p_marketing_rate(params, substep, state_history, prev_state) -> p_marketing_rate(params, substep, state_history, prev_state, **kwargs)
comment created time in 2 months
issue commentcadCAD-org/cadCAD
Missing required positional argument: 'configured_N'
Hey @pkretzschmar. I don't think version 0.4.19 has been released to PyPi yet, so you'd have to install as follows pip install https://github.com/cadCAD-org/cadCAD/archive/master.zip for now.
comment created time in 2 months