Commit graph

22 commits

Author SHA1 Message Date
Álvaro González
6f04921ef0 Preparing DerivedFormula evaluation 2026-03-09 18:32:39 +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
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
6753fd99ea formula element toStringLiteral 2026-02-11 08:56:43 +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
daa8b31879 Raw strings in formulas, to avoid $$ 2025-10-05 16:53:46 +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
ba0476ed26 towards a full example of corpus 2025-09-20 16:46:21 +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
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
52590cd2fb VariableSpec includes var name 2025-08-24 11:52:34 +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