Álvaro González
c779f5281b
fix: correct unit references in formula screen
2025-09-14 16:56:13 +02:00
Álvaro González
4e919e5a1c
feat: trigger formula evaluation on unit change
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-14 16:52:15 +02:00
Álvaro González
f52e5debcb
fix: convert input variables from dropdown to base unit in formula evaluation
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-14 16:48:45 +02:00
Álvaro González
d3c509ace4
style: disable and style result field
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-14 16:41:34 +02:00
Álvaro González
54e40a2abc
feat: enable auto-calculation with real-time input updates
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-14 16:40:54 +02:00
Álvaro González
5e2acf39c3
Changes not commited by aider
2025-09-14 16:40:27 +02:00
Álvaro González
943436b9bb
feat: add energy units
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-14 16:35:55 +02:00
Álvaro González
2096409f53
feat: add energy units
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-14 16:35:27 +02:00
Álvaro González
76f953f4b1
feat: add mass units and fix temperature typo
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-14 16:33:21 +02:00
Álvaro González
0eef3b6554
feat: add area, distance, pressure, and temperature unit resources
2025-09-14 16:33:14 +02:00
Álvaro González
bf39f07928
feat: add velocity unit support
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-14 16:25:11 +02:00
Álvaro González
bb15f23dda
fix: Use unitsOfSameMagnitude to populate UnitDropdown options
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-10 17:38:46 +02:00
Álvaro González
eb8b32c762
first ai version of formula screen
2025-09-10 17:17:28 +02:00
Álvaro González
30a61eaa70
feat: add formula screen UI components with stack trace logging
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-10 17:03:32 +02:00
Álvaro González
fe89630f53
feat: add formula screen with unit conversion
2025-09-10 17:03:21 +02:00
Álvaro González
45a9a89c3e
feat: Add formula input screen with unit conversion support
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-10 12:58:08 +02:00
Álvaro González
587d41f5c5
feat: Add greeting message to unit list screen
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-09 10:05:53 +02:00
Álvaro González
becfd56c30
chore: remove obsolete comment in unit list
2025-09-09 10:05:45 +02:00
Álvaro González
018579d4b9
feat: enhance UnitList with conversion factors and empty state
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-09 09:57:05 +02:00
Álvaro González
7a1060e773
feat: add searchable units list with filtering
2025-09-09 09:56:57 +02:00
Álvaro González
666fa20e7b
feat: switch to async unit loading with temperature corpus
...
Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) <aider@aider.chat>
2025-09-08 20:27:42 +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
bbaf819b67
Unit corpus and some tests
2025-09-07 13:34:27 +02:00
Álvaro González
e6bd0f512f
dart --fix
2025-09-05 18:53:06 +02:00
Álvaro González
8fb175bcda
Code is compiling
2025-08-28 12:34:49 +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