fluffychat/lib/pangea/choreographer/models
Kelrap dbeb36e463
Optimize choreo (#3567)
* Basic setup of choreo changes

* Make unit test for basic bsdiff functionality

* Create class for efficiently storing choreo step edits

* Edited unit test to use ChoreoEdit instead of bsdiff

* Edit ChoreoRecord/Step to use ChoreoEdit

* Test and debug ChoreoRecord

* Accounting for more edge cases

* Remove empty string redundancy in choreo edit

* Save originalText to record instead of step

* Make originalText non-nullable

* Make test run properly with non-nullable originalText change

* make originalText final

* Tweak ChoreoEdit for slightly improved efficiency

* chore: fix how edits are constructed for choreo records

* fix issue with manual changes not being accounted for in fromJSON

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-07-31 10:08:31 -04:00
..
choreo_edit.dart Optimize choreo (#3567) 2025-07-31 10:08:31 -04:00
choreo_record.dart Optimize choreo (#3567) 2025-07-31 10:08:31 -04:00
custom_input_translation_model.dart 1435 refactor into function specific groupings (#1440) 2025-01-14 14:00:30 -05:00
igc_text_data_model.dart chore: fully update match info after auto-accepting replacement, add more error handling in construct token span (#2865) 2025-05-21 16:06:30 -04:00
it_response_model.dart fluffychat merge 2025-06-09 16:02:38 -04:00
it_step.dart 1435 refactor into function specific groupings (#1440) 2025-01-14 14:00:30 -05:00
language_detection_model.dart (chore) save parse from json language detections (#2119) 2025-03-12 11:44:34 -04:00
pangea_match_model.dart chore: highlight selected span during IGC (#2514) 2025-04-21 09:51:32 -04:00
span_card_model.dart 1435 refactor into function specific groupings (#1440) 2025-01-14 14:00:30 -05:00
span_data.dart Optimize choreo (#3567) 2025-07-31 10:08:31 -04:00
word_data_model.dart 1435 refactor into function specific groupings (#1440) 2025-01-14 14:00:30 -05:00