Commit graph

180 commits

Author SHA1 Message Date
Á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
e98b668639 remove .pub-cache 2025-09-08 21:18:02 +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
bdabc7928b implemented formulas in untis 2025-09-07 13:58:18 +02:00
Álvaro González
bbaf819b67 Unit corpus and some tests 2025-09-07 13:34:27 +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
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
2973dfd3ff Merge branch 'feature/validation-refactor' 2025-08-22 19:57:14 +02:00
Álvaro González
75fad84cac Tests passing, all formulas validated 2025-08-22 17:47:06 +02:00
Álvaro González
eb38cfcb0e Merge feature/formula-evaluation into master
Adds comprehensive formula evaluation capabilities using d4rt interpreter:

- FormulaEvaluator class for executing mathematical formulas
- Variable injection mechanism for d4rt compatibility
- Single output variable constraint with validation
- Comprehensive test suite with 15 test cases
- Working examples demonstrating physics and financial calculations
- Proper error handling for missing variables and invalid formulas

This enables the execution of user-defined mathematical formulas
with type-safe input validation and d4rt-based computation.
2025-08-21 18:36:08 +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
03c1fb488a Merge feature/formula-data-classes into master
- Added formula data classes with strict JSON parsing
- Cleaned up repository by removing .dart-tool and .dartServer cache directories
- Updated .gitignore to prevent future commits of cache/build artifacts
2025-08-21 17:35:05 +02:00
Álvaro González
a8ba0234b9 typo 2025-08-21 17:31:00 +02:00
Álvaro González
06c60129fd chore: remove .dart-tool and .dartServer from repo and ignore them
- Remove cached .dart_tool and .dartServer files from history
- Add .dartServer to .gitignore (dart analysis cache)
- Keep .dart_tool ignore entry

This prevents committing local tool/cache artifacts.
2025-08-21 17:27:35 +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
f30fbf0f68 Added guidelines for agents from https://www.dzombak.com/blog/2025/08/getting-good-results-from-claude-code/ 2025-08-21 16:47:21 +02:00
Álvaro González
d27537ce34 Exclude files of warp jail, add some other files 2025-08-21 16:14:36 +02:00
Álvaro González
c10d76a486 docs: Update README with Math Formulae Manager project description
- Replace generic sample app description with comprehensive project overview
- Add detailed feature descriptions for formula search, computation, and sharing
- Document unit management and d4rt interpreter integration
- Include rich formula documentation with markdown and images support
- Maintain existing project structure documentation
2025-08-21 15:52:30 +02:00