riastradh-probcomp
riastradh-probcomp
- Add SimulateExp AST node like SimulateModelsExp. - Adapt parse.py to allow it and produce SimulateExp. - Implement expand_simulate like expand_simulate_models in macro.py. - Use expand_simulate like expand_simulate_models in compiler.py.
This isn't itself quite a bug, but downstream things sometimes expect the case to match from queries, where sqlite3 preserves the original case of the variable in the underlying table,...
No existing users should be affected unless they inadvertently used single-quotes within a Crosscat schema -- which is something we ought to detect and reject early anyway. First small step...
ESTIMATE * FROM VARIABLES OF p ORDER BY PROBABILITY OF (MUTUAL INFORMATION WITH c USING 100 SAMPLES) Need to transmit the implicit variable into MUTUAL INFORMATION. This is not trivial!
...instead of just 0 and 1, with 0 meaning the first one and 1 meaning the second only if there were two specified. This is just a matter of running...
We should acknowledge what the object is, and use this to factor out some common functionality. Instead of a monolithic compile_bql method, we should replace it by individual methods like...
The BQL->SQL compiler is currently unable to ascertain that in ``` CREATE TABLE t(x, y); CREATE TABLE u(z, w); SELECT y, w FROM t, u WHERE x = z ```...
Right now there's only test_estimate_cmi_bound in tests/test_cmi.py. MOAR!