<commit_before>using System;
using Penneo;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;

namespace Penneo
{
    public class CreateSigningRequestLink
    {
        public static void Main(string[] args)
        {
            if (args.Length != 4) {
                Console.WriteLine("Parameters required: endpoint, key, secret, file");
                Environment.Exit(-1);
            }

            string endpoint = args[0];
            string key      = args[1];
            string secret   = args[2];
            string file     = args[3];

            PenneoConnector.Initialize(key, secret, endpoint);
            PenneoConnector.SetLogger(new Logger());
            run(file);
        }

        public static void run(String file)
        {
            // Case file
            //
            var cf = new CaseFile("Sample Case File");
            cf.Persist();

            Console.WriteLine("Case file : " + cf.Id);

            // Document
            //
            var doc = new Document(cf, "Sample Document", file);
            doc.MakeSignable();
            doc.Persist();

            if (doc.Id == null) {<commit_msg>Enabling sensitive data for case files<commit_after>using System;
using Penneo;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;

namespace Penneo
{
    public class CreateSigningRequestLink
    {
        public static void Main(string[] args)
        {
            if (args.Length != 4) {
                Console.WriteLine("Parameters required: endpoint, key, secret, file");
                Environment.Exit(-1);
            }

            string endpoint = args[0];
            string key      = args[1];
            string secret   = args[2];
            string file     = args[3];

            PenneoConnector.Initialize(key, secret, endpoint);
            PenneoConnector.SetLogger(new Logger());
            run(file);
        }

        public static void run(String file)
        {
            // Case file
            //
            var cf = new CaseFile("Sample Case File");
            // cf.ExpireAt  = new DateTime(2020, 1, 1, 1, 1, 1);
            // cf.SensitiveData = false;
            // cf.DisableNotificationsOwner = false;
            // cf.SignOnMeeting = false;
            cf.Persist();

            Console.WriteLine("Case file : " + cf.Id);

            // Document
            //
            var doc = new Document(cf, "Sample Document", file);
            doc.MakeSignable();
            doc.Persist();

            if (doc.Id == null) {
{'fraction_non_alphanumeric': 0.10790806388780678, 'fraction_numerical': 0.008180755746007013, 'mean_word_length': 1.5350444225074038, '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': '3808215', 'n_tokens_mistral': 675, 'n_tokens_neox': 654, 'n_words': 175}