1.5 KiB
1.5 KiB
BizTools Examples Test Results
Working Examples
bizmodel.vsh- This example works correctly and displays a spreadsheet with business model data.
Non-Working Examples
All other examples have issues with the bizmodel.play() function:
bizmodel1.vsh- Error: Unknown fieldheroscriptin struct literal of typePlayBook.bizmodel2.vsh- Error: Unknown fieldheroscriptin struct literal of typePlayBook.bizmodel_complete.vsh- Error: Unknown fieldheroscript_pathin struct literal of typePlayBook.bizmodel_export.vsh- Error: Unknown fieldheroscript_pathin struct literal of typePlayBook.bizmodel_full.vsh- Error: Unknown fieldheroscript_pathin struct literal of typePlayBook.costs.vsh- Error: Unknown fieldheroscriptin struct literal of typePlayBook.funding.vsh- Error: Unknown fieldheroscriptin struct literal of typePlayBook.hr.vsh- Error: Unknown fieldheroscriptin struct literal of typePlayBook.
Common Error Pattern
All non-working examples have the same pattern of errors:
- Unknown field (
heroscriptorheroscript_path) in struct literal of typePlayBook. - Reference field
PlayBook.sessionmust be initialized. - Function
bizmodel.playparameterplbookismut, so it requiresmut PlayBook{...}instead.
Environment Setup
- Tests were performed with V language version 0.4.11 a11de72
- Redis server was running during tests
- All tests were executed from the
/workspace/project/herolib/examples/biztoolsdirectory