A very experimental debugger for constraints written in Pint and compiled for the Essential constraint checking engine.
essential-debugger's Introduction
essential-debugger's People
essential-debugger's Issues
Add ability to show inputs to a constraint
- Cli selection to show any transient data (highlight this solution data index).
- Cli selection to show the pre and post state slots for this intent.
- Cli selection to show the decision variables for this intent.
- Cli selection to show the state mutations for any intent (highlight this solution data index).
Add run builder
pub struct ConstraintPtr {
solution_data: usize,
constraint: usize,
}
pub struct Run {
pub solution: Solution,
pub intent: Intent,
pub state: HashMap<ContentAddress, BtreeMap<Key, Value>>,
pub ptr: ConstraintPtr,
}
impl Run {
pub fn new(
solution: Solution,
intent: Intent,
solution_data_index: usize,
constraint_index: usize,
state: HashMap<ContentAddress, BtreeMap<Key, Value>>,
) -> Self { todo!() }
pub fn with_intent_source<F, E>(
solution: Solution,
intent_source: F,
solution_data_index: usize,
constraint_index: usize,
state: HashMap<ContentAddress, BtreeMap<Key, Value>>,
) -> anyhow::Result<Self>
where
F: FnOnce(IntentAddress) -> Result<Intent, E>,
anyhow::Error: From<E>,
{ todo!() }
pub async fn with_async_intent_source<Fut, F, E>(
solution: Solution,
intent_source: F,
solution_data_index: usize,
constraint_index: usize,
state: HashMap<ContentAddress, BtreeMap<Key, Value>>,
) -> anyhow::Result<Self>
where
Fut: Future<Output = Result<Intent, E>>,
F: FnOnce(IntentAddress) -> Fut,
anyhow::Error: From<E>,
{ todo!() }
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.