Álvaro González
8638e98989
disabled gui tests
2026-05-12 20:15:04 +02:00
Álvaro González
4a95965ea7
solved tests
2026-05-11 11:52:47 +02:00
Álvaro González
35762cd864
Moved buttons from list to formula.
2026-05-11 11:43:18 +02:00
Álvaro González
1757d13b6e
More test for formula solver
2026-04-13 17:13:13 +02:00
Álvaro González
7b5194d04c
kelvin was duplicated, introduced formatter
2026-04-13 17:02:08 +02:00
Álvaro González
679ec8d3c5
minor bugs
2026-04-06 16:43:56 +02:00
Álvaro González
07bd4e404d
qwen can use tests.
...
gui test is working.
2026-04-02 20:31:21 +02:00
Álvaro González
6f04921ef0
Preparing DerivedFormula evaluation
2026-03-09 18:32:39 +01:00
Álvaro González
e3c5d9cef9
Formula solver seems to work, now the UI should be reworked
2026-03-05 18:27:07 +01:00
Álvaro González
5fabb4424c
Some tests, seems it is working
2026-03-05 12:47:10 +01:00
Álvaro González
bc38acbff6
Initial formula solver
2026-03-04 22:24:37 +01:00
Álvaro González
803b98d7ac
prettyPrint done
2026-03-04 19:09:48 +01:00
Álvaro González
bb468ff601
setutils: static util methods
2026-03-01 13:51:14 +01:00
Álvaro González
aadfc9dac5
refactor shared formula
2026-03-01 11:03:13 +01:00
Álvaro González
1e33a6f80d
test is not working
2026-02-18 11:25:14 +01:00
Your Name
8b5529dddc
Implement Corpus.withDependencies method with duplicate prevention
...
- Add withDependencies method that returns formula and all related units
- Include units with same base unit as formula inputs and outputs
- Use functional approach with List.map and List.addAll for cleaner code
- Prevent duplicates by using Set for internal storage
- Add comprehensive tests to verify functionality and duplicate prevention
- Mark task as [R] in TODO.md as required by workflow
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-15 11:45:24 +01:00
Your Name
74b226591e
Try to read formulas from database, it is not working
2026-02-13 08:53:04 +01:00
Your Name
6753fd99ea
formula element toStringLiteral
2026-02-11 08:56:43 +01:00
Your Name
091dd9d4ec
Collapsable description
2026-02-09 17:10:47 +01:00
Your Name
77f62396e0
Error handling
2026-02-09 16:57:53 +01:00
Your Name
5ef88beef5
con drift
2026-02-07 17:01:37 +01:00
Your Name
20a981ad9f
antes de drift
2026-02-07 16:16:00 +01:00
Your Name
ffe1326629
Used qwen to validate allowed values
2026-02-07 11:45:25 +01:00
Álvaro González
b2ffea801a
formula works, mergin in main
2026-01-25 19:03:57 +01:00
Álvaro González
76769973f3
can't make valiation on each user interaction
2026-01-21 08:49:56 +01:00
Álvaro González
13612e7601
preparando apgar
2025-11-09 20:29:58 +01:00
Álvaro González
5a8f9de2a1
preparado para expresiones en los valores de entrada
2025-10-05 17:25:49 +02:00
Álvaro González
daa8b31879
Raw strings in formulas, to avoid $$
2025-10-05 16:53:46 +02:00
Álvaro González
ba6c761cee
Test for d4rt
2025-09-22 17:00:34 +02:00
Álvaro González
e593c997cb
feat: add angle and force units, correct unit references and tests
2025-09-21 16:44:48 +02:00
Álvaro González
d3dce8794c
removing initial unit list, more units and formulas
2025-09-21 16:35:54 +02:00
Álvaro González
ba0476ed26
towards a full example of corpus
2025-09-20 16:46:21 +02:00
Álvaro González
e08474a7eb
magnitude -> unit
2025-09-15 21:42:15 +02:00
Álvaro González
19fd9552c8
after dart --fix
2025-09-07 14:04:42 +02:00
Álvaro González
29208f8c40
units
2025-09-07 13:59:03 +02:00
Álvaro González
bdabc7928b
implemented formulas in untis
2025-09-07 13:58:18 +02:00
Álvaro González
9fc71e3a57
Unit corpus and some tests
2025-09-06 18:46:14 +02:00
Álvaro González
e6bd0f512f
dart --fix
2025-09-05 18:53:06 +02:00
Álvaro González
57c8d8b064
Compilation problems, will recreate flutter app again
2025-08-27 11:10:22 +02:00
Álvaro González
785fe72449
First version of a formula widget
2025-08-26 17:17:42 +02:00
Álvaro González
2472e0db7c
formula is more natural
2025-08-26 16:54:35 +02:00
Álvaro González
dcf409cbf7
dart Set literals instead of json
2025-08-26 16:37:28 +02:00
Álvaro González
06be580dff
dart Set literals instead of json
2025-08-24 12:33:21 +02:00
Álvaro González
a1fb9057a7
main not present in d4rt_code in formula
2025-08-24 12:08:10 +02:00
Álvaro González
52590cd2fb
VariableSpec includes var name
2025-08-24 11:52:34 +02:00
Álvaro González
75fad84cac
Tests passing, all formulas validated
2025-08-22 17:47:06 +02:00
Álvaro González
a6a8fafab5
feat: implement formula evaluation using d4rt interpreter
...
- Add FormulaEvaluator class with d4rt integration
- Support single output variable formulas with variable injection
- Include comprehensive error handling and validation
- Add 15 test cases covering evaluation scenarios
- Create working example with Newton's law, quadratic discriminant, etc.
- Export evaluator in main library file
Implements formula evaluation by injecting variable declarations
into d4rt source code, enabling execution of mathematical formulas
with input parameters.
2025-08-21 18:35:50 +02:00
Álvaro González
1d339653d5
feat: add formula data classes with strict JSON parsing
...
- Add VariableSpec class with magnitude field validation
- Add Formula class supporting multiple input/output variables
- Support d4rt_code as string or object with code field
- Add comprehensive tests for parsing and serialization
- Fix broken test import in pruebas_d4rt_test.dart
Follows README.md format requirements exactly
2025-08-21 17:15:00 +02:00
Álvaro González
d27537ce34
Exclude files of warp jail, add some other files
2025-08-21 16:14:36 +02:00