<commit_before># coding: utf8

#### yarko ---< F/A (financial aid) forms >----
if ENABLE_FINANCIAL_AID:
    db.define_table( 'fa',
       # Idendtification:
       # - Legal name => fa.person.first_name + fa.person.last_name
       # - Address => fa.person.{address1,address2,city,state,country,zip_code}
       # - email address => fa.person.email
       # Registration:
       # - registration type => fa.percon.attendee_type
       db.Field( 'person', db.auth_user ),
       db.Field('created_on','datetime'),
       db.Field('modified_on','datetime',default=now),
       db.Field( 'registration_amount', 'double', default='0.00'),
       # Hotel Cost:
       # - number of nights of assitance requested;
       db.Field( 'hotel_nights', 'integer', default=0 ),
       # - total amount requested; label:  "Max 50% of room rate at Crowne Plaza x # nights;" labeled; validated if easy to update room rates.
       db.Field( 'total_lodging_amount', 'double', default='0.00'),
       db.Field( 'roommates', 'string', length=128, default=''),
       # Transportation:
       # - method of transportation / details;
       # db.Field( 'method_of_transportation', 'string', default=''),
       db.Field( 'transportation_details', 'text', default=''),
       # - total amount requested; label: "If you want assistance with your transportation costs, please provide a rough estimate (to nearest US$100)
       #       of how much a round-trip will cost.  Please update your request once final cost is known."
       db.Field( 'transportation_amount', 'double', default='0.00', ),
       # Total:  - read-only field calculated from above 3 sections<commit_msg>fixed financial aid form fields<commit_after># coding: utf8

#### yarko ---< F/A (financial aid) forms >----
if ENABLE_FINANCIAL_AID:
    db.define_table( 'fa',
       # Idendtification:
       # - Legal name => fa.person.first_name + fa.person.last_name
       # - Address => fa.person.{address1,address2,city,state,country,zip_code}
       # - email address => fa.person.email
       # Registration:
       # - registration type => fa.percon.attendee_type
       db.Field( 'person', db.auth_user, default=auth.user_id, readable=False, writable=False),
       db.Field('created_on','datetime',default=now, readable=False, writable=False),
       db.Field('modified_on','datetime',default=now, readable=False, writable=False),
       db.Field( 'registration_amount', 'double', default='0.00'),
       # Hotel Cost:
       # - number of nights of assitance requested;
       db.Field( 'hotel_nights', 'integer', default=0 ),
       # - total amount requested; label:  "Max 50% of room rate at Crowne Plaza x # nights;" labeled; validated if easy to update room rates.
       db.Field( 'total_lodging_amount', 'double', default='0.00'),
       db.Field( 'roommates', 'string', length=128, default=''),
       # Transportation:
       # - method of transportation / details;
       # db.Field( 'method_of_transportation', 'string', default=''),
       db.Field( 'transportation_details', 'text', default=''),
       # - total amount requested; label: "If you want assistance with your transportation costs, please provide a rough estimate (to nearest US$100)
       #       of how much a round-trip will cost.  Please update your request once final cost is known."
       db.Field( 'transportation_amount', 'double', default='0.00', ),
       # Total:  - read-only field calculated from above 3 sections
{'fraction_non_alphanumeric': 0.13756154068925572, 'fraction_numerical': 0.012742542716478424, 'mean_word_length': 3.201946472019465, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5167652', 'n_tokens_mistral': 1033, 'n_tokens_neox': 995, 'n_words': 288}