<commit_before>var compose = (function () {

var exports = {};
var is_composing_message = false;

exports.start = function (msg_type, opts) {
    opts = $.extend({ message_type:     msg_type,
                      stream:           '',
                      subject:          '',
                      private_message_recipient: '',
                      message:          ''
                    }, opts);

    $("#stream").val(opts.stream);
    $("#subject").val(opts.subject);
    $("#private_message_recipient").val(opts.private_message_recipient);
    $("#new_message_content").val(opts.message);

    $('#sidebar a[href="#home"]').tab('show');

    var focus_area;
    if (opts.stream && ! opts.subject) {
        focus_area = 'subject';<commit_msg>Use accessors in compose.start<commit_after>var compose = (function () {

var exports = {};
var is_composing_message = false;

exports.start = function (msg_type, opts) {
    opts = $.extend({ message_type:     msg_type,
                      stream:           '',
                      subject:          '',
                      private_message_recipient: '',
                      message:          ''
                    }, opts);

    compose.stream_name(opts.stream);
    compose.subject(opts.subject);
    compose.recipient(opts.private_message_recipient);
    compose.message_content(opts.message);

    $('#sidebar a[href="#home"]').tab('show');

    var focus_area;
    if (opts.stream && ! opts.subject) {
        focus_area = 'subject';
{'fraction_non_alphanumeric': 0.14580559254327563, 'fraction_numerical': 0.0, 'mean_word_length': 1.9880715705765408, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5740773', 'n_tokens_mistral': 426, 'n_tokens_neox': 410, 'n_words': 70}