Shape Note Secretarying dev

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2025-08-15
22:33
For tkt [a2de155bc68] Warnings for missing keys in misc, offcname and break_name. Fill errors table appropriately against the two 11*tsv files. Improved error messages in errors; delete Config: error messages in 11*.t. Need to DELETE from errors ASAP in DBT they do not accumulate. Leaf check-in: fcabe99534 user: dlanewk tags: trunk
15:43
For tkt [a2de155bc68] Warnings for missing keys in misc, offcname and break_name. Beginnings of implementation. DBT::ERR_TO_TB better doc, DBT::config_check handles checks for qw/offcname misc break_name/ and defers to DBT::tbl_lookup for actual insert. Added 11*tsv and tst/11*.t. check-in: 12133ac519 user: dlanewk tags: trunk
2025-08-14
16:49
For tkt [a2de155bc68] Warnings for missing keys in misc, offcname and break_name. Added errors table and class method DBT::ERR_TO_DB check-in: 0e412ae418 user: dlanewk tags: trunk
2025-08-13
02:22
closes tkt [6b529cb144e] Zero sick/deceased reports are clumsy. Changed Break::as_string to have -->NO ...<-- for DECEASED and SICK/SHUTIN. Also closes tkt [598dd85fb7e] test of 0123 sick/deceased. In InitFiles::show_unicode now uses --> as well as <-- for symmetry and easier grep using '\-\->'. 05*t updated to use -->. 10*t updated to use -->NO..<-- in tests. All tests pass. check-in: b09139c98c user: dlanewk tags: trunk
2025-08-12
17:43
For tkt [598dd85fb7e] test of 0123 sick/deceased. Most tests marked passed with thatch *. c_0_SICK|DECEASED failed since we need NO SICK|DECEASED as our output for no SICK or DECEASED. check-in: f44cb4143b user: dlanewk tags: trunk
2025-08-11
23:00
Closes tkt [5166aa0c84d] CHAPLAIN optionally leads a song. Changes to Break which now has instance variable Break.chaplain_num, set in Break::FromBreakInt, used in Break::init_filler and fixed in Break::as_string when null. check-in: de5304f072 user: dlanewk tags: trunk
19:12
For tkt [598dd85fb7e] test of 0123 sick/deceased. Sent errors to STDERR in InitFiles;; cleaned up stray whitespace in mk09.pl; Added mk10.pl which is a cut-down andslightly refactored version of mk09.pl looking at SickDec{num}Chap*tsv. Added 10*sick_dec.t as beginning for real tests of chaplain and sick/dec. check-in: 42e562360d user: dlanewk tags: trunk
19:06
For tkt [5166aa0c84d] CHAPLAIN optionally leads a song. Added xxFIRST_NUMxx to CHAPLAIN template in 25Min*(numbers/tsv/csv) and SickDec1*tsv check-in: 298e68ddbc user: dlanewk tags: trunk
19:04
For tkt [5166aa0c84d] CHAPLAIN optionally leads a song. Added xxFIRST_NUMxx to CHAPLAIN template in 25Min*(numbers/tsv/csv) and SickDec1*tsv check-in: acd3ac2176 user: dlanewk tags: trunk
2025-08-10
20:34
For tkt [598dd85fb7e] test of 0123 sick/deceased. Changed DBT::fill_hrefs to take from working rather than abbr_book (avoids order issues in creation on ABBR_BOOK_HREF). Minor change in order of creation for DBT::insert_other_tables so NormNum will have something to work on. Closes tkt [b2cd2e273c7] NormNum returns the input unchanged. Added s to ShH option in abbr_book columns. Oops. Random truncation in the SickDec*tsv. Also for tkt [5166aa0c84d] CHAPLAIN optionally leads a song - no longer sets num to null for CHAPLAIN entry in DBT::insert_working. check-in: 8eeb9045a1 user: dlanewk tags: trunk
2025-08-08
16:43
For tkt [598dd85fb7e] test of 0123 sick/deceased. Updated Sick[0213].tsv to match qw/0 1 2 3/ entries for sick/deceased. Added blank, s \d+ and \d+ entries for CHAPLAIN. check-in: 68e70c14da user: dlanewk tags: trunk
16:13
For tkt [598dd85fb7e] test of 0123 sick/deceased. Added SickD*0123.tsv to test SICK/DEC breaks. check-in: 889afddc24 user: dlanewk tags: trunk
2025-08-05
18:06
Closes tkt [c36d7eec15b] Generate tests for qw/0 1 2 3/ entries after each break. check-in: 4c9c79a4ec user: dlanewk tags: trunk
18:04
For tkt [c36d7eec15b] Generate tests for qw/0 1 2 3/ entries after each break. Added 08*.t; generated initial version of 09*.t with mk09.pl; edited to escape () parens and change match to eq for empty strings plus a whole lotta .* to shorted e_* vars. For 08*.t updated tests to match current nm_rept. All tests pass. check-in: 1e5010b570 user: dlanewk tags: trunk
2025-08-04
17:09
For tkt [c36d7eec15b] Generate tests for qw/0 1 2 3/ entries after each break. Added /s option in regexes. Tests of generated output tmp.pl show promise on edited regex. No fundamental understanding why not ok occurs. check-in: 43f066f36b user: dlanewk tags: trunk
16:53
For tkt [c36d7eec15b] Generate tests for qw/0 1 2 3/ entries after each break. Added e_ vars and ok( calls. Added header for generated code perl mk09.pl > tmp.pl. Currently 20/47 tests are failing. check-in: 6c68f4e650 user: dlanewk tags: trunk
00:47
Closes tkt [7556925b98b] Check all_reports and the output of mk09.pl against Minutes*tsv. All lines check out in file chk.0123.txt check-in: f1daa507a6 user: dlanewk tags: trunk
2025-08-03
20:32
For tkt [7556925b98b] Check all_reports and the output of mk09.pl against Minutes*tsv. Did some uniquifying song nums for the extra SICK and DECEASED entries. Adjusted Break.pm to handle left-over 'led and' for no song lead. check-in: 6705e95413 user: dlanewk tags: trunk
19:05
For tkt [7556925b98b] Check all_reports and the output of mk09.pl against Minutes*tsv. Now Minute[123].tsv have test cases where leader has no number in DECEASED and SICK. check-in: d3e4bceeb0 user: dlanewk tags: trunk
13:49
For tkt [7556925b98b] Check all_reports and the output of mk09.pl against Minutes*tsv. Updated templates with FIRST_NUM for SICK and DECEASED in 25Minutes and Minutes[0123].tsv check-in: 3cf3313ca1 user: dlanewk tags: trunk
2025-07-31
16:18
For tkt [7556925b98b] Check all_reports and the output of mk09.pl against Minutes*tsv. Done with 01. Issue with template for sick and deceased lacking (optional) song number. check-in: 9a0dfcf7e9 user: dlanewk tags: trunk
15:05
For tkt [c36d7eec15b] Generate tests for qw/0 1 2 3/ entries - fixed use of seen_line hash, now generates perl assignment statements. Various newline fixes to make this output easy to read. check-in: 9bc872c93a user: dlanewk tags: trunk
2025-07-30
20:04
Closes tkt [a2f9b96c98d] Test_line restructuring. Using perl defaults not a big issue after considering all_reports as an array of lines. Also for tkt [c36d7eec15b] Generate tests for qw/0 1 2 3/ entries - seen_line hash to remove dup prints; PREAMBLE only processed once on num == 0 as a multiline string. check-in: c14dbff167 user: dlanewk tags: trunk
14:37
For tkt [c36d7eec15b] Generate tests for qw/0 1 2 3/ entries after each break. Maintenance of break_name,num, cnt_break{}. Start on test_line but that probably needs to be from restructured code using arrays - tkt [a2f9b96c98d] line by line is not enough. check-in: 140dd86bca user: dlanewk tags: trunk
14:34
And sequelae from Minutes*tsv changes check-in: 47d802c2f0 user: dlanewk tags: trunk
14:33
Changed BEGIN to RECESS in Minutes{num}.tsv - regularizes reports so that break_name is available in non-trivial contexts. check-in: 9bb88a5dcd user: dlanewk tags: trunk
2025-07-29
15:19
For tkt [c36d7eec15b] Generate tests for qw/0 1 2 3/ entries. mk09.pl to generate tests based on all_repts.txt. check-in: 3f2a2c0de3 user: dlanewk tags: trunk
2025-07-28
19:47
Closes tkt [013f41544b5] ENV{DEBUG} not holding across Init_files. New attribute debug_time and method InitFiles::isotime. All tests pass. check-in: 61ab2296f4 user: dlanewk tags: trunk
2025-07-27
20:08
Closes tkt [6a3266548cc] Clumsy reporting of songs when there are only two Entries. Special case for Chaplains and one entry.. Added special cases for CHAPLAIN in BREAK::as_string and a little post_processing at the end of BREAK::as_string. check-in: 2a05678a0e user: dlanewk tags: trunk
19:21
For tkt [c36d7eec15b] Generate tests for qw/0 1 2 3/ entries... Convenient file to record changes as we fix things. Generated by perl 09_0123_cases.t > all_repts.txt check-in: e007a7d4d0 user: dlanewk tags: trunk
18:47
Closes tkt [b94d5a4b9d1] Clumsy songs/leaders report:.. Fixed in 25*numbers, 25*csv and Min*[0123].tsv check-in: 8a245dedaa user: dlanewk tags: trunk
2025-07-25
16:40
Closes tkt [ee7ed0154c1] Regexp changing commas to semi-colons. Fixed in OrderedTable::rept_nm. Also tkt [c36d7eec15b] Generate tests for qw/0 1 2 3/ entries after each break. Tag each nm_report with {num}; defeat ok warnings and review nm_rept outputs. check-in: 33d739bb65 user: dlanewk tags: trunk
2025-07-10
23:25
For tkt [4cd99f4a7fc] Deal with special cases where there are none and one leaders. Start on setting up 09*.t. Still an issue with semi-colons in chaplain_rept. check-in: 572540c29b user: dlanewk tags: trunk
14:43
Rename 012cases.t to 09_0123_cases.t - more standard. check-in: f78154a1ad user: dlanewk tags: trunk
14:40
For tkt [4cd99f4a7fc] Deal with special cases where there are none and one leaders. 06*.t updated to match the new format for single-item oTbls. check-in: 095e0ca23b user: dlanewk tags: trunk
02:03
All now use Test::More for future subtests. *cases*.t still fails often, as expected, and 06*.t has one failure, probably from better handling of low size cases. check-in: c160d04fae user: dlanewk tags: trunk
01:24
Experimented with subtests. Which work if we use Test::More rather than ::Simple. check-in: 846600ccd6 user: dlanewk tags: trunk
00:19
For tkt [4cd99f4a7fc] Deal with special cases where there are none and one leaders. Added Minutes[0-3].tsv with named numbers of users after all the breaks. Added 012cases.t a start on seeing what the cases do. Needs heavy modification to handle the many num,break_name combinations. Tests do not pass nor should they. check-in: c4429388e8 user: dlanewk tags: trunk
2025-07-09
14:32
For tkt [4cd99f4a7fc] Deal with special cases where there are none and one leaders. Now handles DEC|SICK correctly with a regexp hack in the case where there is only one element in the entries array. check-in: 9f4858feb1 user: dlanewk tags: trunk
2025-07-08
06:26
For tkt [4cd99f4a7fc] Deal with special cases where there are none and one leaders. Ok for cases o_tbl->entries of size 0 or 1 including exceptions for qw/PREAMBLE END CHAPLAIN/. Still failing on 2 entries. Now deals with '. .'; normalizes significant spaces to 2; deals with foo.bar now is foo. bar check-in: 9d03b335d7 user: dlanewk tags: trunk
01:32
For tkt [4cd99f4a7fc] Deal with special cases where there are none and one leaders. Initial changes in ticket and Break::as_string comments. check-in: 877f79b7d9 user: dlanewk tags: trunk
2025-07-06
02:33
Closes tkt [08c903c08ce] DBT::NormNm does not handle O'Brian and similar. Added test to 06*.t. Updated expected results now that embedded upcases are preserved in ok's for 04*t and 06*t. check-in: 19b85d6aa3 user: dlanewk tags: trunk
2025-07-05
12:30
For tkt [a28714c7558] Combined .csv/.tsv output - Take only the first tab... In DBT::insert_working take the first 400 lines in spreadsheet. Also tkt [08c903c08ce] DBT::NormNm does not handle O'Brian well. Fixed 06*.t so that the test with O'Brian passes, but 06*.t needs to be updated when we close this ticket. check-in: 4103665116 user: dlanewk tags: trunk
11:54
Added title look-up down to row 103. Now conditional highlight hides everything if too many hits (>10). Too clever. White-on-white text. check-in: cda893959e user: dlanewk tags: trunk
2025-07-04
23:42
For tkt [873c89a06e5] Dancer2/plackup psgi. Tests are failing in 04*t and 06*t. Combined output seems to be adding rows from second tab. check-in: de6e5a4c4a user: dlanewk tags: trunk
23:29
For tkt [873c89a06e5] Dancer2/plackup psgi. Added InitFiles::show_unicode. Applied to sick_rept, nm_rept. Fixed Break::sick_dec_repts. Made Report and Officers a bit wider (to 90). Added unicode quotes in *numbers; exported to csv without headings in one file (finally, error was expecting 1 field, found 9 from the initial line 'Table 1') check-in: 4ce5c71a5b user: dlanewk tags: trunk
23:10
EOL check-in: 0b548cdb29 user: dlanewk tags: trunk
22:57
EOL check-in: 3b978dd29c user: dlanewk tags: trunk
22:39
Now exporting one-file. Should be OK check-in: 407adcc9de user: dlanewk tags: trunk
18:41
Closes tkt [392c248a6f6] Implement LAST_BREAK. Fixed off-by-one in last_break_index (-2 vs -1). Better comments in OrderedBreaks::FromNmTbl and ::as_string. Fills (::NormStr) and uses (::as_string) OrderedBreaks.last_break_fmt_str. Tested in 08*.t. All tests pass. check-in: 064bafd921 user: dlanewk tags: trunk